devel/py-xarray-simlab: New port: Xarray extension and framework for computer model simulations

This commit is contained in:
Yuri Victorovich 2023-01-09 01:36:33 -08:00
parent 285dc3721e
commit 0c1596d2b4
4 changed files with 40 additions and 0 deletions

View File

@ -5573,6 +5573,7 @@
SUBDIR += py-wsme
SUBDIR += py-xarray
SUBDIR += py-xarray-einstats
SUBDIR += py-xarray-simlab
SUBDIR += py-xattr
SUBDIR += py-xcaplib
SUBDIR += py-xdg

View File

@ -0,0 +1,29 @@
PORTNAME= xarray-simlab
DISTVERSION= 0.5.0-5
DISTVERSIONSUFFIX= -g33a4c83
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Xarray extension and framework for computer model simulations
WWW= https://xarray-simlab.readthedocs.io/en/latest/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.8+
USE_PYTHON= distutils autoplist pytest # 1 test fails, see https://github.com/xarray-contrib/xarray-simlab/issues/192
USE_GITHUB= yes
GH_ACCOUNT= xarray-contrib
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=18.1.0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dask>0:devel/py-dask@${PY_FLAVOR} \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}xarray>=0.10.0:devel/py-xarray@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zarr>=2.3.0:devel/py-zarr@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}distributed>0:devel/py-distributed@${PY_FLAVOR} # extra dep for devel/py-dask
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1673235066
SHA256 (xarray-contrib-xarray-simlab-0.5.0-5-g33a4c83_GH0.tar.gz) = 4ad23b50942b97de70b6533d691311e5f73a1cfd80785406b1cc9f28bb1e495e
SIZE (xarray-contrib-xarray-simlab-0.5.0-5-g33a4c83_GH0.tar.gz) = 149258

View File

@ -0,0 +1,7 @@
xarray-simlab is a Python library that provides both a generic framework for
building computational models in a modular fashion and a xarray extension for
setting and running simulations using the xarray's Dataset structure. It is
designed for fast, interactive and exploratory modeling.
xarray-simlab is well integrated with other libraries of the PyData ecosystem
such as dask and zarr.