<commit_before>require 'formula'

class Distribute < Formula
  url 'http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz'
  sha1 '709bd97d46050d69865d4b588c7707768dfe6711'
end

class Pypy < Formula
  homepage 'http://pypy.org/'

  if MacOS.prefer_64_bit?
    url 'https://bitbucket.org/pypy/pypy/downloads/pypy-1.9-osx64.tar.bz2'
    version '1.9'
    sha1 '825e15724419fbdb6fe215eeea044f9181883c90'
  else
    url 'http://pypy.org/download/pypy-1.4.1-osx.tar.bz2'
    version '1.4.1'
    sha1 '961470e7510c47b8f56e6cc6da180605ba058cb6'
  end

  def install
    rmtree 'site-packages'

    prefix.install Dir['*']

    # Post-install, fix up the site-packages and install-scripts folders
    # so that user-installed Python software survives minor updates, such
    # as going from 1.7.0 to 1.7.1.

    # Create a site-packages in the prefix.
    prefix_site_packages.mkpath
<commit_msg>pypy: 2.0-beta1 devel and distribute 0.6.30<commit_after>require 'formula'

class Distribute < Formula
  url 'http://pypi.python.org/packages/source/d/distribute/distribute-0.6.30.tar.gz'
  sha1 '40dfce237883d1c02817f726128f61614dc686ff'
end

class Pypy < Formula
  homepage 'http://pypy.org/'

  if MacOS.prefer_64_bit?
    url 'https://bitbucket.org/pypy/pypy/downloads/pypy-1.9-osx64.tar.bz2'
    version '1.9'
    sha1 '825e15724419fbdb6fe215eeea044f9181883c90'
  else
    url 'http://pypy.org/download/pypy-1.4.1-osx.tar.bz2'
    version '1.4.1'
    sha1 '961470e7510c47b8f56e6cc6da180605ba058cb6'
  end

  devel do
    url 'https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-beta1-osx64.tar.bz2'
    version '2.0-beta1'
    sha1 'e4938fdf33072e457fee6cb22798ec08b5a01978'
  end

  def install
    rmtree 'site-packages'

    prefix.install Dir['*']

    # Post-install, fix up the site-packages and install-scripts folders
    # so that user-installed Python software survives minor updates, such
    # as going from 1.7.0 to 1.7.1.

    # Create a site-packages in the prefix.
    prefix_site_packages.mkpath

{'fraction_non_alphanumeric': 0.1139615194869265, 'fraction_numerical': 0.13172175629008387, 'mean_word_length': 3.3991323210412148, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2095413', 'n_tokens_mistral': 977, 'n_tokens_neox': 829, 'n_words': 148}