git: 1bb396ad750d - main - devel/py-coloredlogs: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 06 Jul 2024 16:28:33 UTC
The branch main has been updated by sunpoet:

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

commit 1bb396ad750dbd7489b648f80077de3e83f05836
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-06 16:11:52 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-06 16:11:52 +0000

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

diff --git a/devel/py-coloredlogs/Makefile b/devel/py-coloredlogs/Makefile
index 4ea3c582dd54..c1674f2da358 100644
--- a/devel/py-coloredlogs/Makefile
+++ b/devel/py-coloredlogs/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	coloredlogs
 PORTVERSION=	15.0.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +12,12 @@ WWW=		https://coloredlogs.readthedocs.io/en/latest/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}humanfriendly>=9.1:textproc/py-humanfriendly@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes