git: 38b290279995 - main - dns/py-dnslib: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 13 May 2024 14:20:15 UTC
The branch main has been updated by sunpoet:

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

commit 38b290279995a7b9a33367e303407ea6af8cb975
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:01:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:01:23 +0000

    dns/py-dnslib: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 dns/py-dnslib/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dns/py-dnslib/Makefile b/dns/py-dnslib/Makefile
index 78d80d595396..b507da01fe03 100644
--- a/dns/py-dnslib/Makefile
+++ b/dns/py-dnslib/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	dnslib
 PORTVERSION=	0.9.24
+PORTREVISION=	1
 CATEGORIES=	dns python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW=		https://github.com/paulc/dnslib
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes