<commit_before>require 'formula'

class Libtorrent < Formula
  homepage 'http://libtorrent.rakshasa.no/'
  url 'http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.9.tar.gz'
  md5 'b128bbd324f03eb42ef5060080f87548'

  depends_on 'pkg-config' => :build
  depends_on 'libsigc++'

  # Upstream says this is fixed in 0.13.x series, so check if this is
  # still needed when the next stable libtorrent release is made.
  fails_with :clang do
    build 318
  end

  def install
    system "./configure", "--prefix=#{prefix}",
                          "--disable-debug",
                          "--disable-dependency-tracking",
                          "--with-kqueue",
                          "--enable-ipv6"
    system "make"
    system "make install"
  end
end
<commit_msg>libtorrent 0.13.2<commit_after>require 'formula'

class Libtorrent < Formula
  homepage 'http://libtorrent.rakshasa.no/'
  url 'http://libtorrent.rakshasa.no/downloads/libtorrent-0.13.2.tar.gz'
  sha1 '4f34a744fbe10c54aaf53d34681fabc1a49d7257'

  depends_on 'pkg-config' => :build
  depends_on 'libsigc++'

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

{'fraction_non_alphanumeric': 0.12437095614665708, 'fraction_numerical': 0.04888569374550683, 'mean_word_length': 2.0728476821192054, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2842047', 'n_tokens_mistral': 493, 'n_tokens_neox': 454, 'n_words': 94}