summaryrefslogtreecommitdiff
path: root/extra/python-urwid/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2011-12-26 17:57:29 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2011-12-26 17:57:29 +0100
commit025f5565da8ee014457f56851fca55c36619787c (patch)
tree1705231f784a4ec514287e99d3967b3495dacc23 /extra/python-urwid/PKGBUILD
parentd4891d626bd0699dafdcfa776ad0ee48df04f2d4 (diff)
parente39d5f838c08b5b57eae4c1aec4ae00acd18b239 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/percona-server/PKGBUILD community/libdnet/PKGBUILD extra/libxfce4ui/PKGBUILD extra/libxi/PKGBUILD extra/live-media/PKGBUILD extra/python-urwid/PKGBUILD extra/qtwebkit/PKGBUILD extra/rhythmbox/PKGBUILD extra/xfconf/PKGBUILD kde-unstable/kactivities/PKGBUILD kde-unstable/kdeaccessibility-jovie/PKGBUILD kde-unstable/kdeaccessibility-kaccessible/PKGBUILD kde-unstable/kdeaccessibility-kmag/PKGBUILD kde-unstable/kdeaccessibility-kmousetool/PKGBUILD kde-unstable/kdeaccessibility-kmouth/PKGBUILD kde-unstable/kdeadmin/PKGBUILD kde-unstable/kdeartwork/PKGBUILD kde-unstable/kdebase-konsole/PKGBUILD kde-unstable/kdebase-runtime/PKGBUILD kde-unstable/kdebase-workspace/PKGBUILD kde-unstable/kdebase/PKGBUILD kde-unstable/kdebindings-kimono/PKGBUILD kde-unstable/kdebindings-kross/PKGBUILD kde-unstable/kdebindings-perlkde/PKGBUILD kde-unstable/kdebindings-perlqt/PKGBUILD kde-unstable/kdebindings-python/PKGBUILD kde-unstable/kdebindings-qtruby/PKGBUILD kde-unstable/kdebindings-qyoto/PKGBUILD kde-unstable/kdebindings-smokegen/PKGBUILD kde-unstable/kdebindings-smokekde/PKGBUILD kde-unstable/kdebindings-smokeqt/PKGBUILD kde-unstable/kdeedu-analitza/PKGBUILD kde-unstable/kdeedu-blinken/PKGBUILD kde-unstable/kdeedu-cantor/PKGBUILD kde-unstable/kdeedu-kalgebra/PKGBUILD kde-unstable/kdeedu-kalzium/PKGBUILD kde-unstable/kdeedu-kanagram/PKGBUILD kde-unstable/kdeedu-kbruch/PKGBUILD kde-unstable/kdeedu-kgeography/PKGBUILD kde-unstable/kdeedu-khangman/PKGBUILD kde-unstable/kdeedu-kig/PKGBUILD kde-unstable/kdeedu-kiten/PKGBUILD kde-unstable/kdeedu-klettres/PKGBUILD kde-unstable/kdeedu-kmplot/PKGBUILD kde-unstable/kdeedu-kstars/PKGBUILD kde-unstable/kdeedu-ktouch/PKGBUILD kde-unstable/kdeedu-kturtle/PKGBUILD kde-unstable/kdeedu-kwordquiz/PKGBUILD kde-unstable/kdeedu-marble/PKGBUILD kde-unstable/kdeedu-parley/PKGBUILD kde-unstable/kdeedu-rocs/PKGBUILD kde-unstable/kdeedu-step/PKGBUILD kde-unstable/kdegames/PKGBUILD kde-unstable/kdegraphics-gwenview/PKGBUILD kde-unstable/kdegraphics-kamera/PKGBUILD kde-unstable/kdegraphics-kcolorchooser/PKGBUILD kde-unstable/kdegraphics-kgamma/PKGBUILD kde-unstable/kdegraphics-kolourpaint/PKGBUILD kde-unstable/kdegraphics-kruler/PKGBUILD kde-unstable/kdegraphics-ksaneplugin/PKGBUILD kde-unstable/kdegraphics-ksnapshot/PKGBUILD kde-unstable/kdegraphics-mobipocket/PKGBUILD kde-unstable/kdegraphics-okular/PKGBUILD kde-unstable/kdegraphics-strigi-analyzer/PKGBUILD kde-unstable/kdegraphics-svgpart/PKGBUILD kde-unstable/kdegraphics-thumbnailers/PKGBUILD kde-unstable/kdelibs/PKGBUILD kde-unstable/kdemultimedia/PKGBUILD kde-unstable/kdenetwork/PKGBUILD kde-unstable/kdepim-runtime/PKGBUILD kde-unstable/kdepim/PKGBUILD kde-unstable/kdepimlibs/PKGBUILD kde-unstable/kdeplasma-addons/PKGBUILD kde-unstable/kdesdk-kate/PKGBUILD kde-unstable/kdesdk-kate/kdesdk-kate.install kde-unstable/kdesdk/PKGBUILD kde-unstable/kdetoys/PKGBUILD kde-unstable/kdeutils-filelight/PKGBUILD kde-unstable/kdeutils-kcalc/PKGBUILD kde-unstable/kdeutils-kcharselect/PKGBUILD kde-unstable/kdeutils-kdf/PKGBUILD kde-unstable/kdeutils-kfloppy/PKGBUILD kde-unstable/kdeutils-kgpg/PKGBUILD kde-unstable/kdeutils-kremotecontrol/PKGBUILD kde-unstable/kdeutils-ktimer/PKGBUILD kde-unstable/kdeutils-kwallet/PKGBUILD kde-unstable/kdeutils-printer-applet/PKGBUILD kde-unstable/kdeutils-superkaramba/PKGBUILD kde-unstable/kdeutils-sweeper/PKGBUILD kde-unstable/kdewebdev/PKGBUILD kde-unstable/libkdcraw/PKGBUILD kde-unstable/libkdeedu/PKGBUILD kde-unstable/libkexiv2/PKGBUILD kde-unstable/libkipi/PKGBUILD kde-unstable/libksane/PKGBUILD multilib/lib32-attr/PKGBUILD multilib/lib32-libldap/PKGBUILD multilib/lib32-libxi/PKGBUILD ~lukeshu/android-udev/51-android.rules ~lukeshu/android-udev/PKGBUILD
Diffstat (limited to 'extra/python-urwid/PKGBUILD')
-rw-r--r--extra/python-urwid/PKGBUILD33
1 files changed, 26 insertions, 7 deletions
diff --git a/extra/python-urwid/PKGBUILD b/extra/python-urwid/PKGBUILD
index b29fdccd6..08fec228f 100644
--- a/extra/python-urwid/PKGBUILD
+++ b/extra/python-urwid/PKGBUILD
@@ -3,21 +3,40 @@
# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org>
# Maintainer: Douglas Soares de Andrade <dsandrade@gmail.com>
-pkgname=python-urwid
-pkgver=0.9.9.2
+pkgname=('python-urwid' 'python2-urwid')
+pkgver=1.0.1
pkgrel=1
pkgdesc="Urwid is a curses-based user interface library."
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
-depends=('python2')
+makedepends=('python2-distribute' 'python-distribute')
url="http://excess.org/urwid/"
source=(http://excess.org/urwid/urwid-$pkgver.tar.gz)
-md5sums=('e58b86a983fe5474a07749501748b728')
+md5sums=('828f7144b94920205e755c249d2e297f')
build() {
- cd $startdir/src/urwid-$pkgver
+ 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 install --prefix=/usr --root=$startdir/pkg || return 1
+
+ python2 setup.py build
+}
+
+package_python-urwid() {
+ depends=('python')
- rm -rf $startdir/src/$_hgname-build
+ 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
+}
+