mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
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.
This commit is contained in:
parent
bc30e6a77d
commit
5c2e1ccec3
@ -4603,6 +4603,7 @@
|
||||
SUBDIR += py-cerberus
|
||||
SUBDIR += py-cereslib
|
||||
SUBDIR += py-certsrv
|
||||
SUBDIR += py-cf-xarray
|
||||
SUBDIR += py-cffi
|
||||
SUBDIR += py-cfgv
|
||||
SUBDIR += py-cfn-lint
|
||||
|
27
devel/py-cf-xarray/Makefile
Normal file
27
devel/py-cf-xarray/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
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>
|
3
devel/py-cf-xarray/distinfo
Normal file
3
devel/py-cf-xarray/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1730724820
|
||||
SHA256 (cf_xarray-0.10.0.tar.gz) = 7b45319fc315175854c9e701a84ebb795eb4b2764a2d05bd2d9d3ea87d004d18
|
||||
SIZE (cf_xarray-0.10.0.tar.gz) = 511869
|
7
devel/py-cf-xarray/pkg-descr
Normal file
7
devel/py-cf-xarray/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
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.
|
Loading…
Reference in New Issue
Block a user