diff options
| author | Adam Vandenberg | 2012-04-11 19:18:46 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-04-11 19:18:46 -0700 |
| commit | eda250939cc6ce33a9b12b2fedf3ae9f86196295 (patch) | |
| tree | c336ed9d6a3b6ce74f71c42d28948d4720fa034c /Library/Formula/python.rb | |
| parent | e3c0a504f250a72ed1dfed8da5c0372fb12e2f64 (diff) | |
| download | homebrew-eda250939cc6ce33a9b12b2fedf3ae9f86196295.tar.bz2 | |
Python 2.7.3 + distribute 0.6.26
Diffstat (limited to 'Library/Formula/python.rb')
| -rw-r--r-- | Library/Formula/python.rb | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index f0d170599..30d6f3d99 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -9,14 +9,14 @@ def as_framework? end class Distribute < Formula - url 'http://pypi.python.org/packages/source/d/distribute/distribute-0.6.25.tar.gz' - md5 'a690874b9964d958a3200485eb827b1d' + url 'http://pypi.python.org/packages/source/d/distribute/distribute-0.6.26.tar.gz' + md5 '841f4262a70107f85260362f5def8206' end class Python < Formula homepage 'http://www.python.org/' - url 'http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2' - md5 'ba7b2f11ffdbf195ee0d111b9455a5bd' + url 'http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2' + md5 'c57477edd6d18bd9eeca2f21add73919' depends_on 'readline' => :optional # Prefer over OS X's libedit depends_on 'sqlite' => :optional # Prefer over OS X's older version @@ -30,12 +30,6 @@ class Python < Formula ] end - def patches - # Fix for recognizing gdbm 1.9.x databases; already upstream: - # http://hg.python.org/cpython/rev/14cafb8d1480 - DATA - end - # Skip binaries so modules will load; skip lib because it is mostly Python files skip_clean ['bin', 'lib'] @@ -182,15 +176,3 @@ class Python < Formula system "#{bin}/python -c 'from decimal import Decimal; print Decimal(4) / Decimal(2)'" end end - -__END__ -diff --git a/Lib/whichdb.py b/Lib/whichdb.py ---- a/Lib/whichdb.py -+++ b/Lib/whichdb.py -@@ -91,7 +91,7 @@ def whichdb(filename): - return "" - - # Check for GNU dbm -- if magic == 0x13579ace: -+ if magic in (0x13579ace, 0x13579acd, 0x13579acf): - return "gdbm" |
