git: da116d45797f - main - sysutils/py-upt-cpan: Convert to USE_PYTHON=pep517

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

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

commit da116d45797f8693816a1eb91ae46f225973eb09
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:08:52 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:08:52 +0000

    sysutils/py-upt-cpan: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 sysutils/py-upt-cpan/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sysutils/py-upt-cpan/Makefile b/sysutils/py-upt-cpan/Makefile
index 58fc85c314c3..57ed6f9a7656 100644
--- a/sysutils/py-upt-cpan/Makefile
+++ b/sysutils/py-upt-cpan/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	upt-cpan
 PORTVERSION=	0.6.1
+PORTREVISION=	1
 CATEGORIES=	sysutils python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +12,13 @@ WWW=		https://framagit.org/upt/upt-cpan
 LICENSE=	BSD3CLAUSE
 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}requests>=0:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}upt>=0.6:sysutils/py-upt@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes