aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pyqwt.rb26
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