<commit_before>require 'formula'

class Genet < Formula
  homepage 'http://www.lsi.upc.edu/~jcarmona/genet.html'
  head 'http://svn.gna.org/svn/service-tech/trunk/genet'
  url 'http://download.gna.org/service-tech/genet/genet-1.2.tar.gz'
  sha1 '3daa288ee932c502b79bbe44d0ce55f12994b099'

  depends_on 'autoconf' if build.head?
  depends_on 'automake'if build.head?
  depends_on 'libtool'if build.head?
  depends_on 'gengetopt'if build.head?
  depends_on 'help2man'if build.head?

  def install
    system "autoreconf -i" if build.head?
    system "./configure", "--disable-assert",
                          "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end
end
<commit_msg>genet: use spec deps<commit_after>require 'formula'

class Genet < Formula
  homepage 'http://www.lsi.upc.edu/~jcarmona/genet.html'
  url 'http://download.gna.org/service-tech/genet/genet-1.2.tar.gz'
  sha1 '3daa288ee932c502b79bbe44d0ce55f12994b099'

  head do
    url 'http://svn.gna.org/svn/service-tech/trunk/genet'

    depends_on 'autoconf' => :build
    depends_on 'automake' => :build
    depends_on 'libtool' => :build
    depends_on 'gengetopt' => :build
    depends_on 'help2man' => :build
  end

  def install
    system "autoreconf -i" if build.head?
    system "./configure", "--disable-assert",
                          "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end
end

{'fraction_non_alphanumeric': 0.14099526066350712, 'fraction_numerical': 0.034360189573459717, 'mean_word_length': 2.305283757338552, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3029419', 'n_tokens_mistral': 621, 'n_tokens_neox': 587, 'n_words': 101}