diff options
author | Jen Herting <jen@herting.cc> | 2022-08-17 13:19:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-17 10:19:19 -0700 |
commit | 30585890a8b7fb3f458f2ff07ffab393e76be8a9 (patch) | |
tree | 913d31883a0b534b6a993ebc218a7db85a8f6f7d | |
parent | 80afc1a5a8653e249e71c9ce1341cbaf3ad0cd77 (diff) | |
download | spack-30585890a8b7fb3f458f2ff07ffab393e76be8a9.tar.gz spack-30585890a8b7fb3f458f2ff07ffab393e76be8a9.tar.bz2 spack-30585890a8b7fb3f458f2ff07ffab393e76be8a9.tar.xz spack-30585890a8b7fb3f458f2ff07ffab393e76be8a9.zip |
New package: py-bitshuffle (#31876)
* [py-bitshuffle] New package
* [py-bitshuffle] compiling against spack hdf5
* [py-bitshuffle] flake8
* [py-bitshuffle] update import ine
* [@spackbot] updating style on behalf of qwertos
Co-authored-by: James A Zilberman <jazrc@rit.edu>
Co-authored-by: qwertos <qwertos@users.noreply.github.com>
-rw-r--r-- | var/spack/repos/builtin/packages/py-bitshuffle/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-bitshuffle/package.py b/var/spack/repos/builtin/packages/py-bitshuffle/package.py new file mode 100644 index 0000000000..8dea3ace5a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-bitshuffle/package.py @@ -0,0 +1,26 @@ +# 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 PyBitshuffle(PythonPackage): + """Filter for improving compression of typed binary data.""" + + homepage = "https://github.com/kiyo-masui/bitshuffle" + pypi = "bitshuffle/bitshuffle-0.4.2.tar.gz" + + version("0.4.2", sha256="df7d7dc0add8a37f0c5f4704475db60a3c843171a49aa4e3301d1d7e827b2536") + + depends_on("py-cython@0.19:", type="build") + depends_on("py-setuptools@0.7:", type="build") + depends_on("py-numpy@1.6.1:", type=("build", "run")) + depends_on("py-h5py@2.4.0:", type=("build", "run")) + # setup.py:220 + depends_on("hdf5@1.8.11:~mpi") + + def setup_build_environment(self, env): + env.set("HDF5_DIR", self.spec["hdf5"].prefix) |