git: 1512e7f16839 - main - devel/py-xarray-einstats: update 0.6.0 → 0.7.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 18 Jan 2024 05:55:28 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1512e7f16839dcc20b461416e663fddd49f691c4

commit 1512e7f16839dcc20b461416e663fddd49f691c4
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-01-18 05:27:24 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-01-18 05:27:24 +0000

    devel/py-xarray-einstats: update 0.6.0 → 0.7.0
    
    Reported by:    portscout
---
 devel/py-xarray-einstats/Makefile | 17 ++++++++---------
 devel/py-xarray-einstats/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/devel/py-xarray-einstats/Makefile b/devel/py-xarray-einstats/Makefile
index 3228650ec9bf..0c9806676e79 100644
--- a/devel/py-xarray-einstats/Makefile
+++ b/devel/py-xarray-einstats/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xarray-einstats
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.6.0
+DISTVERSION=	0.7.0
 CATEGORIES=	devel python
 #MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,16 +12,19 @@ WWW=		https://github.com/arviz-devs/xarray-einstats
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}einops>0:misc/py-einops@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR} \
 		${PYNUMPY} \
-		${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}scipy>=1.7:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.8:science/py-scipy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}xarray>=2022.09.0:devel/py-xarray@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
 
 USES=		python
-USE_PYTHON=	distutils concurrent autoplist pytest
+USE_PYTHON=	pep517 concurrent autoplist pytest
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	arviz-devs
@@ -31,8 +34,4 @@ 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
index 75f26137688e..0cf9d4981c2e 100644
--- a/devel/py-xarray-einstats/distinfo
+++ b/devel/py-xarray-einstats/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1689055583
-SHA256 (arviz-devs-xarray-einstats-v0.6.0_GH0.tar.gz) = ace69e671816fbf54ee9c91b3d3dc5338b4378dfdf0d8c803770dd4e12125950
-SIZE (arviz-devs-xarray-einstats-v0.6.0_GH0.tar.gz) = 1910141
+TIMESTAMP = 1705552414
+SHA256 (arviz-devs-xarray-einstats-v0.7.0_GH0.tar.gz) = 1629ebf2972ad6e2a9d308221b893c4cd7c54fd0cc6bd10a9331022b5732c51c
+SIZE (arviz-devs-xarray-einstats-v0.7.0_GH0.tar.gz) = 1910380