<commit_before>class Cherokee < Formula
  desc "Modern, user friendly web server"
  homepage "http://cherokee-project.com/"

  stable do
    url "http://pkgs.fedoraproject.org/repo/pkgs/cherokee/cherokee-1.2.103.tar.gz/527b3de97ef9727bfd5f6832043cf916/cherokee-1.2.103.tar.gz"
    sha256 "790777e7b4355b60698443161e45b5a20a9d0ab8c4c47924e00d19da8b74dfcd"

    # OSX 10.9 patch
    patch do
      url "https://github.com/cherokee/webserver/commit/d0213768fdc6cf3aee61fe0be398d7825c01198f.diff"
      sha256 "c1dd1cf1d7a392b697ebd32b4860ae7bbdb569112ff7b8380a220300afd62b7f"
    end
  end

  head do
    url "https://github.com/cherokee/webserver.git"

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "libtool" => :build
    depends_on "wget" => :build
  end

  depends_on "gettext"
  depends_on "openssl"

  def install
    if build.head?
      ENV["LIBTOOL"] = "glibtool"
      ENV["LIBTOOLIZE"] = "glibtoolize"
      cmd = "./autogen.sh"
    else
      cmd = "./configure"
    end
<commit_msg>cherokee: add 1.2.103 bottle.<commit_after>class Cherokee < Formula
  desc "Modern, user friendly web server"
  homepage "http://cherokee-project.com/"

  stable do
    url "http://pkgs.fedoraproject.org/repo/pkgs/cherokee/cherokee-1.2.103.tar.gz/527b3de97ef9727bfd5f6832043cf916/cherokee-1.2.103.tar.gz"
    sha256 "790777e7b4355b60698443161e45b5a20a9d0ab8c4c47924e00d19da8b74dfcd"

    # OSX 10.9 patch
    patch do
      url "https://github.com/cherokee/webserver/commit/d0213768fdc6cf3aee61fe0be398d7825c01198f.diff"
      sha256 "c1dd1cf1d7a392b697ebd32b4860ae7bbdb569112ff7b8380a220300afd62b7f"
    end
  end
  bottle do
    sha256 "f6944776619d9338169b1676cc10d9960c27cb7a88b1189a4e02e1f577d4e2d6" => :el_capitan
    sha256 "af00f0cc177c2c16063aa3abe8dfe025568874db126edfacce4a33c8a3fbd5cb" => :yosemite
    sha256 "ef4d94b51cc425dd704d0007cf9980024035406cb00345158fd84b1901c04437" => :mavericks
  end


  head do
    url "https://github.com/cherokee/webserver.git"

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "libtool" => :build
    depends_on "wget" => :build
  end

  depends_on "gettext"
  depends_on "openssl"

  def install
    if build.head?
      ENV["LIBTOOL"] = "glibtool"
      ENV["LIBTOOLIZE"] = "glibtoolize"
      cmd = "./autogen.sh"
    else
      cmd = "./configure"
    end

{'fraction_non_alphanumeric': 0.1047538914598233, 'fraction_numerical': 0.1796381994110223, 'mean_word_length': 3.7465069860279443, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, 'https://': 4, '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': '4289806', 'n_tokens_mistral': 1252, 'n_tokens_neox': 1009, 'n_words': 141}