From b8b9a798bf3e0c4b4478b1b3545479f210f50be6 Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Fri, 9 Jun 2023 01:03:05 +0200 Subject: [PATCH] py-looseversion: add 1.2.0 (#38190) --- var/spack/repos/builtin/packages/py-looseversion/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/py-looseversion/package.py b/var/spack/repos/builtin/packages/py-looseversion/package.py index 9868168bf2..6dcce6e39b 100644 --- a/var/spack/repos/builtin/packages/py-looseversion/package.py +++ b/var/spack/repos/builtin/packages/py-looseversion/package.py @@ -12,6 +12,8 @@ class PyLooseversion(PythonPackage): homepage = "https://github.com/effigies/looseversion" pypi = "looseversion/looseversion-1.0.2.tar.gz" + version("1.2.0", sha256="c64e71c0b29030683b4ea75aee431db2d25c4e6e533590e52129f1d9e51de204") version("1.0.2", sha256="8b9f2e649eb81620c4527ba33ba87505eb69d4bb3f66523b34182a0450c294bc") - depends_on("py-setuptools@40.8:", type="build") + depends_on("py-hatchling", when="@1.1.1:", type="build") + depends_on("py-setuptools@40.8:", when="@:1.0.2", type="build")