summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/py-scandir/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysutils/py-scandir/Makefile b/sysutils/py-scandir/Makefile
index 67883732fa31..c3e61eab48a5 100644
--- a/sysutils/py-scandir/Makefile
+++ b/sysutils/py-scandir/Makefile
@@ -1,6 +1,6 @@
PORTNAME= scandir
PORTVERSION= 1.10.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +12,11 @@ WWW= https://github.com/benhoyt/scandir
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+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}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +