diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-13 22:08:48 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-13 22:08:48 +0800 |
commit | 540fb82dc2b45966e4baadbf9dc81cd14787cb52 (patch) | |
tree | 694180019869cf3fce5efff9340d815b1f2b97e0 | |
parent | sysutils/py-python-consul2: Convert to USE_PYTHON=pep517 (diff) |
sysutils/py-scandir: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
-rw-r--r-- | sysutils/py-scandir/Makefile | 7 |
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} {} + |