summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com>2023-11-18 14:48:34 +0100
committerGitHub <noreply@github.com>2023-11-18 07:48:34 -0600
commitedf872c94bc73f262443c7ac2e3b9187f8dde636 (patch)
tree5182a3d28a564ddb67794170d4e38e4e20ed75a2
parent223e5b8ca21b98f87444ae3f708963617b9ce4a8 (diff)
downloadspack-edf872c94bc73f262443c7ac2e3b9187f8dde636.tar.gz
spack-edf872c94bc73f262443c7ac2e3b9187f8dde636.tar.bz2
spack-edf872c94bc73f262443c7ac2e3b9187f8dde636.tar.xz
spack-edf872c94bc73f262443c7ac2e3b9187f8dde636.zip
py-pyh5py: reorder dependencies from newest version to oldest (#41137)
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
-rw-r--r--var/spack/repos/builtin/packages/py-h5py/package.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/var/spack/repos/builtin/packages/py-h5py/package.py b/var/spack/repos/builtin/packages/py-h5py/package.py
index 262ce6445a..60de24072a 100644
--- a/var/spack/repos/builtin/packages/py-h5py/package.py
+++ b/var/spack/repos/builtin/packages/py-h5py/package.py
@@ -38,39 +38,39 @@ class PyH5py(PythonPackage):
variant("mpi", default=True, description="Build with MPI support")
# Python versions
- depends_on("python@:3.9", type=("build", "run"), when="@:2.8")
- depends_on("python@3.6:", type=("build", "run"), when="@3:3.1")
depends_on("python@3.7:", type=("build", "run"), when="@3.2:")
+ depends_on("python@3.6:", type=("build", "run"), when="@3:3.1")
+ depends_on("python@:3.9", type=("build", "run"), when="@:2.8")
# Build dependencies
- depends_on("py-cython@0.23:0", type="build", when="@:2")
- depends_on("py-cython@0.29:0", type=("build"), when="@3:")
- depends_on("py-cython@0.29.14:0", type=("build"), when="@3:3.7 ^python@3.8.0:3.8")
depends_on("py-cython@0.29.15:0", type=("build"), when="@3:3.7 ^python@3.9.0:")
+ depends_on("py-cython@0.29.14:0", type=("build"), when="@3:3.7 ^python@3.8.0:3.8")
+ depends_on("py-cython@0.29:0", type=("build"), when="@3:")
+ depends_on("py-cython@0.23:0", type="build", when="@:2")
depends_on("py-pkgconfig", type="build")
- depends_on("py-setuptools", type="build")
depends_on("py-setuptools@61:", type="build", when="@3.8.0:")
+ depends_on("py-setuptools", type="build")
depends_on("py-wheel", type="build", when="@3:")
# Build and runtime dependencies
depends_on("py-cached-property@1.5:", type=("build", "run"), when="@:3.6 ^python@:3.7")
- depends_on("py-numpy@1.7:", type=("build", "run"), when="@:2")
- depends_on("py-numpy@1.14.5:", type=("build", "run"), when="@3:")
- depends_on("py-numpy@1.17.5:", type=("build", "run"), when="@3:3.5 ^python@3.8.0:3.8")
depends_on("py-numpy@1.19.3:", type=("build", "run"), when="@3:3.5 ^python@3.9.0:")
+ depends_on("py-numpy@1.17.5:", type=("build", "run"), when="@3:3.5 ^python@3.8.0:3.8")
+ depends_on("py-numpy@1.14.5:", type=("build", "run"), when="@3:")
+ depends_on("py-numpy@1.7:", type=("build", "run"), when="@:2")
depends_on("py-six", type=("build", "run"), when="@:2")
# Link dependencies (py-h5py v2 cannot build against HDF5 1.12 regardless
# of API setting)
- depends_on("hdf5@1.8.4:1.11 +hl", when="@:2")
- depends_on("hdf5@1.8.4:1.12 +hl", when="@3:3.7")
depends_on("hdf5@1.8.4:1.14 +hl", when="@3.8:")
+ depends_on("hdf5@1.8.4:1.12 +hl", when="@3:3.7")
+ depends_on("hdf5@1.8.4:1.11 +hl", when="@:2")
# MPI dependencies
depends_on("hdf5+mpi", when="+mpi")
depends_on("mpi", when="+mpi")
- depends_on("py-mpi4py", when="@:2 +mpi", type=("build", "run"))
depends_on("py-mpi4py@3.0.2:", when="@3: +mpi", type=("build", "run"))
+ depends_on("py-mpi4py", when="@:2 +mpi", type=("build", "run"))
def flag_handler(self, name, flags):
if name == "cflags":