aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/requirements/python_dependency.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-09-14 11:49:54 +0100
committerMike McQuaid2013-09-14 12:21:49 +0100
commit0675ba29464fd9600f83eafff2df5c8e993d7533 (patch)
treed412c780d496cb33911760cfb4f4248c9eb5fc30 /Library/Homebrew/requirements/python_dependency.rb
parent1935e4fcd6601bb413991f2524aaf4e46dbbff8b (diff)
downloadhomebrew-0675ba29464fd9600f83eafff2df5c8e993d7533.tar.bz2
Rename PythonInstalled to PythonDependency.
Make it more consistent with other requirements.
Diffstat (limited to 'Library/Homebrew/requirements/python_dependency.rb')
-rw-r--r--Library/Homebrew/requirements/python_dependency.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/requirements/python_dependency.rb b/Library/Homebrew/requirements/python_dependency.rb
index 1ba7aebee..f07d3b212 100644
--- a/Library/Homebrew/requirements/python_dependency.rb
+++ b/Library/Homebrew/requirements/python_dependency.rb
@@ -6,14 +6,14 @@ require 'requirement'
# In `dependency_collector.rb`, special `:python` and `:python3` shortcuts are
# defined. You can specify a minimum version of the Python that needs to be
# present, but since not every package is ported to 3.x yet,
-# `PythonInstalled("2")` is not satisfied by 3.x.
+# `PythonDependency("2")` is not satisfied by 3.x.
# In a formula that shall provide support for 2.x and 3.x, the idiom is:
# depends_on :python
# depends_on :python3 => :optional # or :recommended
#
# Todo:
# - Allow further options that choose: universal, framework?, brewed?...
-class PythonInstalled < Requirement
+class PythonDependency < Requirement
attr_reader :min_version
attr_reader :if3then3
attr_reader :imports