<commit_before>class Weechat < Formula
  desc "Extensible IRC client"
  homepage "https://www.weechat.org"
  url "https://weechat.org/files/src/weechat-1.4.tar.gz"
  sha256 "51859bf3b26ffeed95c0a3399167e6670e8240542c52772439fb9cade06857a5"
  revision 1

  head "https://github.com/weechat/weechat.git"

  bottle do
    sha256 "982b4881af5e9c041eeace8d54d392aec31cb34899a2cc77ce2a4fa1db771d1c" => :el_capitan
    sha256 "382b0c6bf65d13a26dfe21c6f229c9f8a1607b669ded33ee4e303c074f7e6c67" => :yosemite
    sha256 "e69326f74dd167f31ed5c3423790b8cb639d12746e14afbca2d49f0781fee54b" => :mavericks
  end

  option "with-perl", "Build the perl module"
  option "with-ruby", "Build the ruby module"
  option "with-curl", "Build with brewed curl"

  depends_on "cmake" => :build
  depends_on "gnutls"
  depends_on "libgcrypt"
  depends_on "gettext"
  depends_on "guile" => :optional
  depends_on "aspell" => :optional
  depends_on "lua" => :optional
  depends_on :python => :optional
  depends_on "curl" => :optional

  def install
    args = std_cmake_args

    args << "-DENABLE_LUA=OFF" if build.without? "lua"
    args << "-DENABLE_PERL=OFF" if build.without? "perl"
    args << "-DENABLE_RUBY=OFF" if build.without? "ruby"<commit_msg>weechat: added '--with-debug' option<commit_after>class Weechat < Formula
  desc "Extensible IRC client"
  homepage "https://www.weechat.org"
  url "https://weechat.org/files/src/weechat-1.4.tar.gz"
  sha256 "51859bf3b26ffeed95c0a3399167e6670e8240542c52772439fb9cade06857a5"
  revision 1

  head "https://github.com/weechat/weechat.git"

  bottle do
    sha256 "982b4881af5e9c041eeace8d54d392aec31cb34899a2cc77ce2a4fa1db771d1c" => :el_capitan
    sha256 "382b0c6bf65d13a26dfe21c6f229c9f8a1607b669ded33ee4e303c074f7e6c67" => :yosemite
    sha256 "e69326f74dd167f31ed5c3423790b8cb639d12746e14afbca2d49f0781fee54b" => :mavericks
  end

  option "with-perl", "Build the perl module"
  option "with-ruby", "Build the ruby module"
  option "with-curl", "Build with brewed curl"
  option "with-debug", "Build with debug information"

  depends_on "cmake" => :build
  depends_on "gnutls"
  depends_on "libgcrypt"
  depends_on "gettext"
  depends_on "guile" => :optional
  depends_on "aspell" => :optional
  depends_on "lua" => :optional
  depends_on :python => :optional
  depends_on "curl" => :optional

  def install
    args = std_cmake_args
    if build.with? "debug"
      args -= %w[-DCMAKE_BUILD_TYPE=Release]
      args << "-DCMAKE_BUILD_TYPE=Debug"
    end

    args << "-DENABLE_LUA=OFF" if build.without? "lua"
    args << "-DENABLE_PERL=OFF" if build.without? "perl"
    args << "-DENABLE_RUBY=OFF" if build.without? "ruby"
{'fraction_non_alphanumeric': 0.11332831325301204, 'fraction_numerical': 0.1302710843373494, 'mean_word_length': 4.701716738197425, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '209397', 'n_tokens_mistral': 1287, 'n_tokens_neox': 1116, 'n_words': 196}