aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2014-03-18 12:06:31 +0000
committerMike McQuaid2014-03-18 12:08:12 +0000
commite3f9426c7e8eb24fb6eb3bda2937cca58f687e9e (patch)
tree80f3af2d6d5acbf4b80515b09e0719c0723e2649
parentc98b9691bfde1974a0db63c4c4676607f5c34f5f (diff)
downloadhomebrew-e3f9426c7e8eb24fb6eb3bda2937cca58f687e9e.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