Date: Mon, 6 May 2024 20:25:58 GMT From: Daniel Engberg <diizzy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: dc99303b1691 - main - devel/pycharm-ce: Use EXTRACT_AFTER_ARGS Message-ID: <202405062025.446KPwHr048260@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=dc99303b1691df946e9223cc9756e120e1ff38ec commit dc99303b1691df946e9223cc9756e120e1ff38ec Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2024-05-06 20:02:58 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-05-06 20:08:41 +0000 devel/pycharm-ce: Use EXTRACT_AFTER_ARGS To decrease I/O load skip extracting files instead of removing after extraction PR: 278759 Reviewed by: Jonathan Chen <jonc@chen.org.nz> (maintainer, previous version) --- devel/pycharm-ce/Makefile | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/devel/pycharm-ce/Makefile b/devel/pycharm-ce/Makefile index aaa306fd88b1..42bcd93e62ad 100644 --- a/devel/pycharm-ce/Makefile +++ b/devel/pycharm-ce/Makefile @@ -24,6 +24,20 @@ SHEBANG_FILES= plugins/python-ce/helpers/pycodestyle-2.10.0.py \ plugins/python-ce/helpers/pycodestyle.py \ plugins/python-ce/helpers/typeshed/scripts/sync_tensorflow_protobuf_stubs.sh +# Remove the bundled native Pty4J support libraries, they are replaced by java/jetbrains-pty4j +# Remove bundled linux-only JRE +EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/bin/*fsnotifier* \ + --exclude ${DISTNAME}/bin/*.so \ + --exclude ${DISTNAME}/bin/repair \ + --exclude ${DISTNAME}/bin/restarter \ + --exclude ${DISTNAME}/lib/*.so \ + --exclude ${DISTNAME}/plugins/*.so \ + --exclude ${DISTNAME}/plugins/cwm-plugin/quiche-native \ + --exclude ${DISTNAME}/plugins/python-ce/helpers/pydev/pydevd_attach_to_process \ + --exclude ${DISTNAME}/lib/pty4j \ + --exclude ${DISTNAME}/jbr \ + --no-same-owner --no-same-permissions + NO_BUILD= yes .include "${.CURDIR}/../../java/intellij/common.mk" @@ -33,15 +47,7 @@ SUB_LIST+= IDEA_HOME=${IDEA_HOME} # Remove non-native binaries post-extract: - @${RM} ${WRKSRC}/bin/*fsnotifier* ${WRKSRC}/bin/*.so ${WRKSRC}/bin/repair ${WRKSRC}/bin/restarter - @${FIND} ${WRKSRC}/lib ${WRKSRC}/plugins -name '*.so' -delete @${FIND} ${WRKSRC}/lib ${WRKSRC}/plugins -type d -empty -delete - @${RM} -r ${WRKSRC}/plugins/cwm-plugin/quiche-native - @${RM} -r ${WRKSRC}/plugins/python-ce/helpers/pydev/pydevd_attach_to_process -# Remove the bundled native Pty4J support libraries, they are replaced by java/jetbrains-pty4j - @${RM} -r ${WRKSRC}/lib/pty4j -# Remove bundled linux-only JRE - @${RM} -r ${WRKSRC}/jbr # TODO: Remove and enable fsnotifier when devel/libinotify is fixed # Disable filewatcher warning message on IDEA startup ${ECHO} "idea.filewatcher.disabled=true" >> ${WRKSRC}/bin/idea.properties
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405062025.446KPwHr048260>