Updated to 2018.2.3 with several adjusts
This commit is contained in:
parent
75254fefd0
commit
2299052547
18
.SRCINFO
18
.SRCINFO
@ -1,6 +1,6 @@
|
|||||||
pkgbase = pycharm-professional
|
pkgbase = pycharm-professional
|
||||||
pkgdesc = Powerful Python and Django IDE. Professional edition.
|
pkgdesc = Powerful Python and Django IDE. Professional Edition.
|
||||||
pkgver = 2018.2.2
|
pkgver = 2018.2.3
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = http://www.jetbrains.com/pycharm/
|
url = http://www.jetbrains.com/pycharm/
|
||||||
install = pycharm-professional.install
|
install = pycharm-professional.install
|
||||||
@ -8,13 +8,13 @@ pkgbase = pycharm-professional
|
|||||||
license = custom
|
license = custom
|
||||||
makedepends = python2-setuptools
|
makedepends = python2-setuptools
|
||||||
makedepends = python-setuptools
|
makedepends = python-setuptools
|
||||||
depends = gcc-libs
|
|
||||||
depends = giflib
|
depends = giflib
|
||||||
depends = glibc
|
depends = glibc
|
||||||
depends = sh
|
depends = sh
|
||||||
depends = ttf-font
|
depends = ttf-font
|
||||||
depends = libxtst
|
depends = libxtst
|
||||||
depends = libxslt
|
depends = libxslt
|
||||||
|
depends = python
|
||||||
optdepends = ipython2: For enhanced interactive Python shell v2 inside Pycharm
|
optdepends = ipython2: For enhanced interactive Python shell v2 inside Pycharm
|
||||||
optdepends = ipython: For enhanced interactive Python shell v3 inside Pycharm
|
optdepends = ipython: For enhanced interactive Python shell v3 inside Pycharm
|
||||||
optdepends = openssh: For deployment and remote connections
|
optdepends = openssh: For deployment and remote connections
|
||||||
@ -37,17 +37,17 @@ pkgbase = pycharm-professional
|
|||||||
conflicts = pycharm-community
|
conflicts = pycharm-community
|
||||||
backup = opt/pycharm-professional/bin/pycharm.vmoptions
|
backup = opt/pycharm-professional/bin/pycharm.vmoptions
|
||||||
backup = opt/pycharm-professional/bin/pycharm64.vmoptions
|
backup = opt/pycharm-professional/bin/pycharm64.vmoptions
|
||||||
source = https://download.jetbrains.com/python/pycharm-professional-2018.2.2.tar.gz
|
source = https://download.jetbrains.com/python/pycharm-professional-2018.2.3.tar.gz
|
||||||
source = pycharm-professional.desktop
|
source = pycharm-professional.desktop
|
||||||
source = pycharm-professional.install
|
source = pycharm-professional.install
|
||||||
source = pycharm
|
source = pycharm
|
||||||
source = charm.desktop
|
source = charm.desktop
|
||||||
source = charm
|
source = charm
|
||||||
sha256sums = e7ce851728c411ff2112b82bfabbcb8d20d0433a8d7ce06887588cb278f8c8b1
|
sha256sums = 141669a6e8073da0fa328a4aa749fb79a1342ee68edcaee19023e7d59a9dc548
|
||||||
sha256sums = 016db1860a8b36d408c827f90aeb04b9d55cf21ea36788a9d8510cc54fae1c49
|
sha256sums = aaf7113e8c56e4d977eca204d57350d9493eda2710abefd2488a2b5d47c53344
|
||||||
sha256sums = fecb420a4644255cfbb486c1c82644e17e523bb61707108689f4fb702549d0eb
|
sha256sums = 40b297ac1d883583ed5d7aae75fb09497a2af5bda9dd4aff83bd6d2892ab6c95
|
||||||
sha256sums = 54603a788b4ecad5d0a92e5b7fe37a98979250d2b5fd7d037759b4254b0b1607
|
sha256sums = 818ed42f4200ae13315587abf6f247f93e68c658a94794f73924c985cdc145d0
|
||||||
sha256sums = e1cf2a280d90a55710131bdf33f4026a427d10131ddd5c776a936ee1ecf5a6fb
|
sha256sums = 21e77b6b18e14636f9827e1f8d45bbc8dba8fb14ea5f4cde285c1ef4bb01c85e
|
||||||
sha256sums = 7e9bc3873f6c8039b4d7c181806ce4363632ff5811e966142749396cd849d86f
|
sha256sums = 7e9bc3873f6c8039b4d7c181806ce4363632ff5811e966142749396cd849d86f
|
||||||
|
|
||||||
pkgname = pycharm-professional
|
pkgname = pycharm-professional
|
||||||
|
21
PKGBUILD
21
PKGBUILD
@ -1,10 +1,10 @@
|
|||||||
# Maintainer: XavierCLL <xavier.corredor.llano (a) gmail.com>
|
# Maintainer: XavierCLL <xavier.corredor.llano (a) gmail.com>
|
||||||
|
|
||||||
pkgname=pycharm-professional
|
pkgname=pycharm-professional
|
||||||
pkgver=2018.2.2
|
pkgver=2018.2.3
|
||||||
_pkgver=2018.2.2
|
_pkgver=2018.2.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Powerful Python and Django IDE. Professional edition."
|
pkgdesc="Powerful Python and Django IDE. Professional Edition."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='http://www.jetbrains.com/pycharm/'
|
url='http://www.jetbrains.com/pycharm/'
|
||||||
conflicts=('pycharm' 'pycharm-community')
|
conflicts=('pycharm' 'pycharm-community')
|
||||||
@ -12,7 +12,7 @@ provides=('pycharm')
|
|||||||
license=('custom')
|
license=('custom')
|
||||||
install=${pkgname}.install
|
install=${pkgname}.install
|
||||||
backup=(opt/$pkgname/bin/pycharm.vmoptions opt/$pkgname/bin/pycharm64.vmoptions)
|
backup=(opt/$pkgname/bin/pycharm.vmoptions opt/$pkgname/bin/pycharm64.vmoptions)
|
||||||
depends=('gcc-libs' 'giflib' 'glibc' 'sh' 'ttf-font' 'libxtst' 'libxslt')
|
depends=('giflib' 'glibc' 'sh' 'ttf-font' 'libxtst' 'libxslt' 'python')
|
||||||
source=(https://download.jetbrains.com/python/$pkgname-$_pkgver.tar.gz
|
source=(https://download.jetbrains.com/python/$pkgname-$_pkgver.tar.gz
|
||||||
'pycharm-professional.desktop'
|
'pycharm-professional.desktop'
|
||||||
'pycharm-professional.install'
|
'pycharm-professional.install'
|
||||||
@ -20,11 +20,11 @@ source=(https://download.jetbrains.com/python/$pkgname-$_pkgver.tar.gz
|
|||||||
'charm.desktop'
|
'charm.desktop'
|
||||||
'charm')
|
'charm')
|
||||||
# https://download.jetbrains.com/python/pycharm-professional-${_pkgver}.tar.gz.sha256
|
# https://download.jetbrains.com/python/pycharm-professional-${_pkgver}.tar.gz.sha256
|
||||||
sha256sums=('e7ce851728c411ff2112b82bfabbcb8d20d0433a8d7ce06887588cb278f8c8b1'
|
sha256sums=('141669a6e8073da0fa328a4aa749fb79a1342ee68edcaee19023e7d59a9dc548'
|
||||||
'016db1860a8b36d408c827f90aeb04b9d55cf21ea36788a9d8510cc54fae1c49'
|
'aaf7113e8c56e4d977eca204d57350d9493eda2710abefd2488a2b5d47c53344'
|
||||||
'fecb420a4644255cfbb486c1c82644e17e523bb61707108689f4fb702549d0eb'
|
'40b297ac1d883583ed5d7aae75fb09497a2af5bda9dd4aff83bd6d2892ab6c95'
|
||||||
'54603a788b4ecad5d0a92e5b7fe37a98979250d2b5fd7d037759b4254b0b1607'
|
'818ed42f4200ae13315587abf6f247f93e68c658a94794f73924c985cdc145d0'
|
||||||
'e1cf2a280d90a55710131bdf33f4026a427d10131ddd5c776a936ee1ecf5a6fb'
|
'21e77b6b18e14636f9827e1f8d45bbc8dba8fb14ea5f4cde285c1ef4bb01c85e'
|
||||||
'7e9bc3873f6c8039b4d7c181806ce4363632ff5811e966142749396cd849d86f')
|
'7e9bc3873f6c8039b4d7c181806ce4363632ff5811e966142749396cd849d86f')
|
||||||
makedepends=('python2-setuptools' 'python-setuptools')
|
makedepends=('python2-setuptools' 'python-setuptools')
|
||||||
optdepends=('ipython2: For enhanced interactive Python shell v2 inside Pycharm'
|
optdepends=('ipython2: For enhanced interactive Python shell v2 inside Pycharm'
|
||||||
@ -56,6 +56,9 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
# workaround FS#40934
|
||||||
|
sed -i 's/lcd/on/' pycharm-$_pkgver/bin/*.vmoptions
|
||||||
|
|
||||||
# base
|
# base
|
||||||
install -dm 755 $pkgdir/opt/$pkgname
|
install -dm 755 $pkgdir/opt/$pkgname
|
||||||
cp -dr --no-preserve=ownership pycharm-$_pkgver/* $pkgdir/opt/$pkgname
|
cp -dr --no-preserve=ownership pycharm-$_pkgver/* $pkgdir/opt/$pkgname
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
Name=Charm
|
Name=Charm
|
||||||
Icon=pycharm
|
Icon=pycharm
|
||||||
Exec=source ~/.bash_profile;/opt/pycharm-professional/bin/charm
|
Exec=/opt/pycharm-professional/bin/charm %f
|
||||||
MimeType=text/x-python;application/x-ipynb+json
|
MimeType=text/x-python;application/x-ipynb+json
|
||||||
NoDisplay=true
|
NoDisplay=true
|
||||||
Type=Application
|
|
||||||
Terminal=false
|
Terminal=false
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
StartupWMClass=jetbrains-pycharm
|
StartupWMClass=jetbrains-pycharm
|
||||||
|
6
pycharm
6
pycharm
@ -1,5 +1,3 @@
|
|||||||
#!/bin/bash -l
|
#!/bin/sh
|
||||||
|
|
||||||
[[ -f ~/.bash_profile ]] && . ~/.bash_profile
|
exec /opt/pycharm-professional/bin/pycharm.sh "$@"
|
||||||
|
|
||||||
sh /opt/pycharm-professional/bin/pycharm.sh "$@"
|
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=PyCharm
|
|
||||||
Icon=pycharm
|
|
||||||
GenericName=Python and Django IDE
|
|
||||||
Comment=Powerful Python and Django IDE. Professional version.
|
|
||||||
Exec=/usr/bin/pycharm
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=Development;IDE;
|
Name=PyCharm Professional Edition
|
||||||
|
Icon=pycharm
|
||||||
|
Comment=Python IDE for Professional Developers.
|
||||||
|
Exec=/usr/bin/pycharm %f
|
||||||
|
Terminal=false
|
||||||
|
Categories=Development;IDE;Python;
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
StartupWMClass=jetbrains-pycharm
|
StartupWMClass=jetbrains-pycharm
|
||||||
|
@ -1,16 +1,12 @@
|
|||||||
post_install() {
|
post_install() {
|
||||||
/bin/cat << EOF
|
/bin/cat << EOF
|
||||||
===>
|
===>
|
||||||
===> Please set the Anti-aliasing font settings for Java app
|
===> Please set the anti-aliasing font and others settings of
|
||||||
===> adding the following line to the user's file ~/.bash_profile
|
===> pycharm in this file (if is needed):
|
||||||
===> (not in ~/.bashrc):
|
|
||||||
===>
|
===>
|
||||||
===> export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=setting'
|
===> /opt/pycharm-professional/bin/pycharm64.vmoptions
|
||||||
===>
|
|
||||||
===> Replace 'setting' with on, lcd, gasp, etc. By default is
|
|
||||||
===> configured with lcd.
|
|
||||||
===>
|
===>
|
||||||
===> Please read the following link for more options:
|
===> Please read the following link for more font options:
|
||||||
===> https://wiki.archlinux.org/index.php/Java_Runtime_Environment_Fonts
|
===> https://wiki.archlinux.org/index.php/Java_Runtime_Environment_Fonts
|
||||||
===>
|
===>
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user