aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-xarray-einstats/Makefile36
-rw-r--r--devel/py-xarray-einstats/distinfo3
-rw-r--r--devel/py-xarray-einstats/pkg-descr3
4 files changed, 43 insertions, 0 deletions
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