<commit_before>require 'formula'

class Enscript < Formula
  desc "Convert text to Postscript, HTML, or RTF, with syntax highlighting"
  homepage 'http://www.gnu.org/software/enscript/'
  url 'http://ftpmirror.gnu.org/enscript/enscript-1.6.6.tar.gz'
  mirror 'http://ftp.gnu.org/gnu/enscript/enscript-1.6.6.tar.gz'
  sha1 '1f1e97a2ebb3d77f48c57487fe39e64139fb2beb'

  head 'git://git.savannah.gnu.org/enscript.git'

  keg_only :provided_pre_mountain_lion

  depends_on 'gettext'

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end

  test do
    assert_match /GNU Enscript #{Regexp.escape(version)}/,
                 shell_output("#{bin}/enscript -V")
  end
end
<commit_msg>enscript: use secure mirror<commit_after>class Enscript < Formula
  desc "Convert text to Postscript, HTML, or RTF, with syntax highlighting"
  homepage "https://www.gnu.org/software/enscript/"
  url "http://ftpmirror.gnu.org/enscript/enscript-1.6.6.tar.gz"
  mirror "https://ftp.gnu.org/gnu/enscript/enscript-1.6.6.tar.gz"
  sha256 "6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb"

  head "git://git.savannah.gnu.org/enscript.git"

  keg_only :provided_pre_mountain_lion

  depends_on "gettext"

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    assert_match /GNU Enscript #{Regexp.escape(version)}/,
                 shell_output("#{bin}/enscript -V")
  end
end

{'fraction_non_alphanumeric': 0.13861386138613863, 'fraction_numerical': 0.04888613861386139, 'mean_word_length': 3.2440944881889764, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1260394', 'n_tokens_mistral': 629, 'n_tokens_neox': 571, 'n_words': 103}