pycharm-community: update to 2020.3.2
This commit is contained in:
parent
fd5aeae95d
commit
b7999b2081
2 changed files with 16 additions and 5 deletions
|
@ -1,7 +1,8 @@
|
|||
[Desktop Entry]
|
||||
Name=PyCharm
|
||||
Name=PyCharm Community
|
||||
Comment=The Python IDE for Professional Developers
|
||||
Exec=pycharm %f
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=/usr/lib/pycharm/bin/pycharm.png
|
||||
Icon=pycharm
|
||||
Categories=Development;
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
# Template file for 'pycharm-community'
|
||||
pkgname=pycharm-community
|
||||
version=2020.2.3
|
||||
version=2020.3.2
|
||||
revision=1
|
||||
archs="x86_64"
|
||||
depends="virtual?java-environment giflib libXtst"
|
||||
depends="virtual?java-environment giflib libXtst hicolor-icon-theme"
|
||||
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=870071ba911d41052e3b94ad97116940b79b411b4ad0aaccebb83b319e621073
|
||||
checksum=33e19dfaa434f637506b6fa35dcf94c908f9b471aadc9f616eae0c0395327cfc
|
||||
repository=nonfree
|
||||
nopie=yes
|
||||
python_version=3
|
||||
|
@ -18,7 +18,11 @@ do_install() {
|
|||
vmkdir usr/bin
|
||||
vmkdir usr/share/doc/pycharm
|
||||
vmkdir usr/lib/pycharm
|
||||
vmkdir usr/share/pixmaps
|
||||
vmkdir usr/share/icons/hicolor/scalable/apps
|
||||
|
||||
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
|
||||
mv -v license ${DESTDIR}/usr/share/doc/pycharm
|
||||
rm -vf ${DESTDIR}/usr/lib/pycharm/bin/fsnotifier-arm
|
||||
|
@ -31,7 +35,11 @@ do_install() {
|
|||
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
|
||||
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
|
||||
|
@ -46,5 +54,7 @@ do_install() {
|
|||
fi
|
||||
|
||||
ln -sf /usr/lib/pycharm/bin/pycharm.sh ${DESTDIR}/usr/bin/pycharm
|
||||
ln -sf /usr/lib/pycharm/bin/pycharm.png ${DESTDIR}/usr/share/pixmaps
|
||||
ln -sf /usr/lib/pycharm/bin/pycharm.svg ${DESTDIR}/usr/share/icons/hicolor/scalable/apps
|
||||
vinstall ${FILESDIR}/pycharm.desktop 644 usr/share/applications
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue