py-spglib: add 2.0.2 (#38715)

* py-spglib: add 2.0.2

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Remove py-setuptools as run dependency

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Manuela Kuhn 2023-07-05 22:24:31 +02:00 committed by GitHub
parent ea1439dfa1
commit f884e71a03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,13 +10,13 @@ class PySpglib(PythonPackage):
"""Python bindings for C library for finding and handling
crystal symmetries."""
homepage = "https://atztogo.github.io/spglib/"
homepage = "https://spglib.readthedocs.io/en/latest/"
pypi = "spglib/spglib-1.9.9.18.tar.gz"
git = "https://github.com/spglib/spglib.git"
version("2.0.2", sha256="1d081ec22da4ab4fc3198e9445ddad6dec2261c43927831151d93e39422610aa")
version("1.16.1", sha256="9fd2fefbd83993b135877a69c498d8ddcf20a9980562b65b800cfb4cdadad003")
version("1.9.9.18", sha256="cbbb8383320b500dc6100b83d5e914a26a97ef8fc97c82d8921b10220e4126cd")
# Most Python packages only require setuptools as a build dependency.
# However, spglib requires setuptools during runtime as well.
depends_on("py-setuptools@18.0:", type=("build", "run"))
depends_on("py-setuptools@18.0:", type="build")
depends_on("py-numpy", type=("build", "run"))