science/py-h5netcdf: New port: netCDF4 via h5py

This commit is contained in:
Yuri Victorovich 2025-03-08 02:55:13 -08:00
parent ffe7a67ea2
commit 6913450629
4 changed files with 35 additions and 0 deletions

View file

@ -349,6 +349,7 @@
SUBDIR += py-gpaw
SUBDIR += py-gsd
SUBDIR += py-h5json
SUBDIR += py-h5netcdf
SUBDIR += py-h5py
SUBDIR += py-h5pyd
SUBDIR += py-hiphive

View file

@ -0,0 +1,28 @@
PORTNAME= h5netcdf
DISTVERSION= 1.6.1
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= netCDF4 via h5py
WWW= https://h5netcdf.org \
https://github.com/h5netcdf/h5netcdf
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}
USES= python shebangfix
USE_PYTHON= pep517 concurrent autoplist pytest
NO_ARCH= yes
# tests as of 1.6.1: 101 passed, 54 skipped in 7.45s
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1741431003
SHA256 (h5netcdf-1.6.1.tar.gz) = 7ef4ecd811374d94d29ac5e7f7db71ff59b55ef8eeefbe4ccc2c316853d31894
SIZE (h5netcdf-1.6.1.tar.gz) = 64456

View file

@ -0,0 +1,3 @@
h5netcdf is an open source project and Python package that provides an 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.