diff options
| author | Mike McQuaid | 2014-03-18 12:06:31 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-18 12:08:12 +0000 |
| commit | e3f9426c7e8eb24fb6eb3bda2937cca58f687e9e (patch) | |
| tree | 80f3af2d6d5acbf4b80515b09e0719c0723e2649 | |
| parent | c98b9691bfde1974a0db63c4c4676607f5c34f5f (diff) | |
| download | homebrew-e3f9426c7e8eb24fb6eb3bda2937cca58f687e9e.tar.bz2 | |
python_dependency: no brewed python for bottles
| -rw-r--r-- | Library/Homebrew/requirements/python_dependency.rb | 7 |
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 |
