Skip to content

Commit

Permalink
devel/pycharm-pro: update to 2024.1.1
Browse files Browse the repository at this point in the history
- update to latest version
- use EXTRACT_AFTER_ARGS to avoid extracting not needed files [1]

Release notes:

https://www.jetbrains.com/pycharm/whatsnew/2024-1/
https://www.jetbrains.com/pycharm/whatsnew/2024-1-1/

PR:		278782 [1]
Submitted by:	diizzy
  • Loading branch information
mexicarne committed May 18, 2024
1 parent 7a7408c commit c36b18c
Show file tree
Hide file tree
Showing 3 changed files with 328 additions and 261 deletions.
25 changes: 15 additions & 10 deletions devel/pycharm-pro/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= pycharm-pro
DISTVERSION= 2023.3.5
DISTVERSION= 2024.1.1
CATEGORIES= devel java python
MASTER_SITES= https://download.jetbrains.com/python/
DISTNAME= pycharm-professional-${PORTVERSION}
Expand All @@ -24,6 +24,20 @@ CPE_VENDOR= jetbrains
USE_JAVA= yes
JAVA_VERSION= 17+

# Remove the bundled native Pty4J support libraries, they are replaced
# by devel/jetbrains-pty4j
# Remove bundled linux-only JRE
EXTRACT_AFTER_ARGS= --exclude pycharm-${PORTVERSION}/bin/*fsnotifier* \
--exclude pycharm-${PORTVERSION}/bin/*.so \
--exclude pycharm-${PORTVERSION}/bin/repair \
--exclude pycharm-${PORTVERSION}/lib/*.so \
--exclude pycharm-${PORTVERSION}/plugins/*.so \
--exclude pycharm-${PORTVERSION}/plugins/cwm-plugin/quiche-native \
--exclude pycharm-${PORTVERSION}/plugins/python/helpers/pydev/pydevd_attach_to_process \
--exclude pycharm-${PORTVERSION}/lib/pty4j \
--exclude pycharm-${PORTVERSION}/jbr \
--no-same-owner --no-same-permissions

WRKSRC= ${WRKDIR}/pycharm-${PORTVERSION}

NO_ARCH= yes
Expand All @@ -36,16 +50,7 @@ SUB_LIST+= IDEA_HOME=${IDEA_HOME}

# Remove non-native binaries
post-extract:
@${RM} ${WRKSRC}/bin/*fsnotifier* ${WRKSRC}/bin/*.so ${WRKSRC}/bin/repair
@${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/helpers/pydev/pydevd_attach_to_process
# Remove the bundled native Pty4J support libraries, they are replaced
# by devel/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
Expand Down
6 changes: 3 additions & 3 deletions devel/pycharm-pro/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1711833729
SHA256 (pycharm-professional-2023.3.5.tar.gz) = 7e77390d7bba42843e950b1544da718913e6bae8543ce499c01484550df39004
SIZE (pycharm-professional-2023.3.5.tar.gz) = 816439812
TIMESTAMP = 1714910379
SHA256 (pycharm-professional-2024.1.1.tar.gz) = b7e12b8d16164137f4cb0677fcac18af78aa117d33c511cce3fcf3972b4e3b17
SIZE (pycharm-professional-2024.1.1.tar.gz) = 1003178838

0 comments on commit c36b18c

Please sign in to comment.