summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-uhi/package.py
blob: dc8fb7bb3b6ae67866bef9b3dde093f5d455bac0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2021 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 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"

    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-poetry-core@1:', type='build')