Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Nov 2021 19:17:29 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3e692c4f8768 - main - devel/py-xarray: Update to 0.20.0
Message-ID:  <202111051917.1A5JHTsD088261@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 3e692c4f8768932b54b887aa6656f34a0135367c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-11-05 19:03:13 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-11-05 19:14:13 +0000

    devel/py-xarray: Update to 0.20.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 | 15 +++++++++++----
 devel/py-xarray/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/devel/py-xarray/Makefile b/devel/py-xarray/Makefile
index 813a13351fbf..e18333af7950 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.19.0
+PORTVERSION=	0.20.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +13,8 @@ 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.17,1:math/py-numpy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pandas>=1.0,1:math/py-pandas@${PY_FLAVOR}
+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+
@@ -22,4 +22,11 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.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>
diff --git a/devel/py-xarray/distinfo b/devel/py-xarray/distinfo
index cf98a561fa1c..239e81d361a7 100644
--- a/devel/py-xarray/distinfo
+++ b/devel/py-xarray/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1635730987
-SHA256 (xarray-0.19.0.tar.gz) = 3a365ce09127fc841ba88baa63f37ca61376ffe389a6c5e66d52f2c88c23a62b
-SIZE (xarray-0.19.0.tar.gz) = 2882403
+TIMESTAMP = 1636117278
+SHA256 (xarray-0.20.0.tar.gz) = 8ea93274868f78c46332fc3b75f4628f6d99e59a0315e294a99397ad1eb777a5
+SIZE (xarray-0.20.0.tar.gz) = 2896515



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111051917.1A5JHTsD088261>