<commit_before>require 'formula'

class Cln < Formula
  homepage 'http://www.ginac.de/CLN/'
  url 'http://www.ginac.de/CLN/cln-1.3.3.tar.bz2'
  sha1 '11c56780eb83ed54f2ad1ecef7f0dc0f609c426d'

  depends_on 'gmp'

  # Patch for Clang from MacPorts
  def patches
    "https://trac.macports.org/export/114806/trunk/dports/math/cln/files/patch-clang.diff"
  end

  def install
    system "./configure", "--prefix=#{prefix}",
                          "--disable-dependency-tracking",
                          "--with-gmp=#{HOMEBREW_PREFIX}"
    system "make install"
  end
end<commit_msg>cln: use checksummed patches<commit_after>require 'formula'

class Cln < Formula
  homepage 'http://www.ginac.de/CLN/'
  url 'http://www.ginac.de/CLN/cln-1.3.3.tar.bz2'
  sha1 '11c56780eb83ed54f2ad1ecef7f0dc0f609c426d'

  depends_on 'gmp'

  # Patch for Clang from MacPorts
  patch do
    url "https://trac.macports.org/export/114806/trunk/dports/math/cln/files/patch-clang.diff"
    sha1 "0e95e34b7b821fe8ddfc04c099cf5b9d72fc9093"
  end

  def install
    system "./configure", "--prefix=#{prefix}",
                          "--disable-dependency-tracking",
                          "--with-gmp=#{HOMEBREW_PREFIX}"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.13651050080775445, 'fraction_numerical': 0.07269789983844911, 'mean_word_length': 2.6765578635014835, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '5060844', 'n_tokens_mistral': 528, 'n_tokens_neox': 472, 'n_words': 73}