python_dependency: only pour with system python.

This is as Python bindings are not build in a way that can have
system or Homebrew Python used interchangeably.
This commit is contained in:
Mike McQuaid 2014-03-28 14:53:12 +00:00
parent 363f2c116c
commit 1207ba4f8c

View File

@ -13,6 +13,10 @@ class PythonDependency < Requirement
version == Version.new("2.7")
end
def pour_bottle?
system_python?
end
def modify_build_environment
if system_python?
if python_binary == "python"