git: 71fc7264f3a8 - main - devel/py-xarray: Update to 2023.11.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 27 Nov 2023 10:36:37 UTC
The branch main has been updated by sunpoet:

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

commit 71fc7264f3a8b5fb697a0fedbda1faabbf5be167
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-27 10:02:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-27 10:28:20 +0000

    devel/py-xarray: Update to 2023.11.0
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/pydata/xarray/releases
---
 devel/py-xarray/Makefile                   |  8 +++++---
 devel/py-xarray/distinfo                   |  6 +++---
 devel/py-xarray/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/devel/py-xarray/Makefile b/devel/py-xarray/Makefile
index 72ea910826e3..b4288e2a9e4d 100644
--- a/devel/py-xarray/Makefile
+++ b/devel/py-xarray/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	xarray
-PORTVERSION=	2023.10.1
+PORTVERSION=	2023.11.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,9 @@ WWW=		https://xarray.dev/ \
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.22,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pandas>=1.4,1:math/py-pandas@${PY_FLAVOR}
@@ -29,7 +31,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cartopy>=0:graphics/py-cartopy@${PY_FLAVOR}
 		${PYTHON_PKGNAMEPREFIX}zarr>=0:devel/py-zarr@${PY_FLAVOR}
 
 USES=		python:3.9+
-USE_PYTHON=	autoplist concurrent distutils pytest
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
diff --git a/devel/py-xarray/distinfo b/devel/py-xarray/distinfo
index fee1fd091345..f8eae34991f7 100644
--- a/devel/py-xarray/distinfo
+++ b/devel/py-xarray/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1698341049
-SHA256 (xarray-2023.10.1.tar.gz) = 9eeee170c3fc2f3321eb6ba40c17ffe4d8c98d49d55e4a3fba66a75bdc7dd9e5
-SIZE (xarray-2023.10.1.tar.gz) = 3796343
+TIMESTAMP = 1700759842
+SHA256 (xarray-2023.11.0.tar.gz) = 9a45e10741844b5f948d8e1e768b460df7e90696d18e2eff2c1d47f5d9d50252
+SIZE (xarray-2023.11.0.tar.gz) = 3800529
diff --git a/devel/py-xarray/files/patch-pyproject.toml b/devel/py-xarray/files/patch-pyproject.toml
new file mode 100644
index 000000000000..c1c17fb35e34
--- /dev/null
+++ b/devel/py-xarray/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2023-11-17 21:39:20 UTC
++++ pyproject.toml
+@@ -48,7 +48,7 @@ viz = ["matplotlib", "seaborn", "nc-time-axis"]
+ build-backend = "setuptools.build_meta"
+ requires = [
+   "setuptools>=42",
+-  "setuptools-scm>=7",
++  "setuptools-scm>=6",
+ ]
+ 
+ [tool.setuptools]