diff options
| author | Samuel John | 2013-06-05 15:00:41 +0200 |
|---|---|---|
| committer | Samuel John | 2013-06-05 15:00:41 +0200 |
| commit | ee85be5c6f5ff45ddaa936aa6ff5f44b0da43e47 (patch) | |
| tree | 4fb3c6194cc31da569c084726ff3a1d2cc694c0b /Library/Formula/pyqt.rb | |
| parent | 306a89ca3beada8b6ccf9fdb506ad403fd5fe774 (diff) | |
| download | homebrew-ee85be5c6f5ff45ddaa936aa6ff5f44b0da43e47.tar.bz2 | |
PyQt: Getting sip dependency right
Diffstat (limited to 'Library/Formula/pyqt.rb')
| -rw-r--r-- | Library/Formula/pyqt.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/pyqt.rb b/Library/Formula/pyqt.rb index 67fea3cac..b8ea43a8c 100644 --- a/Library/Formula/pyqt.rb +++ b/Library/Formula/pyqt.rb @@ -8,9 +8,14 @@ class Pyqt < Formula depends_on :python => :recommended depends_on :python3 => :optional - depends_on 'sip' => ['with-python3'] if build.with? 'python3' depends_on 'qt' # From their site: PyQt currently supports Qt v4 and will build against Qt v5 + if build.with? 'python3' + depends_on 'sip' => 'with-python3' + else + depends_on 'sip' + end + def install python do system python, "./configure.py", "--confirm-license", |
