aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-09-01 10:32:29 -0700
committerAdam Vandenberg2011-09-01 10:32:48 -0700
commit8128b04cfef9aa9349fa9cd26126a91ad2224aa1 (patch)
tree16d31a893680fba5c6ce80e6392a5de5ed288b88 /Library/Formula/python.rb
parent4afac9f5d66cb4b963f37caed61103c0a6063081 (diff)
downloadhomebrew-8128b04cfef9aa9349fa9cd26126a91ad2224aa1.tar.bz2
Python 2.7.2: use newer distribute
Diffstat (limited to 'Library/Formula/python.rb')
-rw-r--r--Library/Formula/python.rb15
1 files changed, 5 insertions, 10 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index b6df52a39..8128e73bd 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -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/'