git: dd912204ba5b - main - misc/py-spdx: Convert to USE_PYTHON=pep517

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

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

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

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

diff --git a/misc/py-spdx/Makefile b/misc/py-spdx/Makefile
index 241feec5788d..f5a04198cc3a 100644
--- a/misc/py-spdx/Makefile
+++ b/misc/py-spdx/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	spdx
 PORTVERSION=	2.5.1
+PORTREVISION=	1
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW=		https://github.com/bbqsrc/spdx-python
 LICENSE=	CC0-1.0
 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
 
 NO_ARCH=	yes