diff options
| author | Jens Hedegaard Nielsen | 2014-10-21 10:18:16 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-21 12:17:07 +0100 |
| commit | 91a3aea85b0e51ed65cc0d1ec49019b4822eb5f2 (patch) | |
| tree | b3936811adc4a7eb585a388d71655113c641a40f /Library | |
| parent | 91139edc0cb647acd3ee6759db6e61ab3b162eeb (diff) | |
| download | homebrew-91a3aea85b0e51ed65cc0d1ec49019b4822eb5f2.tar.bz2 | |
pyqt5: inreplace outside python version loop.
Otherwise the patch is applied twice when building for both python 2
and 3. This fails the second time
Closes #33427.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/pyqt5.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/pyqt5.rb b/Library/Formula/pyqt5.rb index 6f3da81ef..4eb4a5373 100644 --- a/Library/Formula/pyqt5.rb +++ b/Library/Formula/pyqt5.rb @@ -24,6 +24,8 @@ class Pyqt5 < Formula end def install + # addresses https://github.com/Homebrew/homebrew/issues/32370 + inreplace "configure.py", "qmake_QT=['webkitwidgets']", "qmake_QT=['webkitwidgets', 'printsupport']" Language::Python.each_python(build) do |python, version| args = [ "--confirm-license", "--bindir=#{bin}", @@ -40,9 +42,6 @@ class Pyqt5 < Formula "--verbose"] args << '--debug' if build.include? 'enable-debug' - # addresses https://github.com/Homebrew/homebrew/issues/32370 - inreplace "configure.py", "qmake_QT=['webkitwidgets']", "qmake_QT=['webkitwidgets', 'printsupport']" - system python, "configure.py", *args system "make" system "make", "install" |
