aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pyqt.rb
diff options
context:
space:
mode:
authorSamuel John2013-06-05 15:00:41 +0200
committerSamuel John2013-06-05 15:00:41 +0200
commitee85be5c6f5ff45ddaa936aa6ff5f44b0da43e47 (patch)
tree4fb3c6194cc31da569c084726ff3a1d2cc694c0b /Library/Formula/pyqt.rb
parent306a89ca3beada8b6ccf9fdb506ad403fd5fe774 (diff)
downloadhomebrew-ee85be5c6f5ff45ddaa936aa6ff5f44b0da43e47.tar.bz2
PyQt: Getting sip dependency right
Diffstat (limited to 'Library/Formula/pyqt.rb')
-rw-r--r--Library/Formula/pyqt.rb7
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",