git: e63cf89eb693 - main - lang/py-lupa: Convert post-patch to EXTRACT_AFTER_ARGS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 May 2024 21:54:04 UTC
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=e63cf89eb69315c20b4f7e9d1d24edb002711886 commit e63cf89eb69315c20b4f7e9d1d24edb002711886 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2024-05-20 21:33:03 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-05-20 21:53:51 +0000 lang/py-lupa: Convert post-patch to EXTRACT_AFTER_ARGS Reduce I/O by excluding files we don't need during extraction PR: 278747 Approved by: portmgr (maintainer timeout, 2+ weeks) --- lang/py-lupa/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lang/py-lupa/Makefile b/lang/py-lupa/Makefile index 212b959efcd5..ff0dfea4205c 100644 --- a/lang/py-lupa/Makefile +++ b/lang/py-lupa/Makefile @@ -18,13 +18,12 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython3>=3.0.9:lang/cython3@${PY_FLAVOR} \ USES= lua pkgconfig python USE_PYTHON= autoplist concurrent pep517 unittest +# Clean up bundled libraries +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 -post-patch: -# Clean up bundled libraries - @${RM} -r ${WRKSRC}/third-party/ - post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +