aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2014-03-18 12:06:31 +0000
committerMike McQuaid2014-03-18 12:08:12 +0000
commit8dcadc54d271cc2b71e4993bb7499e87460f38a9 (patch)
tree6f702f9cb2dcdda517aedf6afb2bffc939fcffd1
parentab4f9e57aeb964f106fac137c25ba8f06b7e3007 (diff)
downloadbrew-8dcadc54d271cc2b71e4993bb7499e87460f38a9.tar.bz2
python_dependency: no brewed python for bottles
-rw-r--r--Library/Homebrew/requirements/python_dependency.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/Library/Homebrew/requirements/python_dependency.rb b/Library/Homebrew/requirements/python_dependency.rb
index 3c6512661..246fbec2e 100644
--- a/Library/Homebrew/requirements/python_dependency.rb
+++ b/Library/Homebrew/requirements/python_dependency.rb
@@ -5,9 +5,6 @@ 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 build_bottle?
python = which_python
next unless python
version = python_short_version
@@ -27,10 +24,6 @@ class PythonDependency < Requirement
end
end
- def build_bottle?
- ARGV.build_bottle?
- end
-
def python_short_version
@short_version ||= Language::Python.major_minor_version which_python
end