diff options
| author | Adam Vandenberg | 2014-02-26 20:33:05 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:24 -0800 |
| commit | 1218e1ca658dacb49654562dae8a3cd79831f446 (patch) | |
| tree | 0b2680a881cb209239f98b5291911c7f048a85ff | |
| parent | 2fa9ea56356c0a9ed7d9276ac331dc4fd15f4efd (diff) | |
| download | homebrew-1218e1ca658dacb49654562dae8a3cd79831f446.tar.bz2 | |
qscintilla2: use Formula[]
| -rw-r--r-- | Library/Formula/qscintilla2.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/qscintilla2.rb b/Library/Formula/qscintilla2.rb index 10a6d9d2f..a521959fd 100644 --- a/Library/Formula/qscintilla2.rb +++ b/Library/Formula/qscintilla2.rb @@ -4,7 +4,7 @@ class PythonEnvironment < Requirement fatal true satisfy do - !(!Formula.factory("python").installed? && ARGV.include?("--without-python") && ARGV.include?("--with-python3")) + !(!Formula["python"].installed? && ARGV.include?("--without-python") && ARGV.include?("--with-python3")) end def message @@ -84,7 +84,7 @@ class Qscintilla2 < Formula assert("QsciLexer" in dir(PyQt4.Qsci)) EOS pythons.each do |python, version| - unless Formula.factory(python).installed? + unless Formula[python].installed? ENV["PYTHONPATH"] = HOMEBREW_PREFIX/"lib/python#{version}/site-packages" end system python, "test.py" |
