diff options
| author | Mike McQuaid | 2014-01-04 13:14:49 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-04 13:35:46 +0000 |
| commit | 33e95cb74542e7655541ebe5a0b4260233fb7508 (patch) | |
| tree | 10630db521a6476e50c1ebb2028fc13d5120a340 /Library/Formula | |
| parent | 6c778fe960203213f6c83ad6ffd7cc0695056a0a (diff) | |
| download | homebrew-33e95cb74542e7655541ebe5a0b4260233fb7508.tar.bz2 | |
pyqwt: cleanup python usage.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pyqwt.rb | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/Library/Formula/pyqwt.rb b/Library/Formula/pyqwt.rb index 914476582..e37455a2d 100644 --- a/Library/Formula/pyqwt.rb +++ b/Library/Formula/pyqwt.rb @@ -19,27 +19,19 @@ class Pyqwt < Formula def install cd "configure" do - python do - system python, - "configure.py", - "--module-install-path=#{lib}/#{python.xy}/site-packages/PyQt4/Qwt5", - "--sip-install-path=#{share}/sip#{python.if3then3}/Qwt5", - "--uic-install-path=#{lib}/#{python.xy}/site-packages/PyQt4", - "-Q", "../qwt-5.2" - system "make install" - system 'make clean' - end + system "python", + "configure.py", + "--module-install-path=#{lib}/python2.7/site-packages/PyQt4/Qwt5", + "--sip-install-path=#{share}/sip/Qwt5", + "--uic-install-path=#{lib}/python2.7/site-packages/PyQt4", + "-Q", "../qwt-5.2" + system "make install" + system 'make clean' end end - def caveats - python.standard_caveats if python - end - def test - python do - system python, "-c", "from PyQt4 import Qwt5 as Qwt" - end + system "python", "-c", "from PyQt4 import Qwt5 as Qwt" end end |
