Add checksum for py-setuptools-rust 1.2.0 and 1.4.1 (#32009)

* Add checksum for py-setuptools-rust 1.2.0 and 1.4.1

* Update var/spack/repos/builtin/packages/py-setuptools-rust/package.py

Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>

* Update package.py

Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
This commit is contained in:
iarspider 2022-08-10 00:53:57 +02:00 committed by GitHub
parent 6a30a5c8d7
commit ddb83ed776
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,8 @@ class PySetuptoolsRust(PythonPackage):
homepage = "https://github.com/PyO3/setuptools-rust"
pypi = "setuptools-rust/setuptools-rust-0.12.1.tar.gz"
version("1.4.1", sha256="18ff850831f58ee21d5783825c99fad632da21e47645e9427fd7dec048029e76")
version("1.2.0", sha256="0a4ada479e8c7e3d8bd7cb56e1a29acc2b2bb98c2325051b0cdcb57d7f056de8")
version("0.12.1", sha256="647009e924f0ae439c7f3e0141a184a69ad247ecb9044c511dabde232d3d570e")
# Version 0.10.6 is not available on pypi and can only be found on github
@ -22,10 +24,15 @@ class PySetuptoolsRust(PythonPackage):
deprecated=True,
)
depends_on("python@3.7:", when="@1.2.0:", type=("build", "run"))
depends_on("python@3.6:", when="@0.12:", type=("build", "run"))
depends_on("py-setuptools@62.4:", when="@1.4.0:", type=("build", "run"))
depends_on("py-setuptools@46.1:", when="@0.11.6:", type=("build", "run"))
depends_on("py-setuptools", type=("build", "run"))
depends_on("py-setuptools-scm+toml@6.3.2:", when="@1.2.0:", type="build")
depends_on("py-setuptools-scm+toml@3.4.3:", when="@0.11:", type="build")
depends_on("py-semantic-version@2.8.2:2", when="@1.2.0:", type=("build", "run"))
depends_on("py-semantic-version@2.6.0:", type=("build", "run"))
depends_on("py-toml@0.9.0:", type=("build", "run"))
depends_on("py-typing-extensions@3.7.4.3:", when="@1.2.0:", type=("build", "run"))
depends_on("py-toml@0.9.0:", type=("build", "run"), when="@0.12.1")
depends_on("rust", type="run")