[arch-commits] Commit in python-urwid/repos (4 files)
Eric Bélanger
eric at archlinux.org
Wed Oct 10 05:00:21 UTC 2012
Date: Wednesday, October 10, 2012 @ 01:00:20
Author: eric
Revision: 168394
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
python-urwid/repos/staging-i686/
python-urwid/repos/staging-i686/PKGBUILD
(from rev 168393, python-urwid/trunk/PKGBUILD)
python-urwid/repos/staging-x86_64/
python-urwid/repos/staging-x86_64/PKGBUILD
(from rev 168393, python-urwid/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
Copied: python-urwid/repos/staging-i686/PKGBUILD (from rev 168393, python-urwid/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2012-10-10 05:00:20 UTC (rev 168394)
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD,v 1.10 2009/03/13 21:14:09 sergej Exp $
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+# Maintainer: Sergej Pupykin <sergej at aur.archlinux.org>
+# Maintainer: Douglas Soares de Andrade <dsandrade at gmail.com>
+
+pkgname=('python-urwid' 'python2-urwid')
+pkgver=1.0.2
+pkgrel=2
+pkgdesc="Urwid is a curses-based user interface library."
+license=('LGPL')
+arch=('i686' 'x86_64')
+makedepends=('python2-distribute' 'python-distribute')
+url="http://excess.org/urwid/"
+source=(http://excess.org/urwid/urwid-$pkgver.tar.gz)
+md5sums=('00542bbd15fae7ea60b02a7570edee2b')
+
+build() {
+ cp -r urwid-$pkgver python2-urwid-$pkgver
+
+ cd "$srcdir/urwid-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/python2-urwid-$pkgver"
+ sed -i 's#bin/python#bin/python2#' urwid/*.py
+
+ python2 setup.py build
+}
+
+package_python-urwid() {
+ depends=('python')
+
+ cd "$srcdir/urwid-$pkgver"
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
+
+package_python2-urwid() {
+ depends=('python2')
+
+ cd "$srcdir/python2-urwid-$pkgver"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
+
Copied: python-urwid/repos/staging-x86_64/PKGBUILD (from rev 168393, python-urwid/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-10-10 05:00:20 UTC (rev 168394)
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD,v 1.10 2009/03/13 21:14:09 sergej Exp $
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+# Maintainer: Sergej Pupykin <sergej at aur.archlinux.org>
+# Maintainer: Douglas Soares de Andrade <dsandrade at gmail.com>
+
+pkgname=('python-urwid' 'python2-urwid')
+pkgver=1.0.2
+pkgrel=2
+pkgdesc="Urwid is a curses-based user interface library."
+license=('LGPL')
+arch=('i686' 'x86_64')
+makedepends=('python2-distribute' 'python-distribute')
+url="http://excess.org/urwid/"
+source=(http://excess.org/urwid/urwid-$pkgver.tar.gz)
+md5sums=('00542bbd15fae7ea60b02a7570edee2b')
+
+build() {
+ cp -r urwid-$pkgver python2-urwid-$pkgver
+
+ cd "$srcdir/urwid-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/python2-urwid-$pkgver"
+ sed -i 's#bin/python#bin/python2#' urwid/*.py
+
+ python2 setup.py build
+}
+
+package_python-urwid() {
+ depends=('python')
+
+ cd "$srcdir/urwid-$pkgver"
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
+
+package_python2-urwid() {
+ depends=('python2')
+
+ cd "$srcdir/python2-urwid-$pkgver"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
+
More information about the arch-commits
mailing list