git: 8235e9b2e3db - main - net/py-pyroute2.protocols: Convert to USE_PYTHON=pep517

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

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

commit 8235e9b2e3db8070adaab3d4dc61bca21e97387b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:04:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:04:43 +0000

    net/py-pyroute2.protocols: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 net/py-pyroute2.protocols/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/net/py-pyroute2.protocols/Makefile b/net/py-pyroute2.protocols/Makefile
index 3f82f0d79539..2ba5c7b13551 100644
--- a/net/py-pyroute2.protocols/Makefile
+++ b/net/py-pyroute2.protocols/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pyroute2.protocols
 PORTVERSION=	0.6.13
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,10 +14,12 @@ LICENSE_COMB=	dual
 LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE.Apache.v2
 LICENSE_FILE_GPLv2+ =	${WRKSRC}/LICENSE.GPL.v2
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyroute2>=${PORTVERSION}:net/py-pyroute2@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes