git: 7165ba59a7e0 - main - devel/py-jsondiff: Convert to USE_PYTHON=pep517

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

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

commit 7165ba59a7e038f0a87c8bed5c35f79c9d497ecd
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-08 20:14:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-08 20:17:04 +0000

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

diff --git a/devel/py-jsondiff/Makefile b/devel/py-jsondiff/Makefile
index a1b4be5a60f2..07f9ff55a76b 100644
--- a/devel/py-jsondiff/Makefile
+++ b/devel/py-jsondiff/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	jsondiff
 PORTVERSION=	2.0.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW=		https://github.com/xlwings/jsondiff
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 CONFLICTS_INSTALL=	jojodiff py*-jsonpatch # bin/jdiff