summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-uhi/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-uhi/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-uhi/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-uhi/package.py b/var/spack/repos/builtin/packages/py-uhi/package.py
new file mode 100644
index 0000000000..f79e9ab1e4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-uhi/package.py
@@ -0,0 +1,22 @@
+# 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-setuptools', type='build')
+ # depends_on('py-poetry-core@1:', type='build') -- WIP