From c3fb1067c78b0c731d041ccf66cf845b67ba439f Mon Sep 17 00:00:00 2001 From: XavierCLL Date: Wed, 29 Jul 2020 11:14:53 -0700 Subject: [PATCH] v2020.2.0 --- .SRCINFO | 11 +++++------ PKGBUILD | 14 ++++++-------- charm | 6 ++++-- pycharm | 3 --- 4 files changed, 15 insertions(+), 19 deletions(-) mode change 100755 => 100644 charm delete mode 100644 pycharm diff --git a/.SRCINFO b/.SRCINFO index de5996b..fc5191a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = pycharm-professional pkgdesc = Python IDE for Professional Developers. Professional Edition - pkgver = 2020.1.4 + pkgver = 2020.2.0 pkgrel = 1 url = https://www.jetbrains.com/pycharm/ arch = x86_64 @@ -12,6 +12,7 @@ pkgbase = pycharm-professional depends = libxtst depends = libxslt depends = python + depends = libdbusmenu-glib optdepends = python2: Python 2 support optdepends = ipython2: For enhanced interactive Python shell v2 inside Pycharm optdepends = ipython: For enhanced interactive Python shell v3 inside Pycharm @@ -37,16 +38,14 @@ pkgbase = pycharm-professional backup = opt/pycharm-professional/bin/pycharm.vmoptions backup = opt/pycharm-professional/bin/pycharm64.vmoptions backup = opt/pycharm-professional/bin/idea.properties - source = https://download.jetbrains.com/python/pycharm-professional-2020.1.4.tar.gz + source = https://download.jetbrains.com/python/pycharm-professional-2020.2.tar.gz source = pycharm-professional.desktop - source = pycharm source = charm.desktop source = charm - sha256sums = fe22d6b12b02eaa694c0003da2f09e27147feb6848c77c5220adc680008ec33f + sha256sums = 5301e54af750d45bd53456c8330b76e5ce92977b75be45436587f930d4b20077 sha256sums = aaf7113e8c56e4d977eca204d57350d9493eda2710abefd2488a2b5d47c53344 - sha256sums = 818ed42f4200ae13315587abf6f247f93e68c658a94794f73924c985cdc145d0 sha256sums = b026ef96831448be743f86e7e44bfa676629e8c3eb418c893fd87515c06263a7 - sha256sums = db54c71d65ac938bb0e4c058481463b71d784ba113a872e419c66975cbc94a3f + sha256sums = 36068b05bebafa9aad6f043745f7764ed108c99f7b8f74cea2163da56bd2bc0c pkgname = pycharm-professional diff --git a/PKGBUILD b/PKGBUILD index 3e86847..52b8a28 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: XavierCLL pkgname=pycharm-professional -pkgver=2020.1.4 -_pkgver=2020.1.4 +pkgver=2020.2.0 +_pkgver=2020.2 pkgrel=1 pkgdesc="Python IDE for Professional Developers. Professional Edition" arch=('x86_64') @@ -15,18 +15,16 @@ backup=( "opt/$pkgname/bin/pycharm64.vmoptions" "opt/$pkgname/bin/idea.properties" ) -depends=('giflib' 'glibc' 'sh' 'libxtst' 'libxslt' 'python') +depends=('giflib' 'glibc' 'sh' 'libxtst' 'libxslt' 'python' 'libdbusmenu-glib') source=("https://download.jetbrains.com/python/$pkgname-$_pkgver.tar.gz" "pycharm-professional.desktop" - "pycharm" "charm.desktop" "charm") # https://download.jetbrains.com/python/pycharm-professional-${_pkgver}.tar.gz.sha256 -sha256sums=('fe22d6b12b02eaa694c0003da2f09e27147feb6848c77c5220adc680008ec33f' +sha256sums=('5301e54af750d45bd53456c8330b76e5ce92977b75be45436587f930d4b20077' 'aaf7113e8c56e4d977eca204d57350d9493eda2710abefd2488a2b5d47c53344' - '818ed42f4200ae13315587abf6f247f93e68c658a94794f73924c985cdc145d0' 'b026ef96831448be743f86e7e44bfa676629e8c3eb418c893fd87515c06263a7' - 'db54c71d65ac938bb0e4c058481463b71d784ba113a872e419c66975cbc94a3f') + '36068b05bebafa9aad6f043745f7764ed108c99f7b8f74cea2163da56bd2bc0c') makedepends=('python-setuptools') optdepends=('python2: Python 2 support' 'ipython2: For enhanced interactive Python shell v2 inside Pycharm' @@ -70,7 +68,7 @@ package() { # exec install -dm 755 "$pkgdir/usr/bin/" - install -Dm 755 pycharm "$pkgdir/usr/bin/" + ln -s /opt/pycharm-professional/bin/pycharm.sh "$pkgdir/usr/bin/pycharm" # licenses install -dm 755 "$pkgdir/usr/share/licenses/$pkgname/" diff --git a/charm b/charm old mode 100755 new mode 100644 index 41f8bc4..c0240dc --- a/charm +++ b/charm @@ -10,8 +10,8 @@ import traceback # See com.intellij.idea.SocketLock for the server side of this interface. RUN_PATH = u'/opt/pycharm-professional/bin/pycharm.sh' -CONFIG_PATH = u'~/.config/JetBrains/PyCharm2020.1' -SYSTEM_PATH = u'~/.cache/JetBrains/PyCharm2020.1' +CONFIG_PATH = u'~/.config/JetBrains/PyCharm2020.2' +SYSTEM_PATH = u'~/.cache/JetBrains/PyCharm2020.2' def print_usage(cmd): @@ -64,6 +64,8 @@ def process_args(argv): skip_next = True elif arg == '-w' or arg == '--wait': args.append('--wait') + elif arg == '-p' or arg == '--project': + args.append(arg) elif skip_next: args.append(arg) skip_next = False diff --git a/pycharm b/pycharm deleted file mode 100644 index 88f7989..0000000 --- a/pycharm +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exec /opt/pycharm-professional/bin/pycharm.sh "$@"