python: don't install bottles on Xcode-only systems
Closes Homebrew/homebrew#30633. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
803d5f5fd0
commit
50a4ab28d6
1 changed files with 6 additions and 0 deletions
|
@ -56,6 +56,12 @@ class Python < Formula
|
||||||
HOMEBREW_PREFIX/"lib/python2.7/site-packages"
|
HOMEBREW_PREFIX/"lib/python2.7/site-packages"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# setuptools remembers the build flags python is built with and uses them to
|
||||||
|
# build packages later. Xcode-only systems need different flags.
|
||||||
|
def pour_bottle?
|
||||||
|
MacOS::CLT.installed?
|
||||||
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
if build.with? "poll"
|
if build.with? "poll"
|
||||||
opoo "The given option --with-poll enables a somewhat broken poll() on OS X (http://bugs.python.org/issue5154)."
|
opoo "The given option --with-poll enables a somewhat broken poll() on OS X (http://bugs.python.org/issue5154)."
|
||||||
|
|
Loading…
Reference in a new issue