git: 044067071419 - main - devel/py-pyasn1-modules: update to 0.3.0

From: Ruslan Makhmatkhanov <rm_at_FreeBSD.org>
Date: Wed, 19 Jul 2023 08:58:46 UTC
The branch main has been updated by rm:

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

commit 044067071419bcc335943efd0e5aed1be7174ba0
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2023-07-19 08:55:34 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2023-07-19 08:55:34 +0000

    devel/py-pyasn1-modules: update to 0.3.0
    
    - update to 0.3.0
    - switch to pep517
    - update homepage link
    
    Original author of pysnmp1 Ilya Etingof has passed away:
    https://github.com/etingof/pyasn1-modules/issues/154
    
    and all pysnmp related project were moved community-driven one.
    
    PR:             272561
    Reported by:    Alastair Hogge <agh@riseup.net>
---
 devel/py-pyasn1-modules/Makefile | 9 ++++++---
 devel/py-pyasn1-modules/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/devel/py-pyasn1-modules/Makefile b/devel/py-pyasn1-modules/Makefile
index 7e04c8d17d94..2b26b553ee49 100644
--- a/devel/py-pyasn1-modules/Makefile
+++ b/devel/py-pyasn1-modules/Makefile
@@ -1,22 +1,25 @@
 PORTNAME=	pyasn1-modules
-DISTVERSION=	0.2.8
+DISTVERSION=	0.3.0
+DISTNAME=	${PORTNAME:S/-/_/}-${DISTVERSION}
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	rm@FreeBSD.org
 COMMENT=	Collection of ASN.1 data structures for py-pyasn1
-WWW=		https://github.com/etingof/pyasn1-modules
+WWW=		https://github.com/pyasn1/pyasn1-modules
 
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyasn1>=0.4.1:devel/py-pyasn1@${PY_FLAVOR}
 
 NO_ARCH=	yes
 USES=		python shebangfix
 SHEBANG_FILES=	tools/*.py
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 OPTIONS_DEFINE=	DOCS
 
diff --git a/devel/py-pyasn1-modules/distinfo b/devel/py-pyasn1-modules/distinfo
index 93fe628b6d9d..2b8304cb734c 100644
--- a/devel/py-pyasn1-modules/distinfo
+++ b/devel/py-pyasn1-modules/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1616594514
-SHA256 (pyasn1-modules-0.2.8.tar.gz) = 905f84c712230b2c592c19470d3ca8d552de726050d1d1716282a1f6146be65e
-SIZE (pyasn1-modules-0.2.8.tar.gz) = 242864
+TIMESTAMP = 1689756523
+SHA256 (pyasn1_modules-0.3.0.tar.gz) = 5bd01446b736eb9d31512a30d46c1ac3395d676c6f3cafa4c03eb54b9925631c
+SIZE (pyasn1_modules-0.3.0.tar.gz) = 307901