summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-histoprint/package.py
blob: 288caf16eb6d56338af12a48d88041a73bb86d03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2022 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 PyHistoprint(PythonPackage):
    """Pretty print of NumPy (and other) histograms to the console"""

    homepage = "https://github.com/scikit-hep/histoprint"
    pypi     = "histoprint/histoprint-2.2.0.tar.gz"

    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('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'))