git: 17bb5136cd03 - main - lang/py-lupa: Adjust e63cf89eb69315c20b4f7e9d1d24edb002711886
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 May 2024 10:23:28 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=17bb5136cd034bb2440cabdb78c5f4188ebd992f commit 17bb5136cd034bb2440cabdb78c5f4188ebd992f Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-28 10:00:40 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-28 10:21:35 +0000 lang/py-lupa: Adjust e63cf89eb69315c20b4f7e9d1d24edb002711886 --- lang/py-lupa/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lang/py-lupa/Makefile b/lang/py-lupa/Makefile index ff0dfea4205c..202d441029ec 100644 --- a/lang/py-lupa/Makefile +++ b/lang/py-lupa/Makefile @@ -18,11 +18,17 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython3>=3.0.9:lang/cython3@${PY_FLAVOR} \ USES= lua pkgconfig python USE_PYTHON= autoplist concurrent pep517 unittest +MAKE_ARGS= --no-bundle --with-cython --with-lua-checks +TEST_ARGS= lupa.tests.test + # Clean up bundled libraries +.if !defined(MAINTAINER_MODE) EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/third-party \ --no-same-owner --no-same-permissions -MAKE_ARGS= --no-bundle --with-cython --with-lua-checks -TEST_ARGS= lupa.tests.test +.else +post-patch: + @${RM} -r ${WRKSRC}/third-party/ +.endif post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +