<commit_before>require 'formula'

class Eigen < Formula
  homepage 'http://eigen.tuxfamily.org/'
  url 'http://bitbucket.org/eigen/eigen/get/3.2.2.tar.bz2'
  sha1 '1e1a85681777314805003db5469d1a00785c58df'

  head 'https://bitbucket.org/eigen/eigen', :using => :hg

  depends_on 'cmake' => :build

  option :universal

  def install
    ENV.universal_binary if build.universal?
    mkdir 'eigen-build' do
      args = std_cmake_args
      args.delete '-DCMAKE_BUILD_TYPE=None'
      args << '-DCMAKE_BUILD_TYPE=Release'
      args << "-Dpkg_config_libdir=#{lib}" << '..'
      system 'cmake', *args
      system 'make install'
    end
  end
end
<commit_msg>eigen: add 3.2.2 bottle.<commit_after>require 'formula'

class Eigen < Formula
  homepage 'http://eigen.tuxfamily.org/'
  url 'http://bitbucket.org/eigen/eigen/get/3.2.2.tar.bz2'
  sha1 '1e1a85681777314805003db5469d1a00785c58df'

  bottle do
    cellar :any
    sha1 "5a64fff74d8c341cfcc36666810531261e0fd7a0" => :mavericks
    sha1 "28fb90c14195d63016ff9783cb4dd259fab257db" => :mountain_lion
    sha1 "7d09cae778259591337bf397b061fe7cd516c3a5" => :lion
  end

  head 'https://bitbucket.org/eigen/eigen', :using => :hg

  depends_on 'cmake' => :build

  option :universal

  def install
    ENV.universal_binary if build.universal?
    mkdir 'eigen-build' do
      args = std_cmake_args
      args.delete '-DCMAKE_BUILD_TYPE=None'
      args << '-DCMAKE_BUILD_TYPE=Release'
      args << "-Dpkg_config_libdir=#{lib}" << '..'
      system 'cmake', *args
      system 'make install'
    end
  end
end

{'fraction_non_alphanumeric': 0.12588310854206808, 'fraction_numerical': 0.1001926782273603, 'mean_word_length': 3.464183381088825, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 10, 'https://': 2, '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': '4070104', 'n_tokens_mistral': 707, 'n_tokens_neox': 605, 'n_words': 107}