pycharm-community: update to 2024.2.1.

This commit is contained in:
Eloi Torrents 2024-08-31 16:10:09 +02:00 committed by classabbyamp
parent d40828514a
commit 88c9f1cd93
1 changed files with 5 additions and 10 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'pycharm-community'
pkgname=pycharm-community
version=2021.2.2
version=2024.2.1
revision=1
archs="x86_64"
depends="virtual?java-environment giflib libXtst hicolor-icon-theme"
@ -9,7 +9,7 @@ maintainer="Felix Van der Jeugt <felix.vanderjeugt@gmail.com>"
license="Apache-2.0"
homepage="https://www.jetbrains.org/pycharm/"
distfiles="https://download-cf.jetbrains.com/python/${pkgname}-${version}.tar.gz"
checksum=5be617a97ab3bd26f0453a7b1e2193c5a042eade2f712f22ded43055ec983369
checksum=232ddc3c15b138264534820a40049ea4b0108647ba2972294616bc2a3f22234b
repository=nonfree
nopie=yes
python_version=3
@ -21,6 +21,8 @@ do_install() {
vmkdir usr/share/pixmaps
vmkdir usr/share/icons/hicolor/scalable/apps
vinstall product-info.json 644 /usr/lib/pycharm
local launcher_path="bin/pycharm.sh"
sed -i '1 s/$/\nPYCHARM_JDK=${PYCHARM_JDK:-${IDEA_JDK}}/' "${launcher_path}"
mv -v bin lib plugins ${DESTDIR}/usr/lib/pycharm
@ -30,22 +32,15 @@ do_install() {
rm -vf ${DESTDIR}/usr/lib/pycharm/plugins/python-ce/helpers/pydev/"$i"/pydevd_*_darwin_*.so
rm -vf ${DESTDIR}/usr/lib/pycharm/plugins/python-ce/helpers/pydev/"$i"/pydevd_*_win32_*.pyd
done
rm -vf ${DESTDIR}/usr/lib/pycharm/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_aarch64.so
rm -vf ${DESTDIR}/usr/lib/pycharm/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_*.dll
rm -vf ${DESTDIR}/usr/lib/pycharm/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_*.dylib
rm -vf ${DESTDIR}/usr/lib/pycharm/plugins/python-ce/helpers/pydev/third_party/wrapped_for_pydev/ctypes/_ctypes.dll
rm -vf ${DESTDIR}/usr/lib/pycharm/lib/pty4j-native/linux/ppc64le/libpty.so
rm -vf ${DESTDIR}/usr/lib/pycharm/lib/pty4j-native/linux/mips64el/libpty.so
rm -vf ${DESTDIR}/usr/lib/pycharm/lib/pty4j-native/linux/aarch64/libpty.so
rm -vf ${DESTDIR}/usr/lib/pycharm/lib/pty4j-native/linux/arm/libpty.so
rmdir -v ${DESTDIR}/usr/lib/pycharm/lib/pty4j-native/linux/ppc64le
rmdir -v ${DESTDIR}/usr/lib/pycharm/lib/pty4j-native/linux/mips64el
rmdir -v ${DESTDIR}/usr/lib/pycharm/lib/pty4j-native/linux/aarch64
rm -vf ${DESTDIR}/usr/lib/pycharm/bin/fsnotifier
rm -vf ${DESTDIR}/usr/lib/pycharm/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so
rm -vf ${DESTDIR}/usr/lib/pycharm/lib/pty4j-native/linux/x86/libpty.so
rmdir -v ${DESTDIR}/usr/lib/pycharm/lib/pty4j-native/linux/x86
ln -sf /usr/lib/pycharm/bin/pycharm.sh ${DESTDIR}/usr/bin/pycharm
ln -sf /usr/lib/pycharm/bin/pycharm.png ${DESTDIR}/usr/share/pixmaps