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

Eric Belanger eric at archlinux.org
Sun Feb 17 01:06:31 UTC 2008


    Date: Saturday, February 16, 2008 @ 20:06:31
  Author: eric
    Path: /home/cvs-extra/extra/devel/eric

Modified: PKGBUILD (1.26 -> 1.27) eric.install (1.4 -> 1.5)

upgpkg: eric 4.1.0-1
    upstream update, fixed license, updated .install file


--------------+
 PKGBUILD     |   15 +++++++--------
 eric.install |   18 +-----------------
 2 files changed, 8 insertions(+), 25 deletions(-)


Index: extra/devel/eric/PKGBUILD
diff -u extra/devel/eric/PKGBUILD:1.26 extra/devel/eric/PKGBUILD:1.27
--- extra/devel/eric/PKGBUILD:1.26	Fri Feb  1 22:15:15 2008
+++ extra/devel/eric/PKGBUILD	Sat Feb 16 20:06:31 2008
@@ -1,27 +1,26 @@
-# $Id: PKGBUILD,v 1.26 2008/02/02 03:15:15 eric Exp $
+# $Id: PKGBUILD,v 1.27 2008/02/17 01:06:31 eric Exp $
 # Maintainer: Eric Belanger <eric at archlinux.org>
 # Contributor: riai <riai at bigfoot.com>, Ben <ben at benmazer.net>
 
 pkgname=eric
-pkgver=4.0.4
+pkgver=4.1.0
 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/eric/index.html"
-license=('GPL')
+license=('GPL2')
 depends=('python-qscintilla')
 conflicts=('eric4')
 replaces=('eric4')
 install=eric.install
 source=(http://downloads.sourceforge.net/sourceforge/eric-ide/eric4-$pkgver.tar.gz)
-md5sums=('1886926945a95c92f2151d5135120c67')
-sha1sums=('902e851423d2ccdf43e977514b710c29d7c96f54')
+md5sums=('2ab6fa6daa21c48d0b4630c424f7e5c5')
+sha1sums=('43f04fdeb5d6671d9ccf36c7bd99859d1abafaa3')
 
 build() {
   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
-  rm $startdir/pkg/usr/lib/python2.5/site-packages/sitecustomize.py
+  sed -i "s|pdir = os.path.join(modDir, \"eric4plugins\")|pdir = \"$startdir/pkg/usr/lib/python2.5/site-packages/eric4plugins\"|" install.py || return 1
+  python install.py -c -b /usr/bin -d /usr/lib/python2.5/site-packages -i $startdir/pkg || return 1
 
 # Creating version independant symlinks
   ln -s /usr/bin/eric4 $startdir/pkg/usr/bin/eric
Index: extra/devel/eric/eric.install
diff -u extra/devel/eric/eric.install:1.4 extra/devel/eric/eric.install:1.5
--- extra/devel/eric/eric.install:1.4	Sun Dec  2 17:30:42 2007
+++ extra/devel/eric/eric.install	Sat Feb 16 20:06:31 2008
@@ -1,16 +1,5 @@
-post_install() {
-  if ! grep '^import sys' usr/lib/python2.5/site-packages/sitecustomize.py >/dev/null 2>&1; then
-    echo "import sys" >> usr/lib/python2.5/site-packages/sitecustomize.py
-  fi
-  if ! grep 'sys.setappdefaultencoding = sys.setdefaultencoding' \
-	usr/lib/python2.5/site-packages/sitecustomize.py >/dev/null 2>&1; then
-    echo 'sys.setappdefaultencoding = sys.setdefaultencoding' \
-	>> usr/lib/python2.5/site-packages/sitecustomize.py
-  fi
-}
-
 post_upgrade() {
-  post_install $1
+  post_remove $1
 }
 
 post_remove() {
@@ -23,8 +12,3 @@
   rm /usr/lib/python2.5/site-packages/sitecustomize.py
   fi
 }
-
-op=$1
-shift
-
-$op $*




More information about the arch-commits mailing list