aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 14:04:04 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 14:04:04 +0000
commitdd912204ba5bf67be72acca39d38fcbf028cc972 (patch)
treea324b5142d7d9a41071c8ab2336271714632db53
parentb62faa9f1984c9a24b4b797e784391e27693a9ab (diff)
downloadports-dd912204ba5bf67be72acca39d38fcbf028cc972.tar.gz
ports-dd912204ba5bf67be72acca39d38fcbf028cc972.zip
misc/py-spdx: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
-rw-r--r--misc/py-spdx/Makefile6
1 files changed, 5 insertions, 1 deletions
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