git: 8f0f5b7ca157 - main - filesystems/py-kerchunk: Add CFTIME, FITS, GRIB2, HDF and NETCDF3 options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Jun 2025 16:26:57 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8f0f5b7ca157cd67381e55a902b1fbfff4620f98
commit 8f0f5b7ca157cd67381e55a902b1fbfff4620f98
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-01 16:13:18 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-01 16:23:30 +0000
filesystems/py-kerchunk: Add CFTIME, FITS, GRIB2, HDF and NETCDF3 options
---
filesystems/py-kerchunk/Makefile | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/filesystems/py-kerchunk/Makefile b/filesystems/py-kerchunk/Makefile
index 4fef8b7643e6..4feaee6115a7 100644
--- a/filesystems/py-kerchunk/Makefile
+++ b/filesystems/py-kerchunk/Makefile
@@ -26,4 +26,18 @@ USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
+OPTIONS_DEFINE= CFTIME FITS GRIB2 HDF NETCDF3
+CFTIME_DESC= Time handling support
+FITS_DESC= FITS file format support
+GRIB2_DESC= GRIB2 file format support
+HDF_DESC= HDF file format support
+NETCDF3_DESC= netCDF 4 file format support
+
+CFTIME_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cftime>=0:devel/py-cftime@${PY_FLAVOR}
+FITS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xarray>=0:devel/py-xarray@${PY_FLAVOR}
+GRIB2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cfgrib>=0:science/py-cfgrib@${PY_FLAVOR}
+HDF_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h5py>=0:science/py-h5py@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}xarray>=0:devel/py-xarray@${PY_FLAVOR}
+NETCDF3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0,1:science/py-scipy@${PY_FLAVOR}
+
.include <bsd.port.mk>