[arch-commits] Commit in (4 files)
Maxime Gauduin
alucryd at archlinux.org
Thu Nov 30 15:16:18 UTC 2017
Date: Thursday, November 30, 2017 @ 15:16:18
Author: alucryd
Revision: 270844
Add pycharm-community-edition
Added:
pycharm-community-edition/
pycharm-community-edition/trunk/
pycharm-community-edition/trunk/PKGBUILD
pycharm-community-edition/trunk/pycharm.desktop
-----------------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
pycharm.desktop | 11 +++++++++++
2 files changed, 55 insertions(+)
Added: pycharm-community-edition/trunk/PKGBUILD
===================================================================
--- pycharm-community-edition/trunk/PKGBUILD (rev 0)
+++ pycharm-community-edition/trunk/PKGBUILD 2017-11-30 15:16:18 UTC (rev 270844)
@@ -0,0 +1,44 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: David Keogh <davekeogh at archlinux.us>
+
+pkgname=pycharm-community-edition
+pkgver=2017.3
+pkgrel=1
+pkgdesc='Python IDE for Professional Developers'
+arch=('x86_64')
+url='http://www.jetbrains.com/pycharm/'
+license=('Apache')
+depends=('gcc-libs' 'giflib' 'glibc' 'java-runtime' 'sh' 'ttf-font')
+optdepends=('ipython2: IPython integration for Python 2'
+ 'ipython: IPython integration for Python 3'
+ 'python2: Python 2 support'
+ 'python: Python 3 support')
+makedepends=('python2-setuptools' 'python-setuptools')
+conflicts=('pycharm' 'pycharm-community' 'pycharm-professional')
+provides=('pycharm')
+source=("https://download.jetbrains.com/python/pycharm-community-${pkgver}.tar.gz"
+ 'pycharm.desktop')
+sha256sums=('b973581cb3de0f0f5a203231f67b21a45b7dd58968393cef49d48403cb1b8ad1'
+ '28e0d3200c721e61831d8246eba8f72485d3c8379d10bfa75ccb5331b6749480')
+
+build() {
+ cd pycharm-community-${pkgver}
+
+ python2 helpers/pydev/setup_cython.py build_ext --inplace
+ python3 helpers/pydev/setup_cython.py build_ext --inplace
+ rm -rf bin/fsnotifier{,-arm} lib/libpty/linux/x86
+}
+
+package() {
+ cd pycharm-community-${pkgver}
+
+ install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,doc,licenses,pixmaps,pycharm}}
+ cp -dr --no-preserve='ownership' bin helpers lib plugins "${pkgdir}"/usr/share/pycharm/
+ cp -dr --no-preserve='ownership' help "${pkgdir}"/usr/share/doc/pycharm/
+ cp -dr --no-preserve='ownership' license "${pkgdir}"/usr/share/licenses/pycharm/
+ ln -s /usr/share/pycharm/bin/pycharm.sh $pkgdir/usr/bin/pycharm
+ ln -s /usr/share/pycharm/bin/pycharm.png "${pkgdir}"/usr/share/pixmaps/
+ install -m 644 ../pycharm.desktop -t "${pkgdir}"/usr/share/applications/
+}
+
+# vim: ts=2 sw=2 et:
Property changes on: pycharm-community-edition/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: pycharm-community-edition/trunk/pycharm.desktop
===================================================================
--- pycharm-community-edition/trunk/pycharm.desktop (rev 0)
+++ pycharm-community-edition/trunk/pycharm.desktop 2017-11-30 15:16:18 UTC (rev 270844)
@@ -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;
More information about the arch-commits
mailing list