<commit_before>require 'formula'

class Toilet < Formula
  homepage 'http://caca.zoy.org/wiki/toilet'
  url 'http://caca.zoy.org/raw-attachment/wiki/toilet/toilet-0.3.tar.gz'
  sha1 '73ea7aa2b0470ac0fecc103d7eeed0048684a505'

  depends_on 'libcaca'

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end<commit_msg>toilet: fix test and pkg-config dependency.<commit_after>require 'formula'

class Toilet < Formula
  homepage 'http://caca.zoy.org/wiki/toilet'
  url 'http://caca.zoy.org/raw-attachment/wiki/toilet/toilet-0.3.tar.gz'
  sha1 '73ea7aa2b0470ac0fecc103d7eeed0048684a505'

  depends_on 'pkg-config' => :build
  depends_on 'libcaca'

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

  def test
    system "#{bin}/toilet", "--version"
   end
end
{'fraction_non_alphanumeric': 0.1397288842544317, 'fraction_numerical': 0.054223149113660066, 'mean_word_length': 3.1025641025641026, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 0, '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': '3482543', 'n_tokens_mistral': 385, 'n_tokens_neox': 351, 'n_words': 61}