summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-uhi/package.py
blob: ced9b7d3a8d01f4945b508b6efe04ecb3c5ece21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class PyUhi(PythonPackage):
    """Unified Histogram Interface:
    tools to help library authors work with histograms"""

    homepage = "https://github.com/Scikit-HEP/uhi"
    pypi = "uhi/uhi-0.3.0.tar.gz"

    license("BSD-3-Clause")

    version("0.3.3", sha256="800caf3a5f1273b08bcc3bb4b49228fe003942e23423812b0110546aad9a24be")
    version("0.3.2", sha256="fd6ed2ae8ce68ba6be37b872de86e7775b45d54f858768c8fdaba162b6452ab2")
    version("0.3.1", sha256="6f1ebcadd1d0628337a30b012184325618047abc01c3539538b1655c69101d91")
    version("0.3.0", sha256="3f441bfa89fae11aa762ae1ef1b1b454362d228e9084477773ffb82d6e9f5d2c")

    depends_on("python@3.6:", type=("build", "run"))
    depends_on("py-numpy@1.13.3:", type=("build", "run"))
    depends_on("py-typing-extensions@3.7:", type=("build", "run"), when="^python@:3.7")
    depends_on("py-hatchling", when="@0.3.2:", type="build")
    depends_on("py-hatch-vcs", when="@0.3.3:", type="build")
    depends_on("py-flit-core@3.2:", when="@0.3.1", type="build")
    depends_on("py-poetry-core@1:", when="@:0.3.0", type="build")