git: fbe5eaca7deb - main - net/py-ripe.atlas.cousteau: Update to 2.0.0

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Tue, 07 May 2024 11:27:47 UTC
The branch main has been updated by eduardo:

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

commit fbe5eaca7deb57b26bf1be88bc39ec9d2cfd7216
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-05-07 11:19:55 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-05-07 11:21:28 +0000

    net/py-ripe.atlas.cousteau: Update to 2.0.0
    
    - Switch to DISTVERSION
    - Use pep517 build
    - Add pytest tests
    - Take maintainership for the time being
    
    ChangeLog:
    https://github.com/RIPE-NCC/ripe-atlas-cousteau/releases/tag/v2.0.0
    
    PR:             277934
    Reported by:    Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
---
 net/py-ripe.atlas.cousteau/Makefile | 17 ++++++++++-------
 net/py-ripe.atlas.cousteau/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/net/py-ripe.atlas.cousteau/Makefile b/net/py-ripe.atlas.cousteau/Makefile
index 6e6da608c479..344b75dac643 100644
--- a/net/py-ripe.atlas.cousteau/Makefile
+++ b/net/py-ripe.atlas.cousteau/Makefile
@@ -1,24 +1,27 @@
 PORTNAME=	ripe.atlas.cousteau
-DISTVERSION=	1.4.2
-PORTREVISION=	1
+DISTVERSION=	2.0.0
 CATEGORIES=	net python
 MASTER_SITES=	PYPI
-PKGNAMEPREFIX=${PYTHON_PKGNAMEPREFIX}
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Python wrapper around the RIPE Atlas API
 WWW=		https://github.com/RIPE-NCC/ripe-atlas-cousteau
 
 LICENSE=	GPLv3
 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}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}socketio-client>=0.6.5:net/py-socketio-client@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.7.0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}socketio-client>=0.6.5:net/py-socketio-client@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}websocket-client>0:www/py-websocket-client@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR}
 
-NO_ARCH=	yes
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist pep517 pytest
+
+NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/net/py-ripe.atlas.cousteau/distinfo b/net/py-ripe.atlas.cousteau/distinfo
index 0a62e12a43bc..7586c8f6a230 100644
--- a/net/py-ripe.atlas.cousteau/distinfo
+++ b/net/py-ripe.atlas.cousteau/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1522778881
-SHA256 (ripe.atlas.cousteau-1.4.2.tar.gz) = 10b930ff67c9744f6ee275e07a441a8fba1911f251e92c0ca511b8c082a3fcd5
-SIZE (ripe.atlas.cousteau-1.4.2.tar.gz) = 48655
+TIMESTAMP = 1715076786
+SHA256 (ripe.atlas.cousteau-2.0.0.tar.gz) = c332068af1d27467014c057718fe8cf7ab3db863f33d6bdab52efba01b73beb9
+SIZE (ripe.atlas.cousteau-2.0.0.tar.gz) = 47569