[arch-commits] Commit in python-urwid/trunk (PKGBUILD)

Rémy Oudompheng remy at archlinux.org
Sat Sep 4 14:11:48 UTC 2010


    Date: Saturday, September 4, 2010 @ 10:11:47
  Author: remy
Revision: 89855

upgpkg: python-urwid 0.9.9.1-2
Rebuild for python 2.7

Modified:
  python-urwid/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-09-04 14:07:54 UTC (rev 89854)
+++ PKGBUILD	2010-09-04 14:11:47 UTC (rev 89855)
@@ -5,19 +5,19 @@
 
 pkgname=python-urwid
 pkgver=0.9.9.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Urwid is a curses-based user interface library."
 license=('GPL')
 arch=('i686' 'x86_64')
-depends=('python')
+depends=('python2')
 url="http://excess.org/urwid/"
 source=(http://excess.org/urwid/urwid-$pkgver.tar.gz)
 md5sums=('4722cdf898f711dcae1121aa80920152')
 
 build() {
   cd $startdir/src/urwid-$pkgver
+  sed -i 's#bin/python#bin/python2#' urwid/*.py
+  python2 setup.py install --prefix=/usr --root=$startdir/pkg || return 1
 
-  python setup.py install --prefix=/usr --root=$startdir/pkg || return 1
-
   rm -rf $startdir/src/$_hgname-build
 }




More information about the arch-commits mailing list