diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-shiboken2/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-shiboken2/package.py | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/var/spack/repos/builtin/packages/py-shiboken2/package.py b/var/spack/repos/builtin/packages/py-shiboken2/package.py index 400479f438..9578844fdf 100644 --- a/var/spack/repos/builtin/packages/py-shiboken2/package.py +++ b/var/spack/repos/builtin/packages/py-shiboken2/package.py @@ -13,15 +13,19 @@ class PyShiboken2(PythonPackage): homepage = "https://www.pyside.org/" - if sys.platform.startswith('linux'): - version('5.15.2', - url="https://files.pythonhosted.org/packages/cp35.cp36.cp37.cp38.cp39/s/shiboken2/shiboken2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-manylinux1_x86_64.whl", - sha256='4aee1b91e339578f9831e824ce2a1ec3ba3a463f41fda8946b4547c7eb3cba86', - expand=False) - elif sys.platform == 'darwin': - version('5.15.2', - url="https://files.pythonhosted.org/packages/cp35.cp36.cp37.cp38.cp39/s/shiboken2/shiboken2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-macosx_10_13_intel.whl", - sha256='edc12a4df2b5be7ca1e762ab94e331ba9e2fbfe3932c20378d8aa3f73f90e0af', - expand=False) + if sys.platform.startswith("linux"): + version( + "5.15.2", + url="https://files.pythonhosted.org/packages/cp35.cp36.cp37.cp38.cp39/s/shiboken2/shiboken2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-manylinux1_x86_64.whl", + sha256="4aee1b91e339578f9831e824ce2a1ec3ba3a463f41fda8946b4547c7eb3cba86", + expand=False, + ) + elif sys.platform == "darwin": + version( + "5.15.2", + url="https://files.pythonhosted.org/packages/cp35.cp36.cp37.cp38.cp39/s/shiboken2/shiboken2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-macosx_10_13_intel.whl", + sha256="edc12a4df2b5be7ca1e762ab94e331ba9e2fbfe3932c20378d8aa3f73f90e0af", + expand=False, + ) - depends_on('python@3.5:3.9', type=('build', 'run')) + depends_on("python@3.5:3.9", type=("build", "run")) |