aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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",