[arch-commits] CVS update of extra/devel/eric (PKGBUILD eric.install)

Eric Belanger eric at archlinux.org
Sat Nov 24 01:29:58 UTC 2007


    Date: Friday, November 23, 2007 @ 20:29:58
  Author: eric
    Path: /home/cvs-extra/extra/devel/eric

Modified: PKGBUILD (1.23 -> 1.24) eric.install (1.2 -> 1.3)

upgpkg: eric 4.0.3-1
upstrem update to eric4 which uses qt4, added post-install message, added version independent symlinks


--------------+
 PKGBUILD     |   42 +++++++++++++++++++++++++++++-------------
 eric.install |    8 ++++++++
 2 files changed, 37 insertions(+), 13 deletions(-)


Index: extra/devel/eric/PKGBUILD
diff -u extra/devel/eric/PKGBUILD:1.23 extra/devel/eric/PKGBUILD:1.24
--- extra/devel/eric/PKGBUILD:1.23	Sat Nov 17 18:17:06 2007
+++ extra/devel/eric/PKGBUILD	Fri Nov 23 20:29:58 2007
@@ -1,24 +1,40 @@
-# $Id: PKGBUILD,v 1.23 2007/11/17 23:17:06 pierre Exp $
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# $Id: PKGBUILD,v 1.24 2007/11/24 01:29:58 eric Exp $
+# Maintainer: Eric Belanger <eric at archlinux.org>
 # Contributor: riai <riai at bigfoot.com>, Ben <ben at benmazer.net>
 
 pkgname=eric
-pkgver=3.9.5
-pkgrel=3
-pkgdesc="eric3 is a full-featured Python IDE that is written in PyQt \
-using the QScintilla editor widget."
+pkgver=4.0.3
+pkgrel=1
+pkgdesc="A full-featured Python IDE that is written in PyQt4 using the QScintilla2 editor widget"
 arch=('i686' 'x86_64')
-url="http://www.die-offenbachs.de/detlev/eric3.html"
+url="http://www.die-offenbachs.de/eric/index.html"
 license=('GPL')
-depends=('python>=2.5' 'qt3' 'qscintilla-qt3' 'sip' 'pyqt3')
+depends=('python-qscintilla')
+conflicts=('eric4')
+replaces=('eric4')
 install=eric.install
-source=(http://dl.sourceforge.net/sourceforge/eric-ide/$pkgname-$pkgver.tar.gz)
-md5sums=('63d6fb3c302b603577554af62520c948')
+source=(http://downloads.sourceforge.net/sourceforge/eric-ide/eric4-$pkgver.tar.gz)
+md5sums=('cceb5cbe789bdf7de46683b613eb912c')
+sha1sums=('81b467768bce5c3736ff35e0f59ec9d718a7248e')
 
 build() {
-  . /etc/profile.d/qt3.sh
-  cd $startdir/src/$pkgname-$pkgver
+  cd $startdir/src/eric4-$pkgver
   python install.py -b /usr/bin -d /usr/lib/python2.5/site-packages -i $startdir/pkg
-  # remove sitecustomize.py we will fix that with eric.install
+# remove sitecustomize.py we will fix that with eric.install
   rm $startdir/pkg/usr/lib/python2.5/site-packages/sitecustomize.py
+
+# Creating version independant symlinks
+  ln -s /usr/bin/eric4 $startdir/pkg/usr/bin/eric
+  ln -s /usr/bin/eric4-api $startdir/pkg/usr/bin/eric-api
+  ln -s /usr/bin/eric4-compare $startdir/pkg/usr/bin/eric-compare
+  ln -s /usr/bin/eric4-configure $startdir/pkg/usr/bin/eric-configure
+  ln -s /usr/bin/eric4-diff $startdir/pkg/usr/bin/eric-diff
+  ln -s /usr/bin/eric4-doc $startdir/pkg/usr/bin/eric-doc
+  ln -s /usr/bin/eric4-helpviewer $startdir/pkg/usr/bin/eric-helpviewer
+  ln -s /usr/bin/eric4-qregexp $startdir/pkg/usr/bin/eric-qregexp
+  ln -s /usr/bin/eric4-re $startdir/pkg/usr/bin/eric-re
+  ln -s /usr/bin/eric4-tray $startdir/pkg/usr/bin/eric-tray
+  ln -s /usr/bin/eric4-trpreviewer $startdir/pkg/usr/bin/eric-trpreviewer
+  ln -s /usr/bin/eric4-uipreviewer $startdir/pkg/usr/bin/eric-uipreviewer
+  ln -s /usr/bin/eric4-unittest $startdir/pkg/usr/bin/eric-unittest
 }
Index: extra/devel/eric/eric.install
diff -u extra/devel/eric/eric.install:1.2 extra/devel/eric/eric.install:1.3
--- extra/devel/eric/eric.install:1.2	Fri Apr  6 09:22:31 2007
+++ extra/devel/eric/eric.install	Fri Nov 23 20:29:58 2007
@@ -7,6 +7,14 @@
     echo 'sys.setappdefaultencoding = sys.setdefaultencoding' \
 	>> usr/lib/python2.5/site-packages/sitecustomize.py
   fi
+
+  cat << EOF
+==> If you would like to use the autocompletion feature please call
+==> the gen_sip_api.py and/or gen_python_api.py script available
+==> on the eric4 contribution page or get ready made api-files
+==> from this contribution page.
+EOF
+
 }
 
 post_upgrade() {




More information about the arch-commits mailing list