summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2021-12-08 19:19:06 +0100
committerGitHub <noreply@github.com>2021-12-08 18:19:06 +0000
commita873c7f456ae8f28275e2b89117c72a7a1d46c03 (patch)
treed2a50d14da070083af57a3359e2684235acc6abd
parent5881ec53897b762831d7ba35fd97c1ecaef4f3ad (diff)
downloadspack-a873c7f456ae8f28275e2b89117c72a7a1d46c03.tar.gz
spack-a873c7f456ae8f28275e2b89117c72a7a1d46c03.tar.bz2
spack-a873c7f456ae8f28275e2b89117c72a7a1d46c03.tar.xz
spack-a873c7f456ae8f28275e2b89117c72a7a1d46c03.zip
New package: py-boost-histogram (#27853)
* New package: py-boost-histogram * Update var/spack/repos/builtin/packages/py-boost-histogram/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-boost-histogram/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-boost-histogram/package.py b/var/spack/repos/builtin/packages/py-boost-histogram/package.py
new file mode 100644
index 0000000000..8cf2f255ab
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-boost-histogram/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 PyBoostHistogram(PythonPackage):
+ """The Boost::Histogram Python wrapper."""
+
+ homepage = "https://github.com/scikit-hep/boost-histogram"
+ pypi = "boost_histogram/boost_histogram-1.2.1.tar.gz"
+
+ version('1.2.1', sha256='a27842b2f1cfecc509382da2b25b03056354696482b38ec3c0220af0fc9b7579')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools@45:', type='build')
+ depends_on('py-setuptools-scm@4.1.2:+toml', type='build')
+ depends_on('py-numpy@1.13.3:', type=('build', 'run'))
+ depends_on('py-dataclasses', type=('build', 'run'), when='^python@:3.6')
+ depends_on('py-typing-extensions', type=('build', 'run'), when='^python@:3.7')