git: 1c415cf4cbcb - main - devel/py-marisa-trie: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Apr 2024 20:19:52 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1c415cf4cbcbc75892925616cfed5ecfd5e9da37
commit 1c415cf4cbcbc75892925616cfed5ecfd5e9da37
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-08 20:14:39 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-08 20:17:11 +0000
devel/py-marisa-trie: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
---
devel/py-marisa-trie/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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} {} +