From 4ad56e95bd9dac2f97c5151b276001a80fc8c6bc Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 13 Jun 2013 11:19:44 -0700 Subject: pypy: distribute 0.6.45 --- Library/Formula/pypy.rb | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/pypy.rb b/Library/Formula/pypy.rb index 7046badd8..8ce063eee 100644 --- a/Library/Formula/pypy.rb +++ b/Library/Formula/pypy.rb @@ -1,8 +1,8 @@ require 'formula' class Distribute < Formula - url 'http://pypi.python.org/packages/source/d/distribute/distribute-0.6.40.tar.gz' - sha1 '46654be10177014bbb502a4c516627173de67d15' + url 'http://pypi.python.org/packages/source/d/distribute/distribute-0.6.45.tar.gz' + sha1 '55b15037f2222828496a96f38447c0fa0228df85' end class Pypy < Formula @@ -41,15 +41,16 @@ class Pypy < Formula # to get newer versions of distribute outside of Homebrew. Distribute.new.brew do system "#{bin}/pypy", "setup.py", "install" + end + + # Symlink to easy_install_pypy. + unless (scripts_folder+'easy_install_pypy').exist? + ln_s "#{scripts_folder}/easy_install", "#{scripts_folder}/easy_install_pypy" + end - # Symlink to easy_install_pypy. - unless (scripts_folder+'easy_install_pypy').exist? - ln_s "#{scripts_folder}/easy_install", "#{scripts_folder}/easy_install_pypy" - end - # Symlink to pip_pypy. - unless (scripts_folder+'pip_pypy').exist? - ln_s "#{scripts_folder}/pip", "#{scripts_folder}/pip_pypy" - end + # Symlink to pip_pypy. + unless (scripts_folder+'pip_pypy').exist? + ln_s "#{scripts_folder}/pip", "#{scripts_folder}/pip_pypy" end end -- cgit v1.2.3