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

class Php54Dmtx < AbstractPhp54Extension
  init
  desc "PHP bindings for the dmtx library"
  homepage "http://www.libdmtx.org"
  url "https://github.com/maZahaca/php-dmtx/archive/0.0.3-dev.tar.gz"
  version "0.0.3"
  sha256 "864a2c9a39812e89d4aa3379cdf543a10a88b227cbe6d57ac94f2fd388b35e26"
  revision 3
  head "https://github.com/maZahaca/php-dmtx.git"

  bottle do
    sha256 "f0340d31b1cfa28419b05c30ce749bd34df157a6f372a639973fba9e44ab3fac" => :sierra
    sha256 "4c63bb38cc9f325d52d5c9e7c79d5303cc0b163055a6baf1db2aaadfc36b49d3" => :el_capitan
    sha256 "ab20cc7550576d17080977e5f97efd1be17ec6bc6c1c37b434d2e06f77e78aa7" => :yosemite
  end

  depends_on "libdmtx"
  depends_on "php54-imagick"
  depends_on "pkg-config" => :build

  def install
    ENV.universal_binary if build.universal?

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

class Php54Dmtx < AbstractPhp54Extension
  init
  desc "PHP bindings for the dmtx library"
  homepage "http://www.libdmtx.org"
  url "https://github.com/maZahaca/php-dmtx/archive/0.0.3-dev.tar.gz"
  version "0.0.3"
  sha256 "864a2c9a39812e89d4aa3379cdf543a10a88b227cbe6d57ac94f2fd388b35e26"
  revision 3
  head "https://github.com/maZahaca/php-dmtx.git"

  bottle do
    sha256 "3a6aec7111793efa9e67aa9e9bb864d4617ed7b058b3077abbcd5d878f58b4be" => :sierra
    sha256 "6bf2902c8067e6330e97f7720dc27bf7a2c4bb8e59012aeb575b400397016a53" => :el_capitan
    sha256 "4fe4a14a3cb51d44d436f2a8f7d8bb5f413fd75552664fafea151f37e1086071" => :yosemite
  end

  depends_on "libdmtx"
  depends_on "php54-imagick"
  depends_on "pkg-config" => :build

  def install
    ENV.universal_binary if build.universal?

    safe_phpize
    system "./configure", "--prefix=#{prefix}",
                          phpconfig
    system "make"
    prefix.install %w[modules/dmtx.so]
    write_config_file if build.with? "config-file"
  end
end

{'fraction_non_alphanumeric': 0.10500664599025254, 'fraction_numerical': 0.1630482941958352, 'mean_word_length': 4.131818181818182, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '7110043', 'n_tokens_mistral': 1145, 'n_tokens_neox': 967, 'n_words': 133}