From 0675ba29464fd9600f83eafff2df5c8e993d7533 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 14 Sep 2013 11:49:54 +0100 Subject: Rename PythonInstalled to PythonDependency. Make it more consistent with other requirements. --- Library/Homebrew/requirements/python_dependency.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Homebrew/requirements/python_dependency.rb') 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 -- cgit v1.2.3