aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-08 20:14:39 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-08 20:17:11 +0000
commit1c415cf4cbcbc75892925616cfed5ecfd5e9da37 (patch)
tree97ae898ce985abf1196855b7d3139d9e481297be
parentff8ce328f0b963f60699e416aec66bfed277f08f (diff)
downloadports-1c415cf4cbcbc75892925616cfed5ecfd5e9da37.tar.gz
ports-1c415cf4cbcbc75892925616cfed5ecfd5e9da37.zip
devel/py-marisa-trie: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
-rw-r--r--devel/py-marisa-trie/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/py-marisa-trie/Makefile b/devel/py-marisa-trie/Makefile
index 28454cfe608a..f0f898557af7 100644
--- a/devel/py-marisa-trie/Makefile
+++ b/devel/py-marisa-trie/Makefile
@@ -1,5 +1,6 @@
PORTNAME= marisa-trie
PORTVERSION= 1.1.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +13,12 @@ WWW= https://marisa-trie.readthedocs.io/en/latest/ \
LICENSE= MIT
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}setuptools>=0:devel/py-setuptools@${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} {} +