aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
authorJack Nagel2012-08-20 17:00:34 -0500
committerJack Nagel2012-08-20 17:00:34 -0500
commitfe6c8dcd7d29bdc7a5cdfe2e42eeed7006e6df95 (patch)
tree15b015f7b00b5f44d5328aa9a1dbb522710416e9 /Library/Formula/python3.rb
parent6c444e05e349ced57090caf72afa9bf6201c894a (diff)
downloadhomebrew-fe6c8dcd7d29bdc7a5cdfe2e42eeed7006e6df95.tar.bz2
python/python3: don't duplicate TkCheck requirement
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/python3.rb')
-rw-r--r--Library/Formula/python3.rb16
1 files changed, 1 insertions, 15 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index 3cf82a30a..28472b12f 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -1,25 +1,11 @@
require 'formula'
+require Formula.path("python") # For TkCheck requirement
# Python3 is the new language standard, not just a new revision.
# It's somewhat incompatible to Python 2.x, therefore, the executable
# "python" will always point to the 2.x version which you can get by
# `brew install python`.
-class TkCheck < Requirement
- def message; <<-EOS.undent
- Tk.framework detected in /Library/Frameworks
- and that can make python builds to fail.
- https://github.com/mxcl/homebrew/issues/11602
- EOS
- end
-
- def fatal?; false; end
-
- def satisfied?
- not File.exist? '/Library/Frameworks/Tk.framework'
- end
-end
-
class Distribute < Formula
url 'http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz'
md5 'b400b532e33f78551e6847c1f5965e56'