pycharm-community: update to 2018.3.4.

closes #8904
This commit is contained in:
Rasmus Thomsen 2019-02-18 19:41:33 +01:00 committed by maxice8
parent 311ee44c56
commit 3f022dd5bd
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,44 +1,44 @@
# Template file for 'pycharm-community'
pkgname=pycharm-community
version=2018.2.4
version=2018.3.4
revision=1
archs="i686 x86_64"
depends="virtual?java-environment giflib libXtst"
short_desc="Python integrated development environment"
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=1f7b36a42f703fd04bd1f3b7a007f90a6db555da26f80eea3801e3a0b05a5bee
checksum=789bffb179f569cea9e867c04d52d1a05f587134759b188d21d4007127ff7f86
repository=nonfree
nopie=yes
only_for_archs="i686 x86_64"
do_install() {
vmkdir usr/bin
vmkdir usr/share/doc/pycharm
vmkdir usr/share/pycharm
vmkdir usr/lib/pycharm
mv -v bin lib plugins helpers ${DESTDIR}/usr/share/pycharm
mv -v bin lib plugins helpers ${DESTDIR}/usr/lib/pycharm
mv -v license ${DESTDIR}/usr/share/doc/pycharm
rm -vf ${DESTDIR}/usr/share/pycharm/bin/fsnotifier-arm
rm -vf ${DESTDIR}/usr/lib/pycharm/bin/fsnotifier-arm
for i in _pydevd_bundle _pydevd_frame_eval; do
rm -vf ${DESTDIR}/usr/share/pycharm/helpers/pydev/"$i"/pydevd_*_darwin_*.so
rm -vf ${DESTDIR}/usr/share/pycharm/helpers/pydev/"$i"/pydevd_*_win32_*.pyd
rm -vf ${DESTDIR}/usr/lib/pycharm/helpers/pydev/"$i"/pydevd_*_darwin_*.so
rm -vf ${DESTDIR}/usr/lib/pycharm/helpers/pydev/"$i"/pydevd_*_win32_*.pyd
done
rm -vf ${DESTDIR}/usr/share/pycharm/helpers/pydev/pydevd_attach_to_process/attach_*.dll
rm -vf ${DESTDIR}/usr/share/pycharm/helpers/pydev/pydevd_attach_to_process/attach_*.dylib
rm -vf ${DESTDIR}/usr/share/pycharm/helpers/pydev/third_party/wrapped_for_pydev/ctypes/_ctypes.dll
rm -vf ${DESTDIR}/usr/lib/pycharm/helpers/pydev/pydevd_attach_to_process/attach_*.dll
rm -vf ${DESTDIR}/usr/lib/pycharm/helpers/pydev/pydevd_attach_to_process/attach_*.dylib
rm -vf ${DESTDIR}/usr/lib/pycharm/helpers/pydev/third_party/wrapped_for_pydev/ctypes/_ctypes.dll
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
rm -vf ${DESTDIR}/usr/share/pycharm/bin/fsnotifier
rm -vf ${DESTDIR}/usr/share/pycharm/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so
rm -vf ${DESTDIR}/usr/share/pycharm/lib/libpty/linux/x86/libpty.so
rm -vf ${DESTDIR}/usr/lib/pycharm/bin/fsnotifier
rm -vf ${DESTDIR}/usr/lib/pycharm/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so
rm -vf ${DESTDIR}/usr/lib/pycharm/lib/libpty/linux/x86/libpty.so
else
rm -vf ${DESTDIR}/usr/share/pycharm/bin/fsnotifier64
rm -vf ${DESTDIR}/usr/share/pycharm/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so
rm -vf ${DESTDIR}/usr/share/pycharm/lib/libpty/linux/x86_64/libpty.so
rm -vf ${DESTDIR}/usr/lib/pycharm/bin/fsnotifier64
rm -vf ${DESTDIR}/usr/lib/pycharm/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so
rm -vf ${DESTDIR}/usr/lib/pycharm/lib/libpty/linux/x86_64/libpty.so
fi
ln -sf /usr/share/pycharm/bin/pycharm.sh ${DESTDIR}/usr/bin/pycharm
ln -sf /usr/lib/pycharm/bin/pycharm.sh ${DESTDIR}/usr/bin/pycharm
vinstall ${FILESDIR}/pycharm.desktop 644 usr/share/applications
}