diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-pyqt4/package.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyqt4/package.py b/var/spack/repos/builtin/packages/py-pyqt4/package.py index 92dae6d1c1..6de10982ab 100644 --- a/var/spack/repos/builtin/packages/py-pyqt4/package.py +++ b/var/spack/repos/builtin/packages/py-pyqt4/package.py @@ -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): |