aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pyqt5.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/Library/Formula/pyqt5.rb b/Library/Formula/pyqt5.rb
index 5d753601c..4a55e56a6 100644
--- a/Library/Formula/pyqt5.rb
+++ b/Library/Formula/pyqt5.rb
@@ -1,9 +1,9 @@
require 'formula'
class Pyqt5 < Formula
- homepage 'http://www.riverbankcomputing.co.uk/software/pyqt/download5'
- url 'https://downloads.sf.net/project/pyqt/PyQt5/PyQt-5.3/PyQt-gpl-5.3.tar.gz'
- sha1 '087d75be63351cfb7965075f448df218f688fa75'
+ homepage "http://www.riverbankcomputing.co.uk/software/pyqt/download5"
+ url "https://downloads.sf.net/project/pyqt/PyQt5/PyQt-5.3.2/PyQt-gpl-5.3.2.tar.gz"
+ sha1 "bb34d826a50b0735d1319dc51be6a094ba64b800"
option 'enable-debug', "Build with debug symbols"
option 'with-docs', "Install HTML documentation and python examples"
@@ -39,6 +39,9 @@ class Pyqt5 < Formula
"QMAKE_MACOSX_DEPLOYMENT_TARGET=#{MacOS.version}" ]
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"