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>
This commit is contained in:
parent
a9d5f24791
commit
319ef0f459
@ -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:")
|
||||
|
Loading…
Reference in New Issue
Block a user