aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pypy.rb
diff options
context:
space:
mode:
authorJannis Leidel2010-11-26 21:52:40 +0100
committerAdam Vandenberg2010-11-26 13:07:49 -0800
commit61dd58706c06039cb0654ed12c93d94b7f6f1cef (patch)
tree1c696cefde29ea4f43ce72ede028255b9ce74b35 /Library/Formula/pypy.rb
parent00acc03efe2a19541b1667952bfa106e14b002b1 (diff)
downloadhomebrew-61dd58706c06039cb0654ed12c93d94b7f6f1cef.tar.bz2
Updated pypy formula to 1.4, w00t!
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/pypy.rb')
-rw-r--r--Library/Formula/pypy.rb16
1 files changed, 10 insertions, 6 deletions
diff --git a/Library/Formula/pypy.rb b/Library/Formula/pypy.rb
index 8025e269b..3c0590b7d 100644
--- a/Library/Formula/pypy.rb
+++ b/Library/Formula/pypy.rb
@@ -1,14 +1,18 @@
require 'formula'
+require 'hardware'
class Pypy <Formula
- url 'http://pypy.org/download/pypy-1.3-osx.tar.bz2'
+ if snow_leopard_64?
+ url 'http://pypy.org/download/pypy-1.4-osx64.tar.bz2'
+ md5 '23ed155d7a8a214c61efc9000d559383'
+ else
+ url 'http://pypy.org/download/pypy-1.4-osx.tar.bz2'
+ md5 'b715229d2a2b4c7129f7867fd84e7caf'
+ end
homepage 'http://pypy.org/'
- md5 'eb34325767bef243dc642252ffb1005a'
- version '1.3'
+ version '1.4'
def install
- prefix.install 'bin'
- # See: http://pypy.org/download.html#installing
- (share+"pypy-#{version}").install ["lib-python", "pypy"]
+ prefix.install ["bin", "lib-python", "lib_pypy"]
end
end