mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
python/python3: don't duplicate TkCheck requirement
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
1 parent
6c444e05e3
commit
fe6c8dcd7d
2 files changed
+4
-18
No files matched your search
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user