diff options
author | Wouter Deconinck <wdconinc@gmail.com> | 2023-03-18 17:18:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-18 17:18:04 -0500 |
commit | 4ffdde94efd70e03be685b8addad8fd60907fe0a (patch) | |
tree | 50a1e796b177d68c4fa5b7c4bfdd71c678edde1d /var | |
parent | 5b04146f8a3ce16240d99f588982512ff4d15dd8 (diff) | |
download | spack-4ffdde94efd70e03be685b8addad8fd60907fe0a.tar.gz spack-4ffdde94efd70e03be685b8addad8fd60907fe0a.tar.bz2 spack-4ffdde94efd70e03be685b8addad8fd60907fe0a.tar.xz spack-4ffdde94efd70e03be685b8addad8fd60907fe0a.zip |
py-hepunits: new versions 2.2.0, 2.2.1, 2.3.0, 2.3.1 (#35545)
* py-hepunits: new versions 2.2.0, 2.2.1, 2.3.0, 2.3.1
Python 2 support dropped in 2.2 series.
Ref: https://github.com/scikit-hep/hepunits/compare/v2.1.1...v2.3.1
* py-hepunits: py-hatchling as of version 2.3
* [@spackbot] updating style on behalf of wdconinc
* py-hepunits: only depends_on toml through 2.1.1
---------
Co-authored-by: wdconinc <wdconinc@users.noreply.github.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-hepunits/package.py | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-hepunits/package.py b/var/spack/repos/builtin/packages/py-hepunits/package.py index 883d31da7e..8e771898c3 100644 --- a/var/spack/repos/builtin/packages/py-hepunits/package.py +++ b/var/spack/repos/builtin/packages/py-hepunits/package.py @@ -18,11 +18,21 @@ class PyHepunits(PythonPackage): maintainers("vvolkl") version("master", branch="master") + version("2.3.1", sha256="b1174bba4d575b9939c01f341e24d9bdbe0e0cd4cc4ce2e7d77692da19145cfb") + version("2.3.0", sha256="33b9ae9a8b7b3af355141a74901cb5aa557dce2e4c9992a0a30ef0443a1b2206") + version("2.2.1", sha256="6097e69547a483bdc0cfe4d106e447b5eba87c5501060d312cd9d61aa9e22414") + version("2.2.0", sha256="e80e616fef2817f3c66c75dc0e41ed26362488cce05f94adcfdefb8e05ebcb58") + version("2.1.3", sha256="68449b0c7b7fe133023da71c3486901080966a4be6cc4ac48d7dd41d087fa130") + version("2.1.2", sha256="a77e2f28d4a54a9abae4ea1e86c565783971a0b99bc0678eab3fe47b2224d377") version("2.1.1", sha256="21b18bbf82ade5e429e2c71ec41bc5ae8005b275466bdaef0159ddc4f8085b31") version("2.1.0", sha256="9e8da814c242579ad1fde6ccff0514195c70ab6d232eab8ff0ad675239686ef6") version("1.2.1", sha256="b05b0dda32bf797806d506d7508d4eb23b78f34d67bbba9348a2b4a9712666fa") depends_on("python@2.7:2.8,3.5:", type=("build", "run")) - depends_on("py-setuptools", type="build") - depends_on("py-setuptools-scm", type="build") - depends_on("py-toml", type="build") + depends_on("python@3.6:", when="@2.2:", type=("build", "run")) + depends_on("python@3.7:", when="@2.3:", type=("build", "run")) + depends_on("py-setuptools", when="@:2.2", type="build") + depends_on("py-setuptools-scm +toml", when="@:2.2", type="build") + depends_on("py-hatchling", when="@2.3:", type="build") + depends_on("py-hatch-vcs", when="@2.3:", type="build") + depends_on("py-toml", when="@:2.1.1", type="build") |