[arch-commits] Commit in (7 files)

Ray Rashif schiv at archlinux.org
Thu Aug 28 18:56:09 UTC 2014


    Date: Thursday, August 28, 2014 @ 20:56:09
  Author: schiv
Revision: 118037

extra2community: Moving eric from extra to community

Added:
  eric/
  eric/repos/
  eric/trunk/
  eric/trunk/.contrib
  eric/trunk/PKGBUILD
  eric/trunk/eric.desktop
  eric/trunk/eric.install

--------------+
 .contrib     |    7 ++++++
 PKGBUILD     |   61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 eric.desktop |   10 +++++++++
 eric.install |   10 +++++++++
 4 files changed, 88 insertions(+)

Added: eric/trunk/.contrib
===================================================================
--- eric/trunk/.contrib	                        (rev 0)
+++ eric/trunk/.contrib	2014-08-28 18:56:09 UTC (rev 118037)
@@ -0,0 +1,7 @@
+This is a list of (past) contributors not already credited in the PKGBUILD:
+
+Eric Belanger <eric at archlinux.org>
+riai <riai at bigfoot.com>
+Ben <ben at benmazer.net>
+Daniel J Griffiths <ghost1227 at archlinux.us>
+Felix Rohrbach <fxrh at gmx.de>

Added: eric/trunk/PKGBUILD
===================================================================
--- eric/trunk/PKGBUILD	                        (rev 0)
+++ eric/trunk/PKGBUILD	2014-08-28 18:56:09 UTC (rev 118037)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# See .contrib for older/other contributors
+
+pkgname=eric
+pkgver=5.4.6
+pkgrel=1
+pkgdesc="A full-featured Python 3.x and Ruby IDE in PyQt4"
+arch=('any')
+url="http://eric-ide.python-projects.org/"
+license=('GPL3')
+depends=('python-qscintilla' 'python>=3.4')
+conflicts=('eric5')
+provides=('eric5')
+replaces=('eric5')
+install=$pkgname.install
+source=("http://downloads.sourceforge.net/eric-ide/eric5-$pkgver.tar.gz"
+        "$pkgname.desktop")
+md5sums=('c998301f6ca99971a8f51f9d9b83d545'
+         '8aa446c29e6de54e85410e040e754c6e')
+
+prepare() {
+  cd "$srcdir/eric5-$pkgver"
+
+  # some freedesktop.org compatibility adjustments (referenced at runtime)
+  # TODO: check if this is still needed, else move to package()
+  for i in $(grep -R "eric5.desktop" . | sed 's/:.*//' | sort -u); do
+    sed -i "s/eric5.desktop/eric.desktop/" $i
+  done
+
+  # desktop file later needed during build
+  rm eric/eric5.desktop
+  install -m644 "$srcdir/$pkgname.desktop" eric/$pkgname.desktop
+}
+
+package() {
+  cd "$srcdir/eric5-$pkgver"
+
+  python install.py -c -b /usr/bin -i "$pkgdir"
+
+  # Remove files conflicting with eric4
+  # what are we doing here?
+  # TODO: tell upstream to fix their stuff
+  #   and allow installation of eric4 + eric5
+  #   OR package these files separately eg. 'eric-common'
+  rm "$pkgdir/usr/share/qt4/qsci/api/python/zope-2.10.7.api"
+  rm "$pkgdir/usr/share/qt4/qsci/api/python/zope-2.11.2.api"
+  rm "$pkgdir/usr/share/qt4/qsci/api/python/zope-3.3.1.api"
+  rm "$pkgdir/usr/share/qt4/qsci/api/ruby/Ruby-1.8.7.api"
+
+  # some canonical symlinks
+  # TODO: might we want to just package this as eric5?
+  #       upstream references them as two distinct versions...
+  cd "$pkgdir/usr/bin"
+  for i in *; do
+    ln -s /usr/bin/$i ${i/eric5/eric}
+  done
+}
+
+# vim:set ts=2 sw=2 et:


Property changes on: eric/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: eric/trunk/eric.desktop
===================================================================
--- eric/trunk/eric.desktop	                        (rev 0)
+++ eric/trunk/eric.desktop	2014-08-28 18:56:09 UTC (rev 118037)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Exec=eric5
+MimeType=application/x-eric5;
+Icon=eric
+Terminal=false
+Name=Eric 5
+Comment=Python 3.x & Ruby IDE
+Categories=Qt;Python;Development;IDE;
+StartupNotify=true

Added: eric/trunk/eric.install
===================================================================
--- eric/trunk/eric.install	                        (rev 0)
+++ eric/trunk/eric.install	2014-08-28 18:56:09 UTC (rev 118037)
@@ -0,0 +1,10 @@
+post_install() {
+	echo "  > Updating desktop mime database..."
+	update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list