<commit_before>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php56Geos < AbstractPhp56Extension
  init
  desc "PHP bindings for GEOS"
  homepage "https://git.osgeo.org/gogs/geos/php-geos"
  url "https://git.osgeo.org/gogs/geos/php-geos/archive/1.0.0.tar.gz"
  sha256 "09cd4e7a3b026f65d86320b1250d6d6ceb8d78179cbfd480f622011d52f92035"
  head "https://git.osgeo.org/gogs/geos/php-geos.git"

  bottle do
    cellar :any
    sha256 "64825b8dee0f05ecbe9baf0a4df460dbbe8e27480ddfe60864551218eed8af71" => :el_capitan
    sha256 "0e050fb313aac7fb31c49b3320ebffc5b433898a65af5966161e68a860c3a100" => :yosemite
    sha256 "4db169bddde3447f10d2f9f3b314b7ee240b70fd5dd2d4ab213c29a7bddc85db" => :mavericks
  end

  depends_on "geos"

  def install
    ENV.universal_binary if build.universal?

    safe_phpize
    system "./configure", "--prefix=#{prefix}",
                          phpconfig,
                          "--with-geos=#{Formula["geos"].opt_prefix}"
    system "make"
    prefix.install "modules/geos.so"
    write_config_file if build.with? "config-file"
  end
end<commit_msg>php56-geos: update 1.0.0 bottle.<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php56Geos < AbstractPhp56Extension
  init
  desc "PHP bindings for GEOS"
  homepage "https://git.osgeo.org/gogs/geos/php-geos"
  url "https://git.osgeo.org/gogs/geos/php-geos/archive/1.0.0.tar.gz"
  sha256 "09cd4e7a3b026f65d86320b1250d6d6ceb8d78179cbfd480f622011d52f92035"
  head "https://git.osgeo.org/gogs/geos/php-geos.git"

  bottle do
    cellar :any
    sha256 "89dc20aa9a176da917346a3b1b29723bf42d284d4da09f84638cd18b6c23840c" => :sierra
    sha256 "a13f8b368bc9f7e3a8f1956cc3d3d821f93912b2243828e8a5793c4943f31f1b" => :el_capitan
    sha256 "cd733b2387e7a63ff2297ef9b79af2775e2048ec415db2e129734aae18ec331a" => :yosemite
  end

  depends_on "geos"

  def install
    ENV.universal_binary if build.universal?

    safe_phpize
    system "./configure", "--prefix=#{prefix}",
                          phpconfig,
                          "--with-geos=#{Formula["geos"].opt_prefix}"
    system "make"
    prefix.install "modules/geos.so"
    write_config_file if build.with? "config-file"
  end
end
{'fraction_non_alphanumeric': 0.11343416370106761, 'fraction_numerical': 0.16147686832740213, 'mean_word_length': 3.705020920502092, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1317376', 'n_tokens_mistral': 1127, 'n_tokens_neox': 935, 'n_words': 116}