git: b7e65e7b6fde - main - sysutils/py-hcloud: update to 1.22.0

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Sat, 24 Jun 2023 12:53:14 UTC
The branch main has been updated by matthew:

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

commit b7e65e7b6fde2357d461589c8a316305a9377ce9
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2023-06-20 20:42:35 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2023-06-24 12:51:42 +0000

    sysutils/py-hcloud: update to 1.22.0
    
    Switch to pep517 build
    
    Changes:        https://github.com/hetznercloud/hcloud-python/releases/tag/v1.22.0
    Changes:        https://github.com/hetznercloud/hcloud-python/releases/tag/v1.21.0
    Reported by:    repology, portscout
---
 sysutils/py-hcloud/Makefile | 15 ++++++++++-----
 sysutils/py-hcloud/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/sysutils/py-hcloud/Makefile b/sysutils/py-hcloud/Makefile
index cee09a89fd21..06aeaa9614d0 100644
--- a/sysutils/py-hcloud/Makefile
+++ b/sysutils/py-hcloud/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	hcloud
-DISTVERSION=	1.20.0
+DISTVERSION=	1.22.0
 CATEGORIES=	sysutils python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,17 +11,22 @@ WWW=		https://hcloud-python.readthedocs.io/en/latest/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dateutil>=2.7.5,<3:devel/py-dateutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.20,<3:www/py-requests@${PY_FLAVOR}
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flake8>=3.6.0:devel/py-flake8@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}isort>=4.3.4:devel/py-isort@${PY_FLAVOR} \
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pre-commit>=0:devel/py-pre-commit@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyupgrade>=3.6.0:devel/py-pyupgrade@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}flake8>=6.0.0:devel/py-flake8@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}isort>=5.12.0:devel/py-isort@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mock>=2.0.0:devel/py-mock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tox>=3.23.1:devel/py-tox@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}black>=22.3.0:devel/py-black@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}black>=23.3.0:devel/py-black@${PY_FLAVOR}
 
 NO_ARCH=	yes
 USES=		python:3.7+
-USE_PYTHON=	autoplist concurrent distutils pytest
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 .include <bsd.port.mk>
diff --git a/sysutils/py-hcloud/distinfo b/sysutils/py-hcloud/distinfo
index 404468a90124..d0e086e970d1 100644
--- a/sysutils/py-hcloud/distinfo
+++ b/sysutils/py-hcloud/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1683906601
-SHA256 (hcloud-1.20.0.tar.gz) = b389770d974a7f20b512edcfc0b40742975c230e32bc4511c518e0c4995a5ec8
-SIZE (hcloud-1.20.0.tar.gz) = 99875
+TIMESTAMP = 1687607933
+SHA256 (hcloud-1.22.0.tar.gz) = f45edb82454bd6113d61e2fc2713801cd2768b0e9ecbb50139053de433c3222b
+SIZE (hcloud-1.22.0.tar.gz) = 103419