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

class Php71PdoDblib < AbstractPhp71Extension
  init
  desc "Unified Sybase-DB style driver for PDO"
  homepage "https://github.com/php/php-src/tree/master/ext/pdo_dblib"
  bottle do
    sha256 "c07c76e150929911a3345cdd98949106d640cb5f844ef272825e525dc7f4df96" => :sierra
    sha256 "bb6f4ca88ff5802d712584a5e7f782ed9b0d7302057d413b7afa89141dbd9740" => :el_capitan
    sha256 "950da3172a7b75280a98364b56242d3a5717317dde17499512dace737e278dc6" => :yosemite
  end

  url PHP_SRC_TARBALL
  sha256 PHP_CHECKSUM[:sha256]
  version PHP_VERSION
  revision 4

  depends_on "freetds"

  def extension
    "pdo_dblib"
  end

  def install
    Dir.chdir "ext/pdo_dblib" unless build.head?

    ENV.universal_binary if build.universal?

    safe_phpize
    system "./configure", "--prefix=#{prefix}", "--with-pdo-dblib=#{Formula["freetds"].opt_prefix}", phpconfig
    system "make"
    prefix.install "modules/pdo_dblib.so"<commit_msg>php71-pdo-dblib: update 7.1.0-rc.3_4 bottle.<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php71PdoDblib < AbstractPhp71Extension
  init
  desc "Unified Sybase-DB style driver for PDO"
  homepage "https://github.com/php/php-src/tree/master/ext/pdo_dblib"
  bottle do
    sha256 "8343ff74a6ff38aae6c06eb47714d8b4ade276d0ce6aa49201746abd3a2fc35d" => :sierra
    sha256 "e1277fc3c23f8a36980483d53dab81b91bdb97e113382dd3609a460becdb27b8" => :el_capitan
    sha256 "b2c9f76b06ff754d49fccad630a42db93335352d814034b689691d76ad32a507" => :yosemite
  end

  url PHP_SRC_TARBALL
  sha256 PHP_CHECKSUM[:sha256]
  version PHP_VERSION
  revision 4

  depends_on "freetds"

  def extension
    "pdo_dblib"
  end

  def install
    Dir.chdir "ext/pdo_dblib" unless build.head?

    ENV.universal_binary if build.universal?

    safe_phpize
    system "./configure", "--prefix=#{prefix}", "--with-pdo-dblib=#{Formula["freetds"].opt_prefix}", phpconfig
    system "make"
    prefix.install "modules/pdo_dblib.so"
{'fraction_non_alphanumeric': 0.1039339485186984, 'fraction_numerical': 0.14473045167557066, 'mean_word_length': 4.706371191135734, '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': '7557474', 'n_tokens_mistral': 1009, 'n_tokens_neox': 841, 'n_words': 124}