drishti: add v0.5, v0.6 (#39262)

* include new versions, update dependencies, add test
* Update package.py
* requested changes
* link dependency
* include commit
* fix style
This commit is contained in:
Jean Luca Bez 2025-01-14 07:48:35 -08:00 committed by GitHub
parent 217774c972
commit 4c642df5ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ class Drishti(PythonPackage):
homepage = "https://github.com/hpc-io/drishti-io"
git = "https://github.com/hpc-io/drishti-io"
pypi = "drishti-io/drishti-io-0.4.tar.gz"
pypi = "drishti-io/drishti-io-0.6.tar.gz"
maintainers("jeanbez", "sbyna")
@ -21,13 +21,19 @@ class Drishti(PythonPackage):
version("master", branch="master")
version("0.6", sha256="f1883e48de4a863f284f9c54febd2b04d04456848aea3e34c355310a3336e3b8")
version("0.5", sha256="08ae82dfa82872cde1f0a219e979b9c10d6c4a01f762066ea864a400cc144d78")
version("0.4", sha256="bbbb272b4f6f44ae762f6cba28a2c589e15608691c559af0cc2f552590335d7b")
# NOTE: py-darshan requires libdarshan-util.so to be loaded in the path
depends_on("c", type="build") # generated
depends_on("darshan-util", type=("run", "test", "link"))
depends_on("darshan-util", type=("run"))
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-pandas", type=("build", "run"))
depends_on("py-rich@12.5.1", type=("build", "run"))
depends_on("py-darshan", type=("build", "run"))
def test_help(self):
"""Run drishti help."""
drishti = which(self.prefix.bin.drishti)
drishti("-h")