diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2023-01-17 18:42:17 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-17 17:42:17 -0700 |
commit | 13121b4c280d638ee2b0f6493fd56347b3fa5e60 (patch) | |
tree | 31da76da21b2e6f07168c5b3b80bb8b69dea9ac2 | |
parent | ef8214682ce180f8a5f5d8b5596c401ef24f4482 (diff) | |
download | spack-13121b4c280d638ee2b0f6493fd56347b3fa5e60.tar.gz spack-13121b4c280d638ee2b0f6493fd56347b3fa5e60.tar.bz2 spack-13121b4c280d638ee2b0f6493fd56347b3fa5e60.tar.xz spack-13121b4c280d638ee2b0f6493fd56347b3fa5e60.zip |
py-itk: add version 5.3.0 (#34968)
* py-itk: add version 5.3.0
* Remove wheels for unsupported python versions
* Fill out the version specs
* Drop th 'm' from the cp37 version strings
-rw-r--r-- | var/spack/repos/builtin/packages/py-itk/package.py | 74 |
1 files changed, 71 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-itk/package.py b/var/spack/repos/builtin/packages/py-itk/package.py index 53841b799d..c6c3cbded0 100644 --- a/var/spack/repos/builtin/packages/py-itk/package.py +++ b/var/spack/repos/builtin/packages/py-itk/package.py @@ -29,6 +29,7 @@ class PyItk(PythonPackage): sha256="94b09ab9dd59ceaecc456ede2b719a44b8f0d54d92409eede372c6004395ae7b", expand=False, ) + # version 5.1.2 version( "5.1.2-cp37", @@ -48,6 +49,38 @@ class PyItk(PythonPackage): sha256="e8dec75b4452bd2ee65beb4901b245fc3a2a2ccc46dfa008ae0b5b757718d458", expand=False, ) + + # version 5.3.0 + version( + "5.3.0-cp37", + url="https://pypi.io/packages/cp37/i/itk/itk-5.3.0-cp37-cp37m-macosx_10_9_x86_64.whl", + sha256="493e28a3c9f38502f82613fa6ab9855fb19bff671095c287100a441830a921d0", + expand=False, + ) + version( + "5.3.0-cp38", + url="https://pypi.io/packages/cp38/i/itk/itk-5.3.0-cp38-cp38-macosx_10_9_x86_64.whl", + sha256="1fbcde6f6612b13d2934722707fd7194b1d5900a655efa191dfc130bbb94df09", + expand=False, + ) + version( + "5.3.0-cp39", + url="https://pypi.io/packages/cp39/i/itk/itk-5.3.0-cp39-cp39-macosx_10_9_x86_64.whl", + sha256="155581581929dfe834af6c6233a8c83e2ca2b1f52d6c7b2c81f04dc249aab1a5", + expand=False, + ) + version( + "5.3.0-cp310", + url="https://pypi.io/packages/cp310/i/itk/itk-5.3.0-cp310-cp310-macosx_10_9_x86_64.whl", + sha256="f92ec860173c82eb458764b4b5b771783b690c3aa3a01d15c6f3d008fc2bb493", + expand=False, + ) + version( + "5.3.0-cp311", + url="https://pypi.io/packages/cp311/i/itk/itk-5.3.0-cp311-cp311-macosx_10_9_x86_64.whl", + sha256="9dcfd9721ff6022e91eb98dc4004d437de2912dfd50d707d1ee72b89c334a3d4", + expand=False, + ) elif sys.platform.startswith("linux"): # version 5.1.1 version( @@ -62,6 +95,7 @@ class PyItk(PythonPackage): sha256="14cd6c3a25f0d69f45eda74b006eceeaf8e2b2fcbe7c343e49683edf97e0fb14", expand=False, ) + # version 5.1.2 version( "5.1.2-cp37", @@ -82,9 +116,43 @@ class PyItk(PythonPackage): expand=False, ) - depends_on("python@3.7.0:3.7", when="@5.1.1-cp37,5.1.2-cp37", type=("build", "run")) - depends_on("python@3.8.0:3.8", when="@5.1.1-cp38,5.1.2-cp38", type=("build", "run")) - depends_on("python@3.9.0:3.9", when="@5.1.2-cp39", type=("build", "run")) + # version 5.3.0 + version( + "5.3.0-cp37", + url="https://pypi.io/packages/cp37/i/itk/itk-5.3.0-cp37-cp37m-manylinux_2_28_x86_64.whl", + sha256="265c8b28469164a45fd9d94c211b2ed017acc7cda7a9e74bbb20b38c49c1af61", + expand=False, + ) + version( + "5.3.0-cp38", + url="https://pypi.io/packages/cp38/i/itk/itk-5.3.0-cp38-cp38-manylinux_2_28_x86_64.whl", + sha256="d83dc2b0f5d673226ef6eacac012d1da6dd36c6126f2b3cffc7ed62231c29bf2", + expand=False, + ) + version( + "5.3.0-cp39", + url="https://pypi.io/packages/cp39/i/itk/itk-5.3.0-cp39-cp39-manylinux_2_28_x86_64.whl", + sha256="bcc4449f2df35224cbc26472475d2afeb8a92886a81db950b2305f911bc2a38c", + expand=False, + ) + version( + "5.3.0-cp310", + url="https://pypi.io/packages/cp310/i/itk/itk-5.3.0-cp310-cp310-manylinux_2_28_x86_64.whl", + sha256="272708ee5ed5d09a519b2e98ac9c130f3146630257506ea440c83501c16f9580", + expand=False, + ) + version( + "5.3.0-cp311", + url="https://pypi.io/packages/cp311/i/itk/itk-5.3.0-cp311-cp311-manylinux_2_28_x86_64.whl", + sha256="ba8361a8ed1c5462e690ee893f624c0babb7a1072a15609c26790eea717e3f77", + expand=False, + ) + + depends_on("python@3.7.0:3.7", when="@5.1.1-cp37,5.1.2-cp37,5.3.0-cp37", type=("build", "run")) + depends_on("python@3.8.0:3.8", when="@5.1.1-cp38,5.1.2-cp38,5.3.0-cp38", type=("build", "run")) + depends_on("python@3.9.0:3.9", when="@5.1.2-cp39,5.3.0-cp39", type=("build", "run")) + depends_on("python@3.10.0:3.10", when="@5.3.0-cp310", type=("build", "run")) + depends_on("python@3.11.0:3.11", when="@5.3.0-cp311", type=("build", "run")) depends_on("py-setuptools", type="run") for t in set( |