diff options
| author | Mike McQuaid | 2014-01-04 13:11:47 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-04 13:35:44 +0000 |
| commit | 7c1eeea2fd29ac9e357072af2fde7448e51386e5 (patch) | |
| tree | e666f041778a05712d14dda58b73d768060f65e7 /Library/Formula | |
| parent | b198c5ddc1755d47f1650f9dd9892075c0bc583c (diff) | |
| download | homebrew-7c1eeea2fd29ac9e357072af2fde7448e51386e5.tar.bz2 | |
ninja-ide: cleanup python usage.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ninja-ide.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/ninja-ide.rb b/Library/Formula/ninja-ide.rb index e51fa8eb7..b3cac95ab 100644 --- a/Library/Formula/ninja-ide.rb +++ b/Library/Formula/ninja-ide.rb @@ -6,14 +6,13 @@ class NinjaIde < Formula sha1 '64ccbbf8521a8fbef43c3d57cf616b7f8b466460' depends_on :python - depends_on :python => ['fsevents' => 'MacFSEvents'] + depends_on 'fsevents' => :python depends_on 'pyqt' def install - python do - system python, "setup.py", "install", "--prefix=#{prefix}", + system "python", "setup.py", "install", "--prefix=#{prefix}", "--single-version-externally-managed", "--record=installed.txt" - end + bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH']) end test do |
