2
0

Fix FS#57358, fsnotifier and libpty x86

This commit is contained in:
XavierCLL 2018-02-04 16:42:05 -05:00
parent 82b3dc8b2b
commit 5a17d00d61
2 changed files with 11 additions and 12 deletions

View File

@ -1,7 +1,7 @@
pkgbase = pycharm-professional
pkgdesc = Powerful Python and Django IDE. Professional edition.
pkgver = 2017.3.3
pkgrel = 1
pkgrel = 2
url = http://www.jetbrains.com/pycharm/
install = pycharm-professional.install
arch = i686

View File

@ -3,7 +3,7 @@
pkgname=pycharm-professional
pkgver=2017.3.3
_pkgver=2017.3.3
pkgrel=1
pkgrel=2
pkgdesc="Powerful Python and Django IDE. Professional edition."
arch=('i686' 'x86_64')
options=('!strip')
@ -69,11 +69,17 @@ sha256sums=('f97d56f15750b6a1a94aeeeaab16ab7b6b52f3a32a01f28e2439aa44d4e60ca0'
fi
package() {
build() {
cd pycharm-$_pkgver
# compile PyDev debugger used by PyCharm to speedup debugging
python2 pycharm-$_pkgver/helpers/pydev/setup_cython.py build_ext --inplace
python3 pycharm-$_pkgver/helpers/pydev/setup_cython.py build_ext --inplace
python2 helpers/pydev/setup_cython.py build_ext --build-temp build --build-lib .
python3 helpers/pydev/setup_cython.py build_ext --build-temp build --build-lib .
rm -rf bin/fsnotifier{,-arm} lib/libpty/linux/x86
}
package() {
# base
install -dm 755 $pkgdir/opt/$pkgname
cp -dr --no-preserve=ownership $srcdir/pycharm-$_pkgver/* $pkgdir/opt/$pkgname
@ -94,11 +100,4 @@ package() {
# install charm application - for edit a single file in Pycharm
install -Dm 755 charm $pkgdir/opt/pycharm-professional/bin/
install -Dm 644 charm.desktop $pkgdir/usr/share/applications/
# delete some conflicts files for i686
if [[ $CARCH = 'i686' ]]; then
rm -f $pkgdir/opt/$pkgname/bin/libyjpagent-linux64.so
rm -f $pkgdir/opt/$pkgname/bin/fsnotifier64
fi
}