summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-histbook/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-histbook/package.py b/var/spack/repos/builtin/packages/py-histbook/package.py
new file mode 100644
index 0000000000..acd3c5a78e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-histbook/package.py
@@ -0,0 +1,18 @@
+# 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 PyHistbook(PythonPackage):
+ """Versatile, high-performance histogram toolkit for Numpy."""
+
+ homepage = "https://github.com/scikit-hep/histbook"
+ pypi = "histbook/histbook-1.2.5.tar.gz"
+
+ version('1.2.5', sha256='76d1f143f8abccf5539029fbef8133db84f377fc7752ac9e7e6d19ac9a277967')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy@1.8.0:', type=('build', 'run'))