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

class Php53Sundown < AbstractPhp53Extension
  init
  homepage "https://pecl.php.net/package/sundown"
  url "https://pecl.php.net/get/sundown-0.3.11.tgz"
  sha1 "e905cf2cd3540480af598e971a3c37c769775351"

  def install
    Dir.chdir "sundown-#{version}"

    ENV.universal_binary if build.universal?

    safe_phpize
    system "./configure", "--prefix=#{prefix}", phpconfig
    system "make"
    prefix.install "modules/sundown.so"
    write_config_file if build.with? "config-file"
  end
end<commit_msg>php53-sundown: convert from sha1 to sha256<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php53Sundown < AbstractPhp53Extension
  init
  homepage "https://pecl.php.net/package/sundown"
  url "https://pecl.php.net/get/sundown-0.3.11.tgz"
  sha256 "0a143a268f43f5f2a07988116acfa62671fad4636b84c0750327042f9cb8004f"

  def install
    Dir.chdir "sundown-#{version}"

    ENV.universal_binary if build.universal?

    safe_phpize
    system "./configure", "--prefix=#{prefix}", phpconfig
    system "make"
    prefix.install "modules/sundown.so"
    write_config_file if build.with? "config-file"
  end
end
{'fraction_non_alphanumeric': 0.12830793905372895, 'fraction_numerical': 0.08019246190858059, 'mean_word_length': 4.135802469135802, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '4192598', 'n_tokens_mistral': 518, 'n_tokens_neox': 455, 'n_words': 74}