aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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