diff options
| author | Mike McQuaid | 2014-03-18 12:06:31 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-18 12:08:12 +0000 |
| commit | 8dcadc54d271cc2b71e4993bb7499e87460f38a9 (patch) | |
| tree | 6f702f9cb2dcdda517aedf6afb2bffc939fcffd1 /Library/Homebrew | |
| parent | ab4f9e57aeb964f106fac137c25ba8f06b7e3007 (diff) | |
| download | brew-8dcadc54d271cc2b71e4993bb7499e87460f38a9.tar.bz2 | |
python_dependency: no brewed python for bottles
Diffstat (limited to 'Library/Homebrew')
| -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 |
