depends_on :python Default to min vers 2.6 not 2.7

To support system python on OS X
This commit is contained in:
Samuel John 2013-06-03 21:18:05 +02:00
parent 0688991507
commit 0ff6c992c3

View File

@ -36,7 +36,7 @@ class PythonInstalled < Requirement
if /(\d+\.)*\d+/ === tags.first
@min_version = PythonVersion.new(tags.shift)
else
@min_version = PythonVersion.new("2.7") # default
@min_version = PythonVersion.new("2.6") # default
end
# often used idiom: e.g. sipdir = "share/sip" + python.if3then3