git: 2720f4a3e5c5 - main - misc/py-progressbar: Convert to USE_PYTHON=pep517

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

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

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

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

diff --git a/misc/py-progressbar/Makefile b/misc/py-progressbar/Makefile
index 161d20890b19..ecbd1b160fe9 100644
--- a/misc/py-progressbar/Makefile
+++ b/misc/py-progressbar/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	progressbar
 PORTVERSION=	2.5
+PORTREVISION=	1
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +13,11 @@ LICENSE=	BSD3CLAUSE LGPL21+
 LICENSE_COMB=	dual
 LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 NO_ARCH=	yes
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 USES=		python
 
 CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}progressbar231