aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 14:04:07 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 14:04:07 +0000
commitc8211a0d25f7ecd38e5fc1eafb642af55f08ac62 (patch)
tree0044cbfbd037a72ef8a81e8e6a3c85cdf1a1197b
parentdd912204ba5bf67be72acca39d38fcbf028cc972 (diff)
downloadports-c8211a0d25f7ecd38e5fc1eafb642af55f08ac62.tar.gz
ports-c8211a0d25f7ecd38e5fc1eafb642af55f08ac62.zip
misc/py-spdx-lookup: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
-rw-r--r--misc/py-spdx-lookup/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/py-spdx-lookup/Makefile b/misc/py-spdx-lookup/Makefile
index c6b4006b3b26..dcb0dc14046e 100644
--- a/misc/py-spdx-lookup/Makefile
+++ b/misc/py-spdx-lookup/Makefile
@@ -1,5 +1,6 @@
PORTNAME= spdx-lookup
PORTVERSION= 0.3.3
+PORTREVISION= 1
CATEGORIES= misc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +12,12 @@ WWW= https://github.com/bbqsrc/spdx-lookup-python
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}spdx>=2.3.0:misc/py-spdx@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes