ports/devel/py-cf-xarray/Makefile
Po-Chuan Hsieh 5c2e1ccec3
devel/py-cf-xarray: Add py-cf-xarray 0.10.0
cf-xarray is a lightweight convenience wrapper for using CF attributes on xarray
objects.

For example you can use .cf.mean("latitude") instead of .mean("lat") if
appropriate attributes are set! This allows you to write code that does not
require knowledge of specific dimension or coordinate names particular to a
dataset.
2024-11-15 18:17:03 +08:00

27 lines
896 B
Makefile

PORTNAME= cf-xarray
PORTVERSION= 0.10.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= cf_xarray-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Convenience wrapper for using CF attributes on xarray objects
WWW= https://cf-xarray.readthedocs.io/en/latest/ \
https://github.com/xarray-contrib/cf-xarray
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xarray>=2022.03.0:devel/py-xarray@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xarray>=2022.03.0:devel/py-xarray@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.mk>