2022-01-13 03:21:41 +08:00
|
|
|
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
|
2020-04-27 00:46:40 +08:00
|
|
|
# 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('python@3.6:', type=('build', 'run'))
|
2022-01-15 02:37:57 +08:00
|
|
|
depends_on('py-setuptools', type='build')
|
2020-04-27 00:46:40 +08:00
|
|
|
depends_on('py-scikit-build', type='build')
|
2022-01-15 02:37:57 +08:00
|
|
|
depends_on('py-cmake@3.11:', type='build')
|
|
|
|
depends_on('py-ninja', type='build')
|
2020-04-27 00:46:40 +08:00
|
|
|
# depends_on('c-blosc') # shipped internally
|