diff options
| author | Mike McQuaid | 2013-09-14 11:49:54 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-09-14 12:21:49 +0100 |
| commit | 0675ba29464fd9600f83eafff2df5c8e993d7533 (patch) | |
| tree | d412c780d496cb33911760cfb4f4248c9eb5fc30 /Library/Homebrew/requirements/python_dependency.rb | |
| parent | 1935e4fcd6601bb413991f2524aaf4e46dbbff8b (diff) | |
| download | homebrew-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.rb | 4 |
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 |
