git: c7db1521086f - main - dns/py-aiodns: Switch to PEP517

From: Norikatsu Shigemura <nork_at_FreeBSD.org>
Date: Thu, 20 Feb 2025 15:36:52 UTC
The branch main has been updated by nork:

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

commit c7db1521086f7a81c7a1e3dcf149febf27d41b3d
Author:     Norikatsu Shigemura <nork@FreeBSD.org>
AuthorDate: 2025-02-20 15:36:27 +0000
Commit:     Norikatsu Shigemura <nork@FreeBSD.org>
CommitDate: 2025-02-20 15:36:27 +0000

    dns/py-aiodns: Switch to PEP517
    
    Approved by:    hrs (mentor, blanket)
---
 dns/py-aiodns/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dns/py-aiodns/Makefile b/dns/py-aiodns/Makefile
index 3907b5652845..402033bb4970 100644
--- a/dns/py-aiodns/Makefile
+++ b/dns/py-aiodns/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	aiodns
 PORTVERSION=	3.2.0
+PORTREVISION=	1
 CATEGORIES=	dns python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +12,13 @@ WWW=		https://pypi.org/project/aiodns/
 LICENSE=	MIT
 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}pycares>4.0.0:dns/py-pycares@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}uvloop>0:devel/py-uvloop@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 TEST_TARGET=	tests.py
 DO_MAKE_TEST=	${SETENV} ${TEST_ENV} ${PYTHON_CMD}
 NO_ARCH=	yes