py-pyqt4: stricter dependency versions (#38673)
This commit is contained in:
parent
84010108b1
commit
1ce6feef94
@ -24,15 +24,18 @@ class PyPyqt4(SIPPackage):
|
|||||||
"4.11.3",
|
"4.11.3",
|
||||||
sha256="853780dcdbe2e6ba785d703d059b096e1fc49369d3e8d41a060be874b8745686",
|
sha256="853780dcdbe2e6ba785d703d059b096e1fc49369d3e8d41a060be874b8745686",
|
||||||
url="http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.11.3/PyQt-x11-gpl-4.11.3.tar.gz",
|
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
|
# API files can be installed regardless if QScintilla is installed or not
|
||||||
variant("qsci_api", default=False, description="Install PyQt API file for QScintilla")
|
variant("qsci_api", default=False, description="Install PyQt API file for QScintilla")
|
||||||
|
|
||||||
# Supposedly can also be built with Qt 5 compatibility layer
|
# Requires distutils
|
||||||
depends_on("qt@:4")
|
depends_on("python@:3.11", type=("build", "link", "run"))
|
||||||
|
|
||||||
|
depends_on("qt@4")
|
||||||
depends_on("qt@4.1:", when="@4.12.3")
|
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
|
# https://www.riverbankcomputing.com/static/Docs/PyQt4/installation.html
|
||||||
def configure_file(self):
|
def configure_file(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user