Date: Thursday, January 31, 2019 @ 13:20:30 Author: alucryd Revision: 428730
archrelease: copy trunk to community-x86_64 Added: pycharm-community-edition/repos/community-x86_64/PKGBUILD (from rev 428729, pycharm-community-edition/trunk/PKGBUILD) pycharm-community-edition/repos/community-x86_64/pycharm-build.patch (from rev 428729, pycharm-community-edition/trunk/pycharm-build.patch) pycharm-community-edition/repos/community-x86_64/pycharm.desktop (from rev 428729, pycharm-community-edition/trunk/pycharm.desktop) pycharm-community-edition/repos/community-x86_64/pycharm.sh (from rev 428729, pycharm-community-edition/trunk/pycharm.sh) Deleted: pycharm-community-edition/repos/community-x86_64/PKGBUILD pycharm-community-edition/repos/community-x86_64/pycharm-build.patch pycharm-community-edition/repos/community-x86_64/pycharm.desktop pycharm-community-edition/repos/community-x86_64/pycharm.sh ---------------------+ PKGBUILD | 145 +++++++++++++++++++++++++++----------------------- pycharm-build.patch | 80 +++++++++++++-------------- pycharm.desktop | 22 +++---- pycharm.sh | 18 +++--- 4 files changed, 140 insertions(+), 125 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-01-31 13:20:18 UTC (rev 428729) +++ PKGBUILD 2019-01-31 13:20:30 UTC (rev 428730) @@ -1,65 +0,0 @@ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> -# Contributor: David Keogh <daveke...@archlinux.us> - -pkgname=pycharm-community-edition -pkgver=2018.2.4 -_build=182.4505.26 -pkgrel=1 -pkgdesc='Python IDE for Professional Developers' -arch=('x86_64') -url='http://www.jetbrains.com/pycharm/' -license=('Apache') -depends=('giflib' 'glibc' 'java-runtime=8' 'python' 'sh' 'ttf-font') -optdepends=('ipython2: IPython integration for Python 2' - 'ipython: IPython integration for Python 3' - 'python2: Python 2 support') -makedepends=('apache-ant' 'java-environment=8' 'java-openjfx' - 'python2-setuptools' 'python-setuptools') -source=("pycharm-${_build}.tar.gz::https://github.com/JetBrains/intellij-community/archive/pycharm/${_build}.tar.gz" - 'pycharm-build.patch' - 'pycharm.desktop' - 'pycharm.sh') -sha256sums=('fe8c3a78563183ef8ed0cef23e48a7b90719e113f3c66779d83c5a45f1dfba4a' - '3793e8125abb05b1580919017469ada2563a2e5972a8d74666557df60d270cfd' - '28e0d3200c721e61831d8246eba8f72485d3c8379d10bfa75ccb5331b6749480' - '448f90f35f1ae1de784b663e9fd539baf494a7c08a8a7e2efbd5e75c801da12e') - -prepare() { - cd intellij-community-pycharm-${_build} - - patch -Np1 -i ../pycharm-build.patch - sed "s/SNAPSHOT/${_build}/" -i python/build.xml - sed '/intellij\.markdown/d' -i python/{build/plugin-list.txt,intellij.pycharm.community.main.iml} -} - -build() { - cd intellij-community-pycharm-${_build}/python - - unset _JAVA_OPTIONS - - ant build - tar -xf ../out/pycharm-ce/artifacts/pycharmPC-${_build}-no-jdk.tar.gz -C "${srcdir}" - - 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 . -} - -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 helpers 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 428729, pycharm-community-edition/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-31 13:20:30 UTC (rev 428730) @@ -0,0 +1,80 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: David Keogh <daveke...@archlinux.us> + +pkgname=pycharm-community-edition +pkgver=2018.3.4 +_build=183.5429.31 +pkgrel=1 +pkgdesc='Python IDE for Professional Developers' +arch=(x86_64) +url=http://www.jetbrains.com/pycharm/ +license=(Apache) +depends=( + giflib + java-runtime=8 + python + sh + ttf-font +) +optdepends=( + 'ipython2: IPython integration for Python 2' + 'ipython: IPython integration for Python 3' + 'python2: Python 2 support' +) +makedepends=( + apache-ant + java-environment=8 + java-openjfx + python2-setuptools + python-setuptools +) +source=( + pycharm-${_build}.tar.gz::https://github.com/JetBrains/intellij-community/archive/pycharm/${_build}.tar.gz + pycharm-build.patch + pycharm.desktop + pycharm.sh +) +sha256sums=('f22e4c6d51d22e51c7a9dc1dcdd50cea806a58b8d206ac7aa2b0a9eff9e1eff1' + '1cc14afd8478e03efccb77b3c490efa4c720301d02c76ff1ff84659008dcb558' + '28e0d3200c721e61831d8246eba8f72485d3c8379d10bfa75ccb5331b6749480' + '448f90f35f1ae1de784b663e9fd539baf494a7c08a8a7e2efbd5e75c801da12e') + +prepare() { + cd intellij-community-pycharm-${_build} + + patch -Np1 -i ../pycharm-build.patch + sed "s/SNAPSHOT/${_build}/" -i python/build.xml + sed '/intellij\.markdown/d' -i python/{build/plugin-list.txt,intellij.pycharm.community.main.iml} +} + +build() { + cd intellij-community-pycharm-${_build}/python + + unset _JAVA_OPTIONS + + ant build + tar -xf ../out/pycharm-ce/artifacts/pycharmPC-${_build}-no-jdk.tar.gz -C "${srcdir}" + + 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 . +} + +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 helpers 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-build.patch =================================================================== --- pycharm-build.patch 2019-01-31 13:20:18 UTC (rev 428729) +++ pycharm-build.patch 2019-01-31 13:20:30 UTC (rev 428730) @@ -1,40 +0,0 @@ -diff -rupN intellij-community-pycharm-182.1177.orig/build/dependencies/setupJbre.gradle intellij-community-pycharm-182.1177/build/dependencies/setupJbre.gradle ---- intellij-community-pycharm-182.1177.orig/build/dependencies/setupJbre.gradle 2018-03-29 19:26:20.265970726 +0200 -+++ intellij-community-pycharm-182.1177/build/dependencies/setupJbre.gradle 2018-03-29 19:26:52.690160085 +0200 -@@ -1,7 +1,7 @@ - task setupJbre {} - - def jdkRepo = inJetBrainsNetwork ? 'http://repo.labs.intellij.net/intellij-jdk' : 'https://dl.bintray.com/jetbrains/intellij-jdk' --def targetOs = "${System.getProperty("intellij.build.target.os", "all")}" -+def targetOs = "${System.getProperty("intellij.build.target.os", "linux")}" - - jrePlatformsToDownload(targetOs).each { platform -> - archToDownload(platform).each { arch -> -diff -rupN intellij-community-pycharm-182.1177.orig/platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy intellij-community-pycharm-182.1177/platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy ---- intellij-community-pycharm-182.1177.orig/platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy 2018-03-29 19:26:25.415841858 +0200 -+++ intellij-community-pycharm-182.1177/platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy 2018-03-29 19:31:46.883868914 +0200 -@@ -33,7 +33,7 @@ class BuildOptions { - /** - * Specifies for which operating systems distributions should be built. - */ -- String targetOS = System.getProperty("intellij.build.target.os", OS_ALL) -+ String targetOS = System.getProperty("intellij.build.target.os", OS_LINUX) - static final String OS_LINUX = "linux" - static final String OS_WINDOWS = "windows" - static final String OS_MAC = "mac" -@@ -100,7 +100,7 @@ class BuildOptions { - * Build number without product code (e.g. '162.500.10'), if {@code null} '<baseline>.SNAPSHOT' will be used. Use {@link BuildContext#buildNumber} to - * get the actual build number in build scripts. - */ -- String buildNumber = System.getProperty("build.number") -+ String buildNumber = System.getProperty("idea.build.number") - - /** - * By default build process produces temporary and resulting files under projectHome/out/productName directory, use this property to -@@ -115,4 +115,4 @@ class BuildOptions { - */ - boolean isInDevelopmentMode = SystemProperties.getBooleanProperty("intellij.build.dev.mode", - System.getProperty("teamcity.buildType.id") == null) --} -\ No newline at end of file -+} Copied: pycharm-community-edition/repos/community-x86_64/pycharm-build.patch (from rev 428729, pycharm-community-edition/trunk/pycharm-build.patch) =================================================================== --- pycharm-build.patch (rev 0) +++ pycharm-build.patch 2019-01-31 13:20:30 UTC (rev 428730) @@ -0,0 +1,40 @@ +diff -rupN intellij-community-pycharm-183.5429.31.orig/build/dependencies/setupJbre.gradle intellij-community-pycharm-183.5429.31/build/dependencies/setupJbre.gradle +--- intellij-community-pycharm-183.5429.31.orig/build/dependencies/setupJbre.gradle 2019-01-31 10:59:48.043742670 +0100 ++++ intellij-community-pycharm-183.5429.31/build/dependencies/setupJbre.gradle 2019-01-31 11:02:00.181362763 +0100 +@@ -1,7 +1,7 @@ + def setupJbre = task setupJbre {} + + def jdkRepo = 'https://cache-redirector.jetbrains.com/intellij-jdk' +-def targetOs = System.getProperty("intellij.build.target.os", "all") ++def targetOs = System.getProperty("intellij.build.target.os", "linux") + def bundledJreVersion = System.getProperty("intellij.build.bundled.jre.version", "8").toInteger() + def isBundledJreModular = bundledJreVersion >= 9 + def jreArtifactBuild = System.getProperty("intellij.build.bundled.jre.build", jdkBuild) +@@ -169,4 +169,4 @@ static def archToDownload(platform, is32 + static def modularJdkSpecificFiles(platform) { + def prefix = platform == 'osx' ? 'jdk/Contents/Home/' : '' + ["${prefix}jmods/**", "${prefix}include/**", '**/src.zip', "${prefix}lib/src.zip"] +-} +\ No newline at end of file ++} +diff -rupN intellij-community-pycharm-183.5429.31.orig/platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy intellij-community-pycharm-183.5429.31/platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy +--- intellij-community-pycharm-183.5429.31.orig/platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy 2019-01-31 11:00:02.063843803 +0100 ++++ intellij-community-pycharm-183.5429.31/platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy 2019-01-31 11:00:42.494135478 +0100 +@@ -19,7 +19,7 @@ class BuildOptions { + /** + * Specifies for which operating systems distributions should be built. + */ +- String targetOS = System.getProperty("intellij.build.target.os", OS_ALL) ++ String targetOS = System.getProperty("intellij.build.target.os", OS_LINUX) + static final String OS_LINUX = "linux" + static final String OS_WINDOWS = "windows" + static final String OS_MAC = "mac" +@@ -100,7 +100,7 @@ class BuildOptions { + * Build number without product code (e.g. '162.500.10'), if {@code null} '<baseline>.SNAPSHOT' will be used. Use {@link BuildContext#buildNumber} to + * get the actual build number in build scripts. + */ +- String buildNumber = System.getProperty("build.number") ++ String buildNumber = System.getProperty("idea.build.number") + + /** + * By default build process produces temporary and resulting files under projectHome/out/productName directory, use this property to Deleted: pycharm.desktop =================================================================== --- pycharm.desktop 2019-01-31 13:20:18 UTC (rev 428729) +++ pycharm.desktop 2019-01-31 13:20:30 UTC (rev 428730) @@ -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 428729, pycharm-community-edition/trunk/pycharm.desktop) =================================================================== --- pycharm.desktop (rev 0) +++ pycharm.desktop 2019-01-31 13:20:30 UTC (rev 428730) @@ -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 2019-01-31 13:20:18 UTC (rev 428729) +++ pycharm.sh 2019-01-31 13:20:30 UTC (rev 428730) @@ -1,9 +0,0 @@ -#!/bin/sh - -if [ -z "$PYCHARM_JDK" ] ; then - PYCHARM_JDK="/usr/lib/jvm/java-8-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 428729, pycharm-community-edition/trunk/pycharm.sh) =================================================================== --- pycharm.sh (rev 0) +++ pycharm.sh 2019-01-31 13:20:30 UTC (rev 428730) @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ -z "$PYCHARM_JDK" ] ; then + PYCHARM_JDK="/usr/lib/jvm/java-8-openjdk/" +fi +exec env PYCHARM_JDK=$PYCHARM_JDK /usr/share/pycharm/bin/pycharm.sh $@ + +# vim: ts=2 sw=2 et: +