diff options
| author | Mike McQuaid | 2014-12-25 20:44:43 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-28 12:14:49 +0000 |
| commit | 515395171ca5d5278115da678d2a5a367395260e (patch) | |
| tree | 602fd9bf1356f77ce7579915ed1626cf1bc15ca4 /Library/Homebrew/requirements/python_dependency.rb | |
| parent | 99ecc9ac34c649b0ad08068faf6e03cad39da249 (diff) | |
| download | brew-515395171ca5d5278115da678d2a5a367395260e.tar.bz2 | |
Set cask and download DSL values on requirements.
Closes Homebrew/homebrew#35257.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/requirements/python_dependency.rb')
| -rw-r--r-- | Library/Homebrew/requirements/python_dependency.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/requirements/python_dependency.rb b/Library/Homebrew/requirements/python_dependency.rb index d5294c1e3..1db0bc811 100644 --- a/Library/Homebrew/requirements/python_dependency.rb +++ b/Library/Homebrew/requirements/python_dependency.rb @@ -3,6 +3,7 @@ require "language/python" class PythonDependency < Requirement fatal true default_formula "python" + cask "python" satisfy :build_env => false do python = which_python @@ -51,6 +52,7 @@ end class Python3Dependency < PythonDependency fatal true default_formula "python3" + cask "python3" satisfy(:build_env => false) { which_python } |
