<commit_before>require 'formula'

class Shiboken < Formula
  homepage 'http://www.pyside.org/docs/shiboken'
  url 'http://pyside.org/files/shiboken-1.1.0.tar.bz2'
  md5 '9c9d696c8c426fb5abf28a6bd3759558'

  depends_on 'cmake' => :build
  depends_on 'generatorrunner'

  def install
    # Building the tests also runs them. Not building and running tests cuts
    # install time in half.
    system "cmake", ".", "-DBUILD_TESTS=OFF", *std_cmake_args
    system "make install"
  end
end<commit_msg>shiboken 1.1.1<commit_after>require 'formula'

class Shiboken < Formula
  homepage 'http://www.pyside.org/docs/shiboken'
  url 'http://pyside.org/files/shiboken-1.1.1.tar.bz2'
  sha1 'd24efc1e7499e9d7db4dfc85a975291e3cb3f311'

  depends_on 'cmake' => :build

  def install
    # Building the tests also runs them. Not building and running tests cuts
    # install time in half.  As of 1.1.1 the install fails unless you do an
    # out of tree build and put the source dir last in the args.
    mkdir 'macbuild' do
      args = std_cmake_args + %W[
        -DBUILD_TESTS=OFF
        ..
      ]
      system 'cmake', *args
      system "make install"
    end
  end
end
{'fraction_non_alphanumeric': 0.10146173688736028, 'fraction_numerical': 0.05073086844368014, 'mean_word_length': 3.1130742049469964, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '466419', 'n_tokens_mistral': 452, 'n_tokens_neox': 429, 'n_words': 114}