git: 222dad7eb94d - main - textproc/json2yaml: Convert to USE_PYTHON=pep517

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

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

commit 222dad7eb94d811544fc053b2eb0ebfb798f9725
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:19:25 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:30:49 +0000

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

diff --git a/textproc/json2yaml/Makefile b/textproc/json2yaml/Makefile
index a61311800bbc..791df1d4e994 100644
--- a/textproc/json2yaml/Makefile
+++ b/textproc/json2yaml/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	json2yaml
 PORTVERSION=	1.2.0
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 
@@ -9,12 +10,14 @@ WWW=		https://github.com/drbild/json2yaml
 
 LICENSE=	APACHE20
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docopt>=0:devel/py-docopt@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyaml>=0:textproc/py-pyaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils noflavors
+USE_PYTHON=	autoplist noflavors pep517
 
 NO_ARCH=	yes