aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/requirements/python_dependency.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-12-25 20:44:43 +0000
committerMike McQuaid2014-12-28 12:14:49 +0000
commitdc970c0c61a2a6ee26c04b675c6a96db85d672dd (patch)
treeceab51d97e086c5988d09ebad54e732c639c4c0d /Library/Homebrew/requirements/python_dependency.rb
parentd101d0ab1e61b2258fcfb0452f7322b1aae80103 (diff)
downloadhomebrew-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.rb2
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 }