diff options
| author | Mike McQuaid | 2014-12-25 20:44:43 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-28 12:14:49 +0000 |
| commit | dc970c0c61a2a6ee26c04b675c6a96db85d672dd (patch) | |
| tree | ceab51d97e086c5988d09ebad54e732c639c4c0d /Library/Homebrew/requirements/python_dependency.rb | |
| parent | d101d0ab1e61b2258fcfb0452f7322b1aae80103 (diff) | |
| download | homebrew-dc970c0c61a2a6ee26c04b675c6a96db85d672dd.tar.bz2 | |
Set cask and download DSL values on requirements.
Closes #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 } |
