git: d3c2cd744ffd - main - devel/py-xarray: Update to 0.21.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 28 Feb 2022 12:52:13 UTC
The branch main has been updated by sunpoet:

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

commit d3c2cd744ffdbb52b55a654f8cd76252af59ab87
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-02-28 09:35:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-02-28 12:46:19 +0000

    devel/py-xarray: Update to 0.21.0
    
    Changes:        https://github.com/pydata/xarray/releases
                    https://github.com/pydata/xarray/blob/main/doc/whats-new.rst#whats-new
---
 devel/py-xarray/Makefile | 13 +++----------
 devel/py-xarray/distinfo |  6 +++---
 2 files changed, 6 insertions(+), 13 deletions(-)

diff --git a/devel/py-xarray/Makefile b/devel/py-xarray/Makefile
index fe643f8c04a3..ff5d97dff143 100644
--- a/devel/py-xarray/Makefile
+++ b/devel/py-xarray/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	xarray
-PORTVERSION=	0.20.2
+PORTVERSION=	0.21.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,16 +17,9 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.18,1:math/py-numpy@${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.7+
+USES=		python:3.8+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 30800
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7:devel/py-typing-extensions@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/py-xarray/distinfo b/devel/py-xarray/distinfo
index fc5f616a2ee1..dfe79e1f1dbb 100644
--- a/devel/py-xarray/distinfo
+++ b/devel/py-xarray/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1641045976
-SHA256 (xarray-0.20.2.tar.gz) = c2ebe80ca81b10a0241f6876dcc34ac9696e5c5cdcdf4758da7cf4bd732c41f7
-SIZE (xarray-0.20.2.tar.gz) = 2906021
+TIMESTAMP = 1643971098
+SHA256 (xarray-0.21.0.tar.gz) = 2b3e7eb612ce571e1acbb397b31dacc47ba4e62e0c81710ef453c2e6842a5f49
+SIZE (xarray-0.21.0.tar.gz) = 2937088