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

class Php56PdoPgsql < AbstractPhp56Extension
  init
  desc "A unified PostgreSQL driver for PDO"
  homepage "https://github.com/php/php-src/tree/master/ext/pdo_pgsql"
  url PHP_SRC_TARBALL
  sha256 PHP_CHECKSUM[:sha256]
  version PHP_VERSION

  bottle do
    cellar :any
    revision 3
    sha256 "e3e93e442e014047ff7e286f11f9ead3d4b99eaecfaa79f5c16a4e906affc38c" => :el_capitan
    sha256 "a409526562b6ec01c5fd8765a3796bf84cd3c4196fed31853acd06fa39be5063" => :yosemite
    sha256 "d4a6d7407f34d03d9413f99735369a4fdc294a63d2718718fdebde4c3089d684" => :mavericks
  end

  depends_on "postgresql"

  def extension
    "pdo_pgsql"
  end

  def install
    Dir.chdir "ext/pdo_pgsql"

    ENV.universal_binary if build.universal?

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

class Php56PdoPgsql < AbstractPhp56Extension
  init
  desc "A unified PostgreSQL driver for PDO"
  homepage "https://github.com/php/php-src/tree/master/ext/pdo_pgsql"
  url PHP_SRC_TARBALL
  sha256 PHP_CHECKSUM[:sha256]
  version PHP_VERSION

  bottle do
    cellar :any
    revision 4
    sha256 "a238b3179bb4a95b7bbffac193f5fc51da541d71f9cf34efd028d6ed9d9b2412" => :el_capitan
    sha256 "d4b1a666bbb6fe6952ecd6fcbe65d567a80fbef9dae013699caa8989ec442e9e" => :yosemite
    sha256 "d1342c46844c88f9cec8e03f54ea8aaad93fb9d75295d69ba941e9d6062e7ed6" => :mavericks
  end

  depends_on "postgresql"

  def extension
    "pdo_pgsql"
  end

  def install
    Dir.chdir "ext/pdo_pgsql"

    ENV.universal_binary if build.universal?

    safe_phpize
    system "./configure", "--prefix=#{prefix}", "--with-pdo-pgsql=#{Formula["postgresql"].prefix}", phpconfig
    system "make"
    prefix.install "modules/pdo_pgsql.so"
    write_config_file if build.with? "config-file"
  end
end

{'fraction_non_alphanumeric': 0.10004589261128959, 'fraction_numerical': 0.12391005048187242, 'mean_word_length': 4.491183879093199, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '5364378', 'n_tokens_mistral': 1040, 'n_tokens_neox': 892, 'n_words': 137}