git: b61225adc34b - main - net-mgmt/2ping: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 14:58:31 UTC
The branch main has been updated by sunpoet:

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

commit b61225adc34b8612349fe299abe837afcc591812
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:18:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:30:45 +0000

    net-mgmt/2ping: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 net-mgmt/2ping/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/net-mgmt/2ping/Makefile b/net-mgmt/2ping/Makefile
index 16205eb957e6..9a1fdee9ddef 100644
--- a/net-mgmt/2ping/Makefile
+++ b/net-mgmt/2ping/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	2ping
 PORTVERSION=	4.5.1
+PORTREVISION=	1
 CATEGORIES=	net-mgmt perl5
 MASTER_SITES=	https://www.finnie.org/software/2ping/ \
 		LOCAL/sunpoet
@@ -11,8 +12,11 @@ WWW=		https://www.finnie.org/software/2ping/
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING.md
 
+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 distutils noflavors
+USE_PYTHON=	autoplist noflavors pep517
 
 NO_ARCH=	yes