pycharm-community: update to 2021.2.2.

Also:
- remove the arm subdir from the bundled pty4j
- remove unneeded block rm commands.
This commit is contained in:
mobinmob 2021-09-17 21:49:56 +03:00 committed by John Zimmermann
parent 775f5f6349
commit cc7fc85964

View file

@ -1,6 +1,6 @@
# Template file for 'pycharm-community'
pkgname=pycharm-community
version=2020.3.3
version=2021.2.2
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=915a8803db2d47dd0c739da61034eb787f7c9e9e512ebcb02ea1a45cddbb055c
checksum=5be617a97ab3bd26f0453a7b1e2193c5a042eade2f712f22ded43055ec983369
repository=nonfree
nopie=yes
python_version=3
@ -37,21 +37,15 @@ do_install() {
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
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
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
else
rm -vf ${DESTDIR}/usr/lib/pycharm/bin/fsnotifier64
rm -vf ${DESTDIR}/usr/lib/pycharm/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so
rm -vf ${DESTDIR}/usr/lib/pycharm/lib/pty4j-native/linux/x86_64/libpty.so
rmdir -v ${DESTDIR}/usr/lib/pycharm/lib/pty4j-native/linux/x86_64
fi
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