summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2020-04-26 09:46:40 -0700
committerGitHub <noreply@github.com>2020-04-26 11:46:40 -0500
commitf20202387680aa00767cc76d89ee71701f7d9e44 (patch)
tree4924f486e6d01c3685bf91d6d9b0e02390dc6a2f /var
parent31e8d646afd825b07a7ec571403c2ebc588f65c1 (diff)
downloadspack-f20202387680aa00767cc76d89ee71701f7d9e44.tar.gz
spack-f20202387680aa00767cc76d89ee71701f7d9e44.tar.bz2
spack-f20202387680aa00767cc76d89ee71701f7d9e44.tar.xz
spack-f20202387680aa00767cc76d89ee71701f7d9e44.zip
py-blosc (new package) (#16307)
Add the py-blosc python package.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-blosc/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-blosc/package.py b/var/spack/repos/builtin/packages/py-blosc/package.py
new file mode 100644
index 0000000000..da185302ff
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-blosc/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2020 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 PyBlosc(PythonPackage):
+ """A Python wrapper for the extremely fast Blosc compression library"""
+
+ homepage = "http://python-blosc.blosc.org"
+ url = "https://github.com/Blosc/python-blosc/archive/v1.9.1.tar.gz"
+ git = "https://github.com/Blosc/python-blosc.git"
+
+ version('1.9.1', sha256='ffc884439a12409aa4e8945e21dc920d6bc21807357c51d24c7f0a27ae4f79b9')
+
+ depends_on('cmake@3.11.0:', type='build')
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-scikit-build', type='build')
+ # depends_on('c-blosc') # shipped internally
+ depends_on('py-numpy', type='test')
+ depends_on('py-psutil', type='test')