<commit_before>require "formula"

class Libgit2 < Formula
  homepage "http://libgit2.github.com/"
  url "https://github.com/libgit2/libgit2/archive/v0.21.1.tar.gz"
  sha1 "8975eb3fa6999e30b1fa01a84b7b09d0a2672ac5"

  head "https://github.com/libgit2/libgit2.git", :branch => "development"

  bottle do
    cellar :any
    sha1 "e0588a7e02a24b141025ad5e6e507cb09831229d" => :mavericks
    sha1 "e8efca2c42c1053c8b468ff73e81eec1380bec14" => :mountain_lion
    sha1 "ede1558e9594d987ffa5ce33caec8edfdb1f6933" => :lion
  end

  depends_on "cmake" => :build

  def install
    mkdir "build" do
      system "cmake", "..",
                      "-DBUILD_TESTS=NO",
                      *std_cmake_args
      system "make install"
    end
  end
end
<commit_msg>libgit2: add option to build with ssh support.<commit_after>require "formula"

class Libgit2 < Formula
  homepage "http://libgit2.github.com/"
  url "https://github.com/libgit2/libgit2/archive/v0.21.1.tar.gz"
  sha1 "8975eb3fa6999e30b1fa01a84b7b09d0a2672ac5"

  head "https://github.com/libgit2/libgit2.git", :branch => "development"

  bottle do
    cellar :any
    sha1 "e0588a7e02a24b141025ad5e6e507cb09831229d" => :mavericks
    sha1 "e8efca2c42c1053c8b468ff73e81eec1380bec14" => :mountain_lion
    sha1 "ede1558e9594d987ffa5ce33caec8edfdb1f6933" => :lion
  end

  depends_on "cmake" => :build
  depends_on "libssh2" => :optional

  def install
    mkdir "build" do
      system "cmake", "..",
                      "-DBUILD_TESTS=NO",
                      *std_cmake_args
      system "make install"
    end
  end
end

{'fraction_non_alphanumeric': 0.11082963901203294, 'fraction_numerical': 0.13932868904369855, 'mean_word_length': 3.1688654353562007, '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': '5417848', 'n_tokens_mistral': 754, 'n_tokens_neox': 648, 'n_words': 104}