aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2014-03-13 08:57:58 +0000
committerMike McQuaid2014-03-13 10:05:20 +0000
commit5b6d872459ce7f2bd6346130f2d7ab8099275908 (patch)
tree73e139eb66a090fdcf76728fb01386147ac0ec8a /Library/Homebrew
parentc789f907ebe4db348c99d59b9cd1ca52db36d95e (diff)
downloadbrew-5b6d872459ce7f2bd6346130f2d7ab8099275908.tar.bz2
python_dependency: always bottle with brew Python.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/requirements/python_dependency.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/requirements/python_dependency.rb b/Library/Homebrew/requirements/python_dependency.rb
index 246fbec2e..4bdc9f614 100644
--- a/Library/Homebrew/requirements/python_dependency.rb
+++ b/Library/Homebrew/requirements/python_dependency.rb
@@ -5,6 +5,9 @@ class PythonDependency < Requirement
default_formula "python"
satisfy :build_env => false do
+ # Always build bottles against Homebrew Python as they still work
+ # against a 2.7 system Python.
+ next if ARGV.build_bottle?
python = which_python
next unless python
version = python_short_version