git: b59c92b2de84 - main - devel/py-proxmoxer: Update to 2.2.0

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Tue, 17 Dec 2024 13:49:35 UTC
The branch main has been updated by eduardo:

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

commit b59c92b2de849111811caf8539532cf261f4ced4
Author:     Einar Bjarni Halldórsson <einar@isnic.is>
AuthorDate: 2024-12-17 13:40:48 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-12-17 13:47:55 +0000

    devel/py-proxmoxer: Update to 2.2.0
    
    - Switch to pep517 build
    - Add tests
    - Add TESTING_UNSAFE
    
    ChangeLog:      https://github.com/proxmoxer/proxmoxer/releases/tag/2.2.0
    PR:             283360
---
 devel/py-proxmoxer/Makefile | 12 ++++++++++--
 devel/py-proxmoxer/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/devel/py-proxmoxer/Makefile b/devel/py-proxmoxer/Makefile
index 62935f7d1183..46b164ef0e90 100644
--- a/devel/py-proxmoxer/Makefile
+++ b/devel/py-proxmoxer/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	proxmoxer
-PORTVERSION=	2.1.0
+PORTVERSION=	2.2.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,18 @@ WWW=		https://github.com/proxmoxer/proxmoxer
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coveralls>0:devel/py-coveralls@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}openssh-wrapper>0:security/py-openssh-wrapper@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}responses>0:devel/py-responses@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517 pytest
+
+TESTING_UNSAFE=	https://github.com/proxmoxer/proxmoxer/issues/195
 
 NO_ARCH=	yes
 
diff --git a/devel/py-proxmoxer/distinfo b/devel/py-proxmoxer/distinfo
index 222c127d0309..96f4f398cee6 100644
--- a/devel/py-proxmoxer/distinfo
+++ b/devel/py-proxmoxer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1723462101
-SHA256 (proxmoxer-2.1.0.tar.gz) = d92993782e74ed8a76ff355dc050f58aa039fa697f9349a68e643552bd0fa62e
-SIZE (proxmoxer-2.1.0.tar.gz) = 28799
+TIMESTAMP = 1734346086
+SHA256 (proxmoxer-2.2.0.tar.gz) = 3ed63a58e5c0822841afdb3801f9d913a4996955c1c54f7319b5842ba2615006
+SIZE (proxmoxer-2.2.0.tar.gz) = 29666