py-histoprint: add v2.5.0, v2.6.0 (switch to hatchling) (#48452)

* py-histoprint: add v2.5.0, v2.6.0 (switch to hatchling)
* py-histoprint: add tag hep
This commit is contained in:
Wouter Deconinck 2025-01-13 15:44:39 -06:00 committed by GitHub
parent 81ed0f8d87
commit 369928200a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,14 +11,23 @@ class PyHistoprint(PythonPackage):
homepage = "https://github.com/scikit-hep/histoprint"
pypi = "histoprint/histoprint-2.2.0.tar.gz"
license("MIT")
tags = ["hep"]
license("MIT", checked_by="wdconinc")
version("2.6.0", sha256="e1df729350455b457e97f20883537ae74522879e7c33c609df12f247cca4a21d")
version("2.5.0", sha256="9097e7396ab3a9a83c916f7e53c462ea46e4f645c1ad91604738f2d8383efd4f")
version("2.4.0", sha256="328f789d186e3bd76882d57b5aad3fa08c7870a856cc83bcdbad9f4aefbda94d")
version("2.2.0", sha256="ef8b65f7926aaa989f076857b76291175245dd974804b408483091d1e28b00f6")
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-setuptools@42:", type="build")
depends_on("py-setuptools-scm@3.4:+toml", type="build")
depends_on("python@3.8:", type=("build", "run"), when="@2.6:")
with when("@2.6:"):
depends_on("py-hatchling", type="build")
depends_on("py-hatch-vcs", type="build")
with when("@:2.5"):
depends_on("py-setuptools@42:", type="build")
depends_on("py-setuptools-scm@3.4:+toml", type="build")
depends_on("py-click@7.0.0:", type=("build", "run"))
depends_on("py-numpy", type=("build", "run"))
depends_on("py-uhi@0.2.1:", type=("build", "run"))