<commit_before>require 'formula'

class Pari < Formula
  url 'http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.5.0.tar.gz'
  homepage 'http://pari.math.u-bordeaux.fr/'
  md5 '0b595a1345679ff482785a686c863e9f'

  def install
    system "./Configure", "--prefix=#{prefix}"
    # make needs to be done in two steps
    system "make all"
    system "make install"
  end
end<commit_msg>Pari 2.5.1<commit_after>require 'formula'

class Pari < Formula
  homepage 'http://pari.math.u-bordeaux.fr/'
  url 'http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.5.1.tar.gz'
  md5 'd267dd1be4839f209217c8fff615478e'

  depends_on 'readline'

  def install
    readline = Formula.factory 'readline'
    system "./Configure", "--prefix=#{prefix}",
                          "--with-readline-include=#{readline.include}",
                          "--with-readline-lib=#{readline.lib}"
    # make needs to be done in two steps
    system "make all"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.14432989690721648, 'fraction_numerical': 0.0577319587628866, 'mean_word_length': 2.79296875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '1494663', 'n_tokens_mistral': 391, 'n_tokens_neox': 361, 'n_words': 71}