diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-shiboken/package.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-shiboken/package.py b/var/spack/repos/builtin/packages/py-shiboken/package.py index 15e1c2321b..0baaa1d89b 100644 --- a/var/spack/repos/builtin/packages/py-shiboken/package.py +++ b/var/spack/repos/builtin/packages/py-shiboken/package.py @@ -16,14 +16,17 @@ class PyShiboken(PythonPackage): version("1.2.2", sha256="0baee03c6244ab56e42e4200d0cb5e234682b11cc296ed0a192fe457d054972f") - depends_on("cmake", type="build") + depends_on("cmake@2.6:", type="build") + # to prevent error: 'PyTypeObject' {aka 'struct _typeobject'} has no member + # named 'tp_print' + depends_on("python@:3.8", type=("build", "run")) depends_on("py-setuptools", type="build") # in newer pip versions --install-option does not exist depends_on("py-pip@:23.0", type="build") depends_on("py-sphinx@:3.4", type=("build", "run")) depends_on("libxml2") - depends_on("qt@:4.8") + depends_on("qt@4.6:4.8") # subprocess.mswindows was renamed to subprocess._mswindows in Python 3.5 patch("python-3.5.patch", when="^python@3.5:") |