Python 2.7.2: use newer distribute

This commit is contained in:
Adam Vandenberg 2011-09-01 10:32:29 -07:00
parent f44ef6862c
commit 5c61798a5c

View file

@ -1,15 +1,5 @@
require 'formula'
# This formula for Python 2.7.x
# Python 3.x is available as a separate formula:
# $ brew install python3
class Distribute < Formula
url 'http://pypi.python.org/packages/source/d/distribute/distribute-0.6.19.tar.gz'
md5 '45a17940eefee849d4cb8cc06d28d96f'
end
# Was a Framework build requested?
def build_framework?; ARGV.include? '--framework'; end
@ -18,6 +8,11 @@ def as_framework?
(self.installed? and File.exists? prefix+"Frameworks/Python.framework") or build_framework?
end
class Distribute < Formula
url 'http://pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz'
md5 'c8cfcfd42ec9ab900fb3960a3308eef2'
end
class Python < Formula
url 'http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2'
homepage 'http://www.python.org/'