<commit_before>require 'formula'

class Libpng < Formula
  homepage 'http://www.libpng.org/pub/png/libpng.html'
  url 'http://downloads.sf.net/project/libpng/libpng15/1.5.12/libpng-1.5.12.tar.gz'
  sha1 'c329f3a9b720d7ae14e8205fa6e332236573704b'

  keg_only :when_xquartz_installed

  bottle do
    sha1 '83c6be83e86404f41982e5e1e6877924fe737bdf' => :mountainlion
    sha1 '9a86cc5cec4cb19bd04c7c1e93595d96ebcde66f' => :lion
    sha1 '3ba3f991b61afcaf0f369da89443738443d4effe' => :snowleopard
  end

  def install
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make install"
  end
end<commit_msg>libpng: only keg-only on pre-Mountain Lion.<commit_after>require 'formula'

class Libpng < Formula
  homepage 'http://www.libpng.org/pub/png/libpng.html'
  url 'http://downloads.sf.net/project/libpng/libpng15/1.5.12/libpng-1.5.12.tar.gz'
  sha1 'c329f3a9b720d7ae14e8205fa6e332236573704b'

  keg_only unless MacOS.version >= :mountain_lion

  bottle do
    sha1 '83c6be83e86404f41982e5e1e6877924fe737bdf' => :mountainlion
    sha1 '9a86cc5cec4cb19bd04c7c1e93595d96ebcde66f' => :lion
    sha1 '3ba3f991b61afcaf0f369da89443738443d4effe' => :snowleopard
  end

  def install
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.11981914091936699, 'fraction_numerical': 0.16880180859080632, 'mean_word_length': 4.651063829787234, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '62680', 'n_tokens_mistral': 684, 'n_tokens_neox': 568, 'n_words': 78}