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
commit138e5acfe039058dc68ab0011beed577839d1483 (patch)
tree4ece550e0fbd68d3b5b8696749ab3111f1a0051e /Library/Homebrew
parent12bcde60e4e252c0423a33305f91e384465f635b (diff)
downloadhomebrew-138e5acfe039058dc68ab0011beed577839d1483.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