py-spython: updating to @0.3.1 (#40839)

* py-spython: updating to @0.3.1

* Adding `when=` for py-semver

---------

Co-authored-by: LMS Bioinformatics <bioinformatics@lms.mrc.ac.uk>
This commit is contained in:
George Young 2023-11-03 11:07:58 +00:00 committed by GitHub
parent a5e6097af7
commit fe0cf80e05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,7 @@ class PySpython(PythonPackage):
homepage = "https://github.com/singularityhub/singularity-cli" homepage = "https://github.com/singularityhub/singularity-cli"
pypi = "spython/spython-0.2.14.tar.gz" pypi = "spython/spython-0.2.14.tar.gz"
version("0.3.1", sha256="143557849d636697ddd80e0ba95920efe4668351f5becce6bdc73a7651aa128d")
version("0.2.14", sha256="49e22fbbdebe456b27ca17d30061489db8e0f95e62be3623267a23b85e3ce0f0") version("0.2.14", sha256="49e22fbbdebe456b27ca17d30061489db8e0f95e62be3623267a23b85e3ce0f0")
variant( variant(
@ -27,5 +28,4 @@ class PySpython(PythonPackage):
depends_on("singularity@3.5.2:", when="runtime=singularity", type="run") depends_on("singularity@3.5.2:", when="runtime=singularity", type="run")
depends_on("py-setuptools", type="build") depends_on("py-setuptools", type="build")
depends_on("py-semver@2.8.1:", when="@:0.2", type=("build", "run"))
depends_on("py-semver@2.8.1:", type=("build", "run"))