git: f41c8d6955ad - main - net/py-ripe.atlas.sagan: Update to 1.3.1

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

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

commit f41c8d6955ade7a6cf29c2b0253fd3eecf99ab54
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-05-07 11:22:27 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-05-07 11:22:27 +0000

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

diff --git a/net/py-ripe.atlas.sagan/Makefile b/net/py-ripe.atlas.sagan/Makefile
index 882d54788578..66ec7251565f 100644
--- a/net/py-ripe.atlas.sagan/Makefile
+++ b/net/py-ripe.atlas.sagan/Makefile
@@ -1,22 +1,27 @@
 PORTNAME=	ripe.atlas.sagan
-PORTVERSION=	1.3.0
-PORTREVISION=	1
+DISTVERSION=	1.3.1
 CATEGORIES=	net python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Parsing library for RIPE Atlas measurement results
 WWW=		https://github.com/RIPE-NCC/ripe.atlas.sagan
 
 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}pytz>=0:devel/py-pytz@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent cryptography distutils
+USE_PYTHON=	autoplist concurrent cryptography pep517 pytest
+PYTEST_IGNORED_TESTS=	test_invalid_country_code #WIP
+
+TEST_ARGS=	tests/*.py
+
 NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/net/py-ripe.atlas.sagan/distinfo b/net/py-ripe.atlas.sagan/distinfo
index 806412b203b9..b891efb51b67 100644
--- a/net/py-ripe.atlas.sagan/distinfo
+++ b/net/py-ripe.atlas.sagan/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1569965868
-SHA256 (ripe.atlas.sagan-1.3.0.tar.gz) = 0a1d7548032a7521fcde6db6a766a5e01b06968d21691f9c89076561b8416222
-SIZE (ripe.atlas.sagan-1.3.0.tar.gz) = 107382
+TIMESTAMP = 1715080656
+SHA256 (ripe.atlas.sagan-1.3.1.tar.gz) = df0a5b7ceb4a2503f4e460b8e5d9bfd6cd94bcf5e70c0145479e87b78c430172
+SIZE (ripe.atlas.sagan-1.3.1.tar.gz) = 110352