git: 8d7b9cce9a58 - main - devel/py-pyasn1: update to 0.5.0

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

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

commit 8d7b9cce9a58e1ea6c02637cf34cd05e2c1be46e
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2023-07-19 09:10:30 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2023-07-19 09:10:30 +0000

    devel/py-pyasn1: update to 0.5.0
    
    - update to 0.5.0
    - switch to pep517
    - update homepage link
    
    PR:             272359
    Reported by:    Alastair Hogge <agh@riseup.net>
    Approved by:    mhjacks@swbell.net (maintainer)
---
 devel/py-pyasn1/Makefile | 9 ++++++---
 devel/py-pyasn1/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/devel/py-pyasn1/Makefile b/devel/py-pyasn1/Makefile
index 357f46104c2f..00f4d1b35142 100644
--- a/devel/py-pyasn1/Makefile
+++ b/devel/py-pyasn1/Makefile
@@ -1,18 +1,21 @@
 PORTNAME=	pyasn1
-PORTVERSION=	0.4.8
+PORTVERSION=	0.5.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	mhjacks@swbell.net
 COMMENT=	ASN.1 toolkit for Python
-WWW=		https://github.com/etingof/pyasn1
+WWW=		https://github.com/pyasn1/pyasn1
 
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.rst
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-pyasn1/distinfo b/devel/py-pyasn1/distinfo
index 607f6c8ff2fc..6cbac89a2f75 100644
--- a/devel/py-pyasn1/distinfo
+++ b/devel/py-pyasn1/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1644485797
-SHA256 (pyasn1-0.4.8.tar.gz) = aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba
-SIZE (pyasn1-0.4.8.tar.gz) = 146820
+TIMESTAMP = 1689757537
+SHA256 (pyasn1-0.5.0.tar.gz) = 97b7290ca68e62a832558ec3976f15cbf911bf5d7c7039d8b861c2a0ece69fde
+SIZE (pyasn1-0.5.0.tar.gz) = 145117