git: 6ac1bf7b4195 - main - devel/py-capturer: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 08 Apr 2024 06:50:37 UTC
The branch main has been updated by sunpoet:

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

commit 6ac1bf7b4195d0cfa2f43785d1d6450b8c5205ce
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-08 06:46:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-08 06:46:02 +0000

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

diff --git a/devel/py-capturer/Makefile b/devel/py-capturer/Makefile
index d8af24da6084..2214733f1e8a 100644
--- a/devel/py-capturer/Makefile
+++ b/devel/py-capturer/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	capturer
 PORTVERSION=	3.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +12,12 @@ WWW=		https://capturer.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>=8.0:textproc/py-humanfriendly@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes