git: 0c1596d2b4ae - main - devel/py-xarray-simlab: New port: Xarray extension and framework for computer model simulations
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Jan 2023 09:58:59 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=0c1596d2b4aefbd178b3d6350dcde1364497895e commit 0c1596d2b4aefbd178b3d6350dcde1364497895e Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-01-09 09:36:33 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-01-09 09:58:54 +0000 devel/py-xarray-simlab: New port: Xarray extension and framework for computer model simulations --- devel/Makefile | 1 + devel/py-xarray-simlab/Makefile | 29 +++++++++++++++++++++++++++++ devel/py-xarray-simlab/distinfo | 3 +++ devel/py-xarray-simlab/pkg-descr | 7 +++++++ 4 files changed, 40 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 82434d54e653..7c4ac1a32906 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/py-xarray-simlab/Makefile b/devel/py-xarray-simlab/Makefile new file mode 100644 index 000000000000..21f6146a5353 --- /dev/null +++ b/devel/py-xarray-simlab/Makefile @@ -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> diff --git a/devel/py-xarray-simlab/distinfo b/devel/py-xarray-simlab/distinfo new file mode 100644 index 000000000000..f59a1a573b33 --- /dev/null +++ b/devel/py-xarray-simlab/distinfo @@ -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 diff --git a/devel/py-xarray-simlab/pkg-descr b/devel/py-xarray-simlab/pkg-descr new file mode 100644 index 000000000000..12f89819c58f --- /dev/null +++ b/devel/py-xarray-simlab/pkg-descr @@ -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.