Date: Tuesday, December 6, 2011 @ 12:50:40
  Author: schiv
Revision: 144480

upgpkg: eric4 4.4.19-1

upstream release

Added:
  eric4/trunk/.contrib
Modified:
  eric4/trunk/PKGBUILD
  eric4/trunk/eric4.desktop
  eric4/trunk/eric4.install
Deleted:
  eric4/trunk/eric4.changelog

-----------------+
 .contrib        |    4 ++++
 PKGBUILD        |   22 +++++++++++-----------
 eric4.changelog |   33 ---------------------------------
 eric4.desktop   |   12 +++++++-----
 eric4.install   |   21 +++++++--------------
 5 files changed, 29 insertions(+), 63 deletions(-)

Added: .contrib
===================================================================
--- .contrib                            (rev 0)
+++ .contrib    2011-12-06 17:50:40 UTC (rev 144480)
@@ -0,0 +1,4 @@
+This is a list of (past) contributors not already credited in the PKGBUILD:
+
+riai <r...@bigfoot.com>
+Ben <b...@benmazer.net>

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2011-12-06 17:28:58 UTC (rev 144479)
+++ PKGBUILD    2011-12-06 17:50:40 UTC (rev 144480)
@@ -1,40 +1,40 @@
 # $Id$
 # Maintainer: Ray Rashif <sc...@archlinux.org>
 # Contributor: Daniel J Griffiths <ghost1...@archlinux.us>
-# Contributor: riai <r...@bigfoot.com>, Ben <b...@benmazer.net>
+# See .contrib for older/other contributors
 
 pkgname=eric4
-pkgver=4.4.18
+pkgver=4.4.19
 pkgrel=1
 pkgdesc="A full-featured Python 2.x and Ruby IDE in PyQt4"
 arch=('any')
 url="http://eric-ide.python-projects.org/";
 license=('GPL3')
-depends=('python2-qt' 'python2-qscintilla')
+depends=('python2-qscintilla')
 conflicts=('eric<5')
 install=$pkgname.install
-changelog=$pkgname.changelog
 source=("http://downloads.sourceforge.net/eric-ide/$pkgname-$pkgver.tar.gz";
         "$pkgname.desktop")
-md5sums=('fa53c6a2f9a1f0da35d6f7daac6d003a'
-         'f609e117d5132c055a5868b74e13ac77')
+md5sums=('58ac6cb0f0af79b07f0b95421dc89f53'
+         'bce515b66a2c63dfc76a0f92edbe2ecb')
 
-package() {
+build() {
        cd "$srcdir/$pkgname-$pkgver"
 
        # our pyxml is patched
        # not version-depending because not critical
        sed -i 's/v < (0, 8, 6)/v < (0, 8, 4)/' install.py
+}
 
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
        python2 install.py -c -b /usr/bin -i "$pkgdir"
 
-       sed -i 's/; /\n/' \
-    "$pkgdir/usr/lib/python2.7/site-packages/eric4.pth"
-
   # freedesktop.org compatibility
        install -Dm644 "$srcdir/$pkgname.desktop" \
                "$pkgdir/usr/share/applications/$pkgname.desktop"
-       install -Dm644 eric/icons/default/eric.png \
+  install -Dm644 eric/icons/default/eric.png \
                "$pkgdir/usr/share/pixmaps/$pkgname.png"
 }
 

Deleted: eric4.changelog
===================================================================
--- eric4.changelog     2011-12-06 17:28:58 UTC (rev 144479)
+++ eric4.changelog     2011-12-06 17:50:40 UTC (rev 144480)
@@ -1,33 +0,0 @@
-2011-04-04 Ray Rashif <sc...@archlinux.org>
-
-       * Updated: eric 4.4.12-2 -> eric4 4.4.13-1
-       Rename to eric4 for eric5 to eric transition
-       Remove eric-specific symlinks
-       See https://bugs.archlinux.org/task/22543
-
-2010-11-06 Ray Rashif <sc...@archlinux.org>
-
-       * Updated: 4.4.9
-       Shortened description
-       Updated pyxml with fix
-       Minor PKGBUILD cosmetic changes
-       Bothered to update this log
-       Only important stuff will be logged
-
-2008-05-04  Eric Belanger  <e...@archlinux.org>
-
-       * eric 4.1.3-1
-       * Upstream update
-       * Added missing executable symlinks
-
-2008-04-17  Eric Belanger  <e...@archlinux.org>
-
-       * eric 4.1.2-1
-       * Upstream update
-       * Added .desktop file
-
-2008-03-02  Eric Belanger  <e...@archlinux.org>
-
-       * eric 4.1.1-1
-       * Upstream update
-       * Added sitecustomize.py existance test in install scriptlet

Modified: eric4.desktop
===================================================================
--- eric4.desktop       2011-12-06 17:28:58 UTC (rev 144479)
+++ eric4.desktop       2011-12-06 17:50:40 UTC (rev 144480)
@@ -1,8 +1,10 @@
 [Desktop Entry]
+Type=Application
+Exec=eric4
+MimeType=application/x-eric4;
+Icon=eric4
+Terminal=false
 Name=Eric 4
 Comment=Python 2.x & Ruby IDE
-Icon=eric4
-Exec=eric4
-Terminal=false
-Type=Application
-Categories=Qt;Development;IDE;
+Categories=Qt;Python;Development;IDE;
+StartupNotify=true

Modified: eric4.install
===================================================================
--- eric4.install       2011-12-06 17:28:58 UTC (rev 144479)
+++ eric4.install       2011-12-06 17:50:40 UTC (rev 144480)
@@ -1,17 +1,10 @@
-post_upgrade() {
-  post_remove $1
+post_install() {
+       echo "  > Updating desktop mime database..."
+       update-desktop-database -q
 }
 
-post_remove() {
-  if test -e usr/lib/python2.7/site-packages/sitecustomize.py
-  then
-    sed -i -e '/import sys/d' \
-       usr/lib/python2.7/site-packages/sitecustomize.py
-    sed -i -e '/sys.setappdefaultencoding = sys.setdefaultencoding/d' \
-       usr/lib/python2.7/site-packages/sitecustomize.py
-    if test ! -s usr/lib/python2.7/site-packages/sitecustomize.py
-    then
-      rm usr/lib/python2.7/site-packages/sitecustomize.py
-    fi
-  fi
+post_upgrade() {
+       post_install
 }
+
+# vim:set ts=2 sw=2 et:

Reply via email to