git: 290075f0eb08 - main - net/py-python-novaclient: Update to 18.5.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 14:13:53 UTC
The branch main has been updated by sunpoet:

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

commit 290075f0eb081a2379c9878d9400bd3553d07ab0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:49:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:06:12 +0000

    net/py-python-novaclient: Update to 18.5.0
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://docs.openstack.org/releasenotes/python-novaclient/
---
 net/py-python-novaclient/Makefile                   | 8 +++++---
 net/py-python-novaclient/distinfo                   | 6 +++---
 net/py-python-novaclient/files/patch-pyproject.toml | 7 +++++++
 3 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/net/py-python-novaclient/Makefile b/net/py-python-novaclient/Makefile
index 48af160fe2eb..cb6e36481769 100644
--- a/net/py-python-novaclient/Makefile
+++ b/net/py-python-novaclient/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	python-novaclient
-PORTVERSION=	18.4.0
+PORTVERSION=	18.5.0
 CATEGORIES=	net python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,9 @@ WWW=		https://docs.openstack.org/python-novaclient/latest/ \
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=5.7.0:devel/py-pbr@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.5.0:devel/py-keystoneauth1@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \
@@ -23,7 +25,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601@${PY_FLAVOR
 		${PYTHON_PKGNAMEPREFIX}stevedore>=2.0.1:devel/py-stevedore@${PY_FLAVOR}
 
 USES=		python shebangfix
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/net/py-python-novaclient/distinfo b/net/py-python-novaclient/distinfo
index c2414a13bbe0..7ea251e0d442 100644
--- a/net/py-python-novaclient/distinfo
+++ b/net/py-python-novaclient/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1693823931
-SHA256 (python-novaclient-18.4.0.tar.gz) = 6b6b6ae2c11eb1c108e3af55eaa7211b0fc9199935a229a6ba3e0de514c12b50
-SIZE (python-novaclient-18.4.0.tar.gz) = 339338
+TIMESTAMP = 1709390700
+SHA256 (python-novaclient-18.5.0.tar.gz) = e23ee440c0c8eae2b53afa881d30acaec0687fcebad246391ec29b96c543038d
+SIZE (python-novaclient-18.5.0.tar.gz) = 339744
diff --git a/net/py-python-novaclient/files/patch-pyproject.toml b/net/py-python-novaclient/files/patch-pyproject.toml
new file mode 100644
index 000000000000..de2676faa785
--- /dev/null
+++ b/net/py-python-novaclient/files/patch-pyproject.toml
@@ -0,0 +1,7 @@
+--- pyproject.toml.orig	2024-03-01 13:50:34 UTC
++++ pyproject.toml
+@@ -1,3 +1,3 @@
+ [build-system]
+-requires = ["pbr>=5.7.0", "setuptools>=64.0.0", "wheel"]
++requires = ["pbr>=5.7.0", "setuptools>=61.0.0", "wheel"]
+ build-backend = "pbr.build"