blob: ccd7c9ceb21c088b1d7d06d296b9dbaf7b5d0ef6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# 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 PyNumcodecs(PythonPackage):
"""Numcodecs is a Python package providing buffer compression and
transformation codecs for use in data storage and communication
applications.
"""
homepage = "https://github.com/zarr-developers/numcodecs"
pypi = "numcodecs/numcodecs-0.6.4.tar.gz"
version('0.6.4', sha256='ef4843d5db4d074e607e9b85156835c10d006afc10e175bda62ff5412fca6e4d')
variant('msgpack', default=False, description='Codec to encode data as msgpacked bytes.')
depends_on('py-setuptools@18.0:', type='build')
depends_on('py-setuptools-scm@1.5.4:', type=('build', 'run'))
depends_on('py-numpy@1.7:', type=('build', 'run'))
depends_on('py-msgpack', type=('build', 'run'), when='+msgpack')
|