aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-13 11:19:44 -0700
committerAdam Vandenberg2013-06-13 11:22:36 -0700
commit4ad56e95bd9dac2f97c5151b276001a80fc8c6bc (patch)
treec404b497cc0a7daa8743e29b10e2a0d338041aa5 /Library/Formula
parent04f8eca3de2a31bf76cdcf5bc44da1994e5419d9 (diff)
downloadhomebrew-4ad56e95bd9dac2f97c5151b276001a80fc8c6bc.tar.bz2
pypy: distribute 0.6.45
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pypy.rb21
1 files changed, 11 insertions, 10 deletions
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