<commit_before>class Sumo < Formula
  homepage "https://sourceforge.net/projects/sumo/"
  url "https://downloads.sourceforge.net/project/sumo/sumo/version%200.22.0/sumo-all-0.22.0.tar.gz"
  sha1 "32206adaccb35e41afb697bb3c841a5578e8f167"

  option "with-check", "Enable additional build-time checking"

  depends_on :x11
  depends_on "xerces-c"
  depends_on "libpng"
  depends_on "jpeg"
  depends_on "libtiff"
  depends_on "proj"
  depends_on "gdal"
  depends_on "fox"
  depends_on :python

  resource "gtest" do
    url "http://googletest.googlecode.com/files/gtest-1.7.0.zip"
    sha1 "f85f6d2481e2c6c4a18539e391aa4ea8ab0394af"
  end

  resource "TextTest" do
    url "https://pypi.python.org/packages/source/T/TextTest/TextTest-3.27.tar.gz"
    sha1 "065495abe3d0b19161ef81f110c82ad4d09efe39"
  end

  def install
    resource("gtest").stage do
      system "./configure"
      system "make"
      buildpath.install "../gtest-1.7.0"
    end

    ENV["LDFLAGS"] = "-lpython"  # My compilation fails without this flag, despite :python dependency.<commit_msg>sumo: add 0.22.0 bottle.<commit_after>class Sumo < Formula
  homepage "https://sourceforge.net/projects/sumo/"
  url "https://downloads.sourceforge.net/project/sumo/sumo/version%200.22.0/sumo-all-0.22.0.tar.gz"
  sha1 "32206adaccb35e41afb697bb3c841a5578e8f167"

  bottle do
    root_url "https://downloads.sf.net/project/machomebrew/Bottles/science"
    cellar :any
    sha1 "c8c74bfec8a87bd8d5dd40639160083d00bd79ed" => :yosemite
    sha1 "43ff8b705a99a6f30c919f36ce447baec192605f" => :mavericks
    sha1 "ba8193a50e9954bfad8b36f9ee3aad7054f1fe39" => :mountain_lion
  end

  option "with-check", "Enable additional build-time checking"

  depends_on :x11
  depends_on "xerces-c"
  depends_on "libpng"
  depends_on "jpeg"
  depends_on "libtiff"
  depends_on "proj"
  depends_on "gdal"
  depends_on "fox"
  depends_on :python

  resource "gtest" do
    url "http://googletest.googlecode.com/files/gtest-1.7.0.zip"
    sha1 "f85f6d2481e2c6c4a18539e391aa4ea8ab0394af"
  end

  resource "TextTest" do
    url "https://pypi.python.org/packages/source/T/TextTest/TextTest-3.27.tar.gz"
    sha1 "065495abe3d0b19161ef81f110c82ad4d09efe39"
  end

  def install
    resource("gtest").stage do
      system "./configure"
      system "make"
      buildpath.install "../gtest-1.7.0"
    end

    ENV["LDFLAGS"] = "-lpython"  # My compilation fails without this flag, despite :python dependency.
{'fraction_non_alphanumeric': 0.11839410077836952, 'fraction_numerical': 0.11102007374027038, 'mean_word_length': 3.8356435643564355, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5019349', 'n_tokens_mistral': 1123, 'n_tokens_neox': 1000, 'n_words': 160}