2010-05-20 02:04:00 +00:00
|
|
|
require 'formula'
|
2010-11-26 20:52:40 +00:00
|
|
|
require 'hardware'
|
2010-05-20 02:04:00 +00:00
|
|
|
|
|
|
|
class Pypy <Formula
|
2010-11-26 20:52:40 +00:00
|
|
|
if snow_leopard_64?
|
2010-12-22 18:32:47 +00:00
|
|
|
url 'http://pypy.org/download/pypy-1.4.1-osx64.tar.bz2'
|
|
|
|
md5 '769b3fb134944ee8c22ad0834970de3b'
|
2010-11-26 20:52:40 +00:00
|
|
|
else
|
2010-12-22 18:32:47 +00:00
|
|
|
url 'http://pypy.org/download/pypy-1.4.1-osx.tar.bz2'
|
|
|
|
md5 '8584c4e8c042f5b661fcfffa0d9b8a25'
|
2010-11-26 20:52:40 +00:00
|
|
|
end
|
2010-05-20 02:04:00 +00:00
|
|
|
homepage 'http://pypy.org/'
|
2010-12-22 18:32:47 +00:00
|
|
|
version '1.4.1'
|
2010-05-20 02:04:00 +00:00
|
|
|
|
|
|
|
def install
|
2010-11-26 20:52:40 +00:00
|
|
|
prefix.install ["bin", "lib-python", "lib_pypy"]
|
2010-05-20 02:04:00 +00:00
|
|
|
end
|
|
|
|
end
|