Skip to content

Commit

Permalink
devel/pycharm-ce: fix plist
Browse files Browse the repository at this point in the history
- Fix packaging for non-default Python
- Avoid installing non-native binaries

PR:		263428
Submitted by:	Jonathan Chen (maintainer)
  • Loading branch information
MaxBrazhnikov committed May 5, 2022
1 parent 07c8715 commit ce20b3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 20 deletions.
3 changes: 3 additions & 0 deletions devel/pycharm-ce/Makefile
Expand Up @@ -2,6 +2,7 @@

PORTNAME= pycharm-ce
PORTVERSION= 2022.1
PORTREVISION= 1
CATEGORIES= devel java python
MASTER_SITES= https://download.jetbrains.com/python/ \
http://download.jetbrains.com/python/
Expand Down Expand Up @@ -34,6 +35,8 @@ do-install:
@${TAR} -czf - -C ${WRKSRC} . | ${TAR} xzf - -C ${STAGEDIR}${DATADIR}
# Linux/Windows/OS X only so remove them
@${RM} ${STAGEDIR}${DATADIR}/bin/*fsnotifier* ${STAGEDIR}${DATADIR}/bin/*.so ${STAGEDIR}${DATADIR}/bin/repair
@${FIND} ${STAGEDIR}${DATADIR}/plugins -name '*.so' -delete
@${RM} -r ${STAGEDIR}${DATADIR}/plugins/cwm-plugin/quiche-native
# Remove the bundled native Pty4J support libraries, they are replaced
# by java/intellij-pty4j
@${RM} -r ${STAGEDIR}${DATADIR}/lib/pty4j-native
Expand Down
20 changes: 0 additions & 20 deletions devel/pycharm-ce/pkg-plist
Expand Up @@ -138,10 +138,6 @@ share/applications/pycharm-ce.desktop
%%DATADIR%%/plugins/cwm-plugin/lib/quiche-jna-stubs.jar
%%DATADIR%%/plugins/cwm-plugin/lib/rd-text.jar
%%DATADIR%%/plugins/cwm-plugin/lib/tls-channel.jar
%%DATADIR%%/plugins/cwm-plugin/quiche-native/darwin-aarch64/libquiche.dylib
%%DATADIR%%/plugins/cwm-plugin/quiche-native/darwin-x86-64/libquiche.dylib
%%DATADIR%%/plugins/cwm-plugin/quiche-native/linux-x86-64/libquiche.so
%%DATADIR%%/plugins/cwm-plugin/quiche-native/win32-x86-64/quiche.dll
%%DATADIR%%/plugins/editorconfig/lib/editorconfig.jar
%%DATADIR%%/plugins/emojipicker/lib/emojipicker.jar
%%DATADIR%%/plugins/featuresTrainer/lib/featuresTrainer.jar
Expand Down Expand Up @@ -919,12 +915,6 @@ share/applications/pycharm-ce.desktop
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_cython.c
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_cython.pxd
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_cython.pyx
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_cython_darwin_27_64.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_cython_darwin_310_64.cpython-310-darwin.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_cython_darwin_36_64.cpython-36m-darwin.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_cython_darwin_37_64.cpython-37m-darwin.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_cython_darwin_38_64%%PYTHON_EXT_SUFFIX%%-darwin.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_cython_darwin_39_64.cpython-39-darwin.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_cython_win32_27_32.pyd
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_cython_win32_27_64.pyd
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_cython_win32_310_32.cp310-win32.pyd
Expand Down Expand Up @@ -987,18 +977,8 @@ share/applications/pycharm-ce.desktop
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cp38-win_amd64.pyd
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cp39-win32.pyd
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cp39-win_amd64.pyd
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cpython-310-darwin.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cpython-36m-darwin.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cpython-37m-darwin.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common%%PYTHON_EXT_SUFFIX%%-darwin.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cpython-39-darwin.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.pxd
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.pyx
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_darwin_310_64.cpython-310-darwin.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_darwin_36_64.cpython-36m-darwin.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_darwin_37_64.cpython-37m-darwin.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_darwin_38_64%%PYTHON_EXT_SUFFIX%%-darwin.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_darwin_39_64.cpython-39-darwin.so
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_py39_and_above.c
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_py39_and_above.pxd
%%DATADIR%%/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_py39_and_above.pyx
Expand Down

0 comments on commit ce20b3d

Please sign in to comment.