aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-07-09 10:19:55 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-07-09 10:19:55 +0000
commitb01f7ddb341bbec3a52e7e2caca074d192387e28 (patch)
tree69d4d93c015d50add2cee1b790ca6d40d37fc88e
parentb21bd1639507c7e375f1ade35f8438c93bbd23e4 (diff)
news/py-sabctools: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
-rw-r--r--news/py-sabctools/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/news/py-sabctools/Makefile b/news/py-sabctools/Makefile
index f821a27143f2..956a30142719 100644
--- a/news/py-sabctools/Makefile
+++ b/news/py-sabctools/Makefile
@@ -1,5 +1,6 @@
PORTNAME= sabctools
PORTVERSION= 7.1.0
+PORTREVISION= 1
CATEGORIES= news python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW= https://github.com/sabnzbd/sabctools
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE.md
+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
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +