py-pyqt4: stricter dependency versions (#38673)

This commit is contained in:
Adam J. Stewart 2023-07-05 02:45:24 -05:00 committed by GitHub
parent 84010108b1
commit 1ce6feef94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,15 +24,18 @@ class PyPyqt4(SIPPackage):
"4.11.3",
sha256="853780dcdbe2e6ba785d703d059b096e1fc49369d3e8d41a060be874b8745686",
url="http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.11.3/PyQt-x11-gpl-4.11.3.tar.gz",
deprecated=True,
)
# API files can be installed regardless if QScintilla is installed or not
variant("qsci_api", default=False, description="Install PyQt API file for QScintilla")
# Supposedly can also be built with Qt 5 compatibility layer
depends_on("qt@:4")
# Requires distutils
depends_on("python@:3.11", type=("build", "link", "run"))
depends_on("qt@4")
depends_on("qt@4.1:", when="@4.12.3")
depends_on("py-sip@:4.19.18 module=PyQt4.sip")
depends_on("py-sip@4.19.12:4.19.18 module=PyQt4.sip")
# https://www.riverbankcomputing.com/static/Docs/PyQt4/installation.html
def configure_file(self):