git: 5d898ac76b3b - main - devel/py-xarray-einstats: New port: Stats, linear algebra and einops for xarray
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Aug 2022 01:33:48 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=5d898ac76b3b2dd8aa2620f14c92c23b707f0fcf commit 5d898ac76b3b2dd8aa2620f14c92c23b707f0fcf Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-08-05 01:32:31 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-08-05 01:33:45 +0000 devel/py-xarray-einstats: New port: Stats, linear algebra and einops for xarray --- devel/Makefile | 1 + devel/py-xarray-einstats/Makefile | 36 ++++++++++++++++++++++++++++++++++++ devel/py-xarray-einstats/distinfo | 3 +++ devel/py-xarray-einstats/pkg-descr | 3 +++ 4 files changed, 43 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4404e8753169..421909a22583 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5449,6 +5449,7 @@ SUBDIR += py-wsgiutils SUBDIR += py-wsme SUBDIR += py-xarray + SUBDIR += py-xarray-einstats SUBDIR += py-xattr SUBDIR += py-xcaplib SUBDIR += py-xdg diff --git a/devel/py-xarray-einstats/Makefile b/devel/py-xarray-einstats/Makefile new file mode 100644 index 000000000000..135d4438a12c --- /dev/null +++ b/devel/py-xarray-einstats/Makefile @@ -0,0 +1,36 @@ +PORTNAME= xarray-einstats +DISTVERSIONPREFIX= v +DISTVERSION= 0.3.0-4 +DISTVERSIONSUFFIX= -g029341d +CATEGORIES= devel python +#MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Stats, linear algebra and einops for xarray + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.18,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>=1.1,1:math/py-pandas@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} + +USES= python:3.8+ +USE_PYTHON= distutils concurrent autoplist pytest + +USE_GITHUB= yes +GH_ACCOUNT= arviz-devs + +TEST_WRKSRC= ${WRKSRC}/src/xarray_einstats # tests are broken, see https://github.com/arviz-devs/xarray-einstats/issues/27 +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +# Upstream stopped providing setup.py +post-patch: + @${ECHO_CMD} 'import setuptools; setuptools.setup()' > ${WRKSRC}/setup.py + +.include <bsd.port.mk> diff --git a/devel/py-xarray-einstats/distinfo b/devel/py-xarray-einstats/distinfo new file mode 100644 index 000000000000..c335e10dd84c --- /dev/null +++ b/devel/py-xarray-einstats/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659661394 +SHA256 (arviz-devs-xarray-einstats-v0.3.0-4-g029341d_GH0.tar.gz) = 33c9fc2f28d679acb41e6458185f417727189fb33b756b3c17307cecffe277c3 +SIZE (arviz-devs-xarray-einstats-v0.3.0-4-g029341d_GH0.tar.gz) = 329422 diff --git a/devel/py-xarray-einstats/pkg-descr b/devel/py-xarray-einstats/pkg-descr new file mode 100644 index 000000000000..8a9b7fdeca06 --- /dev/null +++ b/devel/py-xarray-einstats/pkg-descr @@ -0,0 +1,3 @@ +Stats, linear algebra and einops for xarray. + +WWW: https://github.com/arviz-devs/xarray-einstats