summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2020-01-02 11:07:48 -0800
committerAdam J. Stewart <ajstewart426@gmail.com>2020-01-02 13:07:48 -0600
commit456aae2627fe07ac3046920077c4386ba9488f6f (patch)
treee49abb7d74942e067a7aee6741fd96950be98131
parent3f190a432e41edc2bc33027b63e7b345898dacb9 (diff)
downloadspack-456aae2627fe07ac3046920077c4386ba9488f6f.tar.gz
spack-456aae2627fe07ac3046920077c4386ba9488f6f.tar.bz2
spack-456aae2627fe07ac3046920077c4386ba9488f6f.tar.xz
spack-456aae2627fe07ac3046920077c4386ba9488f6f.zip
new package: py-zarr (#14326)
* create package py-zarr * specify setuptools versions * add more dependencies, improve style * Update var/spack/repos/builtin/packages/py-zarr/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-zarr/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-zarr/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * add dependencies, remove python version constraint * remove windows specific dependency Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-zarr/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-zarr/package.py b/var/spack/repos/builtin/packages/py-zarr/package.py
new file mode 100644
index 0000000000..0e1dbbeaae
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-zarr/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2019 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 PyZarr(PythonPackage):
+ """Zarr is a Python package providing an implementation of chunked,
+ compressed, N-dimensional arrays."""
+
+ homepage = "https://zarr.readthedocs.io"
+ url = "https://pypi.io/packages/source/z/zarr/zarr-2.3.2.tar.gz"
+
+ version('2.3.2', sha256='c62d0158fb287151c978904935a177b3d2d318dea3057cfbeac8541915dfa105')
+
+ depends_on('py-asciitree', type=('build', 'run'))
+ depends_on('py-fasteners', type=('build', 'run'))
+ depends_on('py-msgpack', type=('build', 'run'))
+ depends_on('py-setuptools@18.1:', type='build')
+ depends_on('py-setuptools-scm@1.5.5:', type='build')
+ depends_on('py-numcodecs@0.6.2:', type=('build', 'run'))
+ depends_on('py-numpy@1.7:', type=('build', 'run'))
+ depends_on('py-scandir', type=('build', 'run'), when='^python@:3.4')