From ee85be5c6f5ff45ddaa936aa6ff5f44b0da43e47 Mon Sep 17 00:00:00 2001 From: Samuel John Date: Wed, 5 Jun 2013 15:00:41 +0200 Subject: PyQt: Getting sip dependency right --- Library/Formula/pyqt.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Library') 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", -- cgit v1.2.3