summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2023-07-16 00:57:35 +0200
committerGitHub <noreply@github.com>2023-07-15 18:57:35 -0400
commit319ef0f459cc682c4eb1ff577f0924c65ad06558 (patch)
treeb839c76ecb083143422ba9e2f80efaf375b42dff
parenta9d5f2479161113cd3a9a0548832386d05bfe426 (diff)
downloadspack-319ef0f459cc682c4eb1ff577f0924c65ad06558.tar.gz
spack-319ef0f459cc682c4eb1ff577f0924c65ad06558.tar.bz2
spack-319ef0f459cc682c4eb1ff577f0924c65ad06558.tar.xz
spack-319ef0f459cc682c4eb1ff577f0924c65ad06558.zip
py-shiboken: fix build by restricting dependencies (#38900)
* py-shiboken: fix build by restricting dependencies * Update var/spack/repos/builtin/packages/py-shiboken/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Remove conflict * Remove py-markupsafe conflict * Update var/spack/repos/builtin/packages/py-shiboken/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-shiboken/package.py7
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:")