pyqt5 5.8.1

This commit is contained in:
Xu Cheng 2017-02-21 13:28:34 +08:00 committed by ilovezfs
parent 9a31a8d042
commit d550e56b96

View file

@ -1,9 +1,8 @@
class Pyqt5 < Formula
desc "Python bindings for v5 of Qt"
homepage "https://www.riverbankcomputing.com/software/pyqt/download5"
url "https://downloads.sourceforge.net/project/pyqt/PyQt5/PyQt-5.7.1/PyQt5_gpl-5.7.1.tar.gz"
sha256 "be849f212a074049b9ebc10b6c07dddefb86e6d30e8df8a5c715cbb2cf7fad14"
revision 1
url "https://downloads.sourceforge.net/project/pyqt/PyQt5/PyQt-5.8.1/PyQt5_gpl-5.8.1.tar.gz"
sha256 "1e8f24b261f34fa5bad19b5a637aadba2fa9a62e440749117b229253e8992a2e"
bottle do
sha256 "27eddc922ae320cd2c5659cfbb9da1d37a8dbe6c9671b2f683e3f4864f97b4b5" => :sierra
@ -18,7 +17,7 @@ class Pyqt5 < Formula
depends_on :python3 => :recommended
depends_on :python => :optional
depends_on "qt@5.7"
depends_on "qt5"
if build.with? "python3"
depends_on "sip" => "with-python3"
@ -41,7 +40,7 @@ class Pyqt5 < Formula
"--sip-incdir=#{Formula["sip"].opt_include}",
# Make sure the qt5 version of qmake is found.
# If qt4 is linked it will pickup that version otherwise.
"--qmake=#{Formula["qt@5.7"].bin}/qmake",
"--qmake=#{Formula["qt5"].bin}/qmake",
# Force deployment target to avoid libc++ issues
"QMAKE_MACOSX_DEPLOYMENT_TARGET=#{MacOS.version}",
"--qml-plugindir=#{pkgshare}/plugins",