[arch-commits] Commit in pycharm-community-edition/repos/community-x86_64 (6 files)

Levente Polyak anthraxx at archlinux.org
Mon Jul 20 07:35:10 UTC 2020


    Date: Monday, July 20, 2020 @ 07:35:10
  Author: anthraxx
Revision: 664616

archrelease: copy trunk to community-x86_64

Added:
  pycharm-community-edition/repos/community-x86_64/PKGBUILD
    (from rev 664615, pycharm-community-edition/trunk/PKGBUILD)
  pycharm-community-edition/repos/community-x86_64/pycharm.desktop
    (from rev 664615, pycharm-community-edition/trunk/pycharm.desktop)
  pycharm-community-edition/repos/community-x86_64/pycharm.sh
    (from rev 664615, pycharm-community-edition/trunk/pycharm.sh)
Deleted:
  pycharm-community-edition/repos/community-x86_64/PKGBUILD
  pycharm-community-edition/repos/community-x86_64/pycharm.desktop
  pycharm-community-edition/repos/community-x86_64/pycharm.sh

-----------------+
 PKGBUILD        |  180 +++++++++++++++++++++++++++---------------------------
 pycharm.desktop |   22 +++---
 pycharm.sh      |   29 ++++++--
 3 files changed, 122 insertions(+), 109 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-20 07:35:04 UTC (rev 664615)
+++ PKGBUILD	2020-07-20 07:35:10 UTC (rev 664616)
@@ -1,89 +0,0 @@
-# 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=2020.1.2
-_build=201.7846.77
-_gitcommit=47bc792f3b88d030aeabd4d00b0d757100a35289
-pkgrel=1
-pkgdesc='Python IDE for Professional Developers'
-arch=(x86_64)
-url=https://www.jetbrains.com/pycharm/
-license=(APACHE)
-depends=(
-  giflib
-  glib2
-  java-runtime=11
-  python
-  sh
-  ttf-font
-)
-optdepends=(
-  'ipython2: IPython integration for Python 2'
-  'ipython: IPython integration for Python 3'
-  'python2: Python 2 support'
-)
-makedepends=(
-  ant
-  git
-  java-environment=8
-  java8-openjfx
-  python2-setuptools
-  python-setuptools
-)
-source=(
-  "git+https://github.com/JetBrains/intellij-community.git#commit=${_gitcommit}"
-  pycharm.desktop
-  pycharm.sh
-)
-sha256sums=('SKIP'
-            'f727119ec7c8b96820e80712b1ee342de6a94ff72402e8f2d390cbff702f9b21'
-            '8c1328ab5693a21fc49447d6aab979bf01cc6e2f592071b0ccbeba64cf6bd2d5')
-
-prepare() {
-  cd intellij-community
-
-  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 -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() {
-  cd intellij-community/python
-
-  unset _JAVA_OPTIONS
-  export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
-  export PATH="$JAVA_HOME/bin:$PATH"
-
-  ant -Dintellij.build.target.os=linux build
-  tar -xf ../out/pycharm-ce/artifacts/pycharmPC-${_build}-no-jbr.tar.gz -C "${srcdir}"
-
-  cd ../../pycharm-community-${pkgver}
-
-  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() {
-  cd pycharm-community-${pkgver}
-
-  # workaround FS#40934
-  sed -i 's/lcd/on/' bin/*.vmoptions
-
-  rm -rf bin/fsnotifier{,-arm} lib/libpty/linux/x86
-
-  install -dm 755 "${pkgdir}"/usr/share/{licenses,pixmaps,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/
-  install -Dm 755 ../pycharm.sh "${pkgdir}"/usr/bin/pycharm
-}
-
-# vim: ts=2 sw=2 et:

Copied: pycharm-community-edition/repos/community-x86_64/PKGBUILD (from rev 664615, pycharm-community-edition/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-20 07:35:10 UTC (rev 664616)
@@ -0,0 +1,91 @@
+# 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=2020.1.3
+_build=201.8538.36
+_gitcommit=3e0e8f91ced043195717b296b09e008802b2f6aa
+pkgrel=1
+pkgdesc='Python IDE for Professional Developers'
+arch=(x86_64)
+url=https://www.jetbrains.com/pycharm/
+license=(APACHE)
+depends=(
+  giflib
+  glib2
+  java-runtime=11
+  java11-openjfx
+  python
+  sh
+  ttf-font
+  libdbusmenu-glib
+)
+optdepends=(
+  'ipython2: IPython integration for Python 2'
+  'ipython: IPython integration for Python 3'
+  'python2: Python 2 support'
+)
+makedepends=(
+  ant
+  git
+  java-environment=8
+  java8-openjfx
+  python2-setuptools
+  python-setuptools
+)
+source=(
+  "git+https://github.com/JetBrains/intellij-community.git#commit=${_gitcommit}"
+  pycharm.desktop
+  pycharm.sh
+)
+sha256sums=('SKIP'
+            'f727119ec7c8b96820e80712b1ee342de6a94ff72402e8f2d390cbff702f9b21'
+            '7b5360b4977e934931acab775d04915417a5da9f3ea1dd44355525b0016cf65d')
+
+prepare() {
+  cd intellij-community
+
+  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 -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() {
+  cd intellij-community/python
+
+  unset _JAVA_OPTIONS
+  export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
+  export PATH="$JAVA_HOME/bin:$PATH"
+
+  ant -Dintellij.build.target.os=linux build
+  tar -xf ../out/pycharm-ce/artifacts/pycharmPC-${_build}-no-jbr.tar.gz -C "${srcdir}"
+
+  cd ../../pycharm-community-${pkgver}
+
+  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() {
+  cd pycharm-community-${pkgver}
+
+  # workaround FS#40934
+  sed -i 's/lcd/on/' bin/*.vmoptions
+
+  rm -rf bin/fsnotifier{,-arm} lib/libpty/linux/x86
+
+  install -dm 755 "${pkgdir}"/usr/share/{licenses,pixmaps,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/
+  install -Dm 755 ../pycharm.sh "${pkgdir}"/usr/bin/pycharm
+}
+
+# vim: ts=2 sw=2 et:

Deleted: pycharm.desktop
===================================================================
--- pycharm.desktop	2020-07-20 07:35:04 UTC (rev 664615)
+++ pycharm.desktop	2020-07-20 07:35:10 UTC (rev 664616)
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Type=Application
-Name=PyCharm Community Edition
-Comment=Python IDE for Professional Developers
-Exec=/usr/bin/pycharm %f
-Icon=pycharm
-Terminal=false
-StartupNotify=true
-StartupWMClass=jetbrains-pycharm-ce
-Categories=Development;IDE;Python;

Copied: pycharm-community-edition/repos/community-x86_64/pycharm.desktop (from rev 664615, pycharm-community-edition/trunk/pycharm.desktop)
===================================================================
--- pycharm.desktop	                        (rev 0)
+++ pycharm.desktop	2020-07-20 07:35:10 UTC (rev 664616)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=PyCharm Community Edition
+Comment=Python IDE for Professional Developers
+Exec=/usr/bin/pycharm %f
+Icon=pycharm
+Terminal=false
+StartupNotify=true
+StartupWMClass=jetbrains-pycharm-ce
+Categories=Development;IDE;Python;

Deleted: pycharm.sh
===================================================================
--- pycharm.sh	2020-07-20 07:35:04 UTC (rev 664615)
+++ pycharm.sh	2020-07-20 07:35:10 UTC (rev 664616)
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-if [ -z "$PYCHARM_JDK" ] ; then
-  PYCHARM_JDK="/usr/lib/jvm/java-11-openjdk/"
-fi
-exec env PYCHARM_JDK="$PYCHARM_JDK" /usr/share/pycharm/bin/pycharm.sh "$@"
-
-# vim: ts=2 sw=2 et:
-

Copied: pycharm-community-edition/repos/community-x86_64/pycharm.sh (from rev 664615, pycharm-community-edition/trunk/pycharm.sh)
===================================================================
--- pycharm.sh	                        (rev 0)
+++ pycharm.sh	2020-07-20 07:35:10 UTC (rev 664616)
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# WARNING:
+# Running IntelliJ PYCHARM with java other than java 11
+# may cause various problems, such as Graddle import not working
+if [ -z "$PYCHARM_JDK" ] ; then
+  PYCHARM_JDK="/usr/lib/jvm/java-11-openjdk/"
+fi
+# open-jfx location that should match the JDK version
+if [ -z "$PYCHARM_JFX" ] ; then
+  PYCHARM_JFX="/usr/lib/jvm/java-11-openjfx/"
+fi
+# classpath according to defined JDK/JFX
+if [ -z "$PYCHARM_CLASSPATH" ] ; then
+  PYCHARM_CLASSPATH="${PYCHARM_JDK}/lib/*:${PYCHARM_JFX}/lib/*"
+fi
+
+exec env PYCHARM_JDK="$PYCHARM_JDK" PYCHARM_CLASSPATH="$PYCHARM_CLASSPATH" /usr/share/pycharm/bin/pycharm.sh "$@"
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list