[arch-commits] Commit in pycharm-community-edition/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Fri May 8 07:41:38 UTC 2020
Date: Friday, May 8, 2020 @ 07:41:37
Author: anthraxx
Revision: 625543
upgpkg: pycharm-community-edition 2020.1.1-1
Modified:
pycharm-community-edition/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-08 07:20:00 UTC (rev 625542)
+++ PKGBUILD 2020-05-08 07:41:37 UTC (rev 625543)
@@ -1,10 +1,11 @@
# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: David Keogh <davekeogh at archlinux.us>
pkgname=pycharm-community-edition
-pkgver=2019.2.3
-_build=192.6817.19
-_gitcommit=021e51234f87c12ffb775c903a3ddcb48c6de6e6
+pkgver=2020.1.1
+_build=201.7223.92
+_gitcommit=ee7f09caf74f55278ee685476b2d9a3a86d01000
pkgrel=1
pkgdesc='Python IDE for Professional Developers'
arch=(x86_64)
@@ -46,8 +47,11 @@
echo ${_build} > build.txt
sed '/def targetOs =/c def targetOs = "linux"' -i build/dependencies/setupJbre.gradle
sed '/String targetOS/c String targetOS = OS_LINUX' -i platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy
- sed "s/SNAPSHOT/PC-${_build}/; s/-Xmx612m -XX:MaxPermSize=152m/-Xmx2048m -XX:MaxPermSize=512m/" -i python/build.xml
- sed '/intellij\.markdown/d' -i python/{build/plugin-list.txt,intellij.pycharm.community.main.iml}
+ sed -E 's|(<sysproperty key="jna.nosys")|<sysproperty key="intellij.build.target.os" value="linux" />\1|' -i build.xml
+ sed -E 's|(<sysproperty key="java.awt.headless")|<sysproperty key="intellij.build.target.os" value="linux" />\1|' -i python/build.xml
+ sed "s/-Xmx612m -XX:MaxPermSize=152m/-Xmx2048m -XX:MaxPermSize=512m/" -i python/build.xml
+ sed 's|../build/plugins-autoupload-whitelist.txt|plugins-autoupload-whitelist.txt|' -i platform/build-scripts/groovy/org/jetbrains/intellij/build/impl/DistributionJARsBuilder.groovy
+ touch plugins-autoupload-whitelist.txt
}
build() {
@@ -62,8 +66,8 @@
cd ../../pycharm-community-${pkgver}
- 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 .
+ python2 plugins/python-ce/helpers/pydev/setup_cython.py build_ext --build-temp build --build-lib .
+ python3 plugins/python-ce/helpers/pydev/setup_cython.py build_ext --build-temp build --build-lib .
}
package() {
@@ -75,7 +79,7 @@
rm -rf bin/fsnotifier{,-arm} lib/libpty/linux/x86
install -dm 755 "${pkgdir}"/usr/share/{licenses,pixmaps,pycharm}
- cp -dr --no-preserve='ownership' bin helpers lib plugins "${pkgdir}"/usr/share/pycharm/
+ cp -dr --no-preserve='ownership' bin lib plugins "${pkgdir}"/usr/share/pycharm/
cp -dr --no-preserve='ownership' license "${pkgdir}"/usr/share/licenses/pycharm/
ln -s /usr/share/pycharm/bin/pycharm.png "${pkgdir}"/usr/share/pixmaps/
install -Dm 644 ../pycharm.desktop -t "${pkgdir}"/usr/share/applications/
More information about the arch-commits
mailing list