py-h5netcdf: new package at v0.10.0 (#21947)

This commit is contained in:
Adam J. Stewart 2021-02-25 04:32:26 -06:00 committed by GitHub
parent 8ec646b6b1
commit 7a3d216318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,21 @@
# 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 PyH5netcdf(PythonPackage):
"""A Python interface for the netCDF4 file-format that reads and writes local or
remote HDF5 files directly via h5py or h5pyd, without relying on the Unidata netCDF
library."""
homepage = "https://github.com/h5netcdf/h5netcdf"
pypi = "h5netcdf/h5netcdf-0.10.0.tar.gz"
version('0.10.0', sha256='fc1cfec33bb9f730c412f87fcbc259167fd7620635679ccfc6e31971730dbd60')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-h5py', type=('build', 'run'))