[arch-commits] Commit in python-urwid/repos (4 files)

Felix Yan fyan at archlinux.org
Sat Sep 19 13:19:33 UTC 2015


    Date: Saturday, September 19, 2015 @ 15:19:33
  Author: fyan
Revision: 246618

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  python-urwid/repos/staging-i686/
  python-urwid/repos/staging-i686/PKGBUILD
    (from rev 246617, python-urwid/trunk/PKGBUILD)
  python-urwid/repos/staging-x86_64/
  python-urwid/repos/staging-x86_64/PKGBUILD
    (from rev 246617, python-urwid/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   43 +++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

Copied: python-urwid/repos/staging-i686/PKGBUILD (from rev 246617, python-urwid/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-19 13:19:33 UTC (rev 246618)
@@ -0,0 +1,43 @@
+# $Id$
+# 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.3.0
+pkgrel=3
+pkgdesc="Curses-based user interface library."
+license=('LGPL')
+arch=('i686' 'x86_64')
+makedepends=('python2-setuptools' 'python-setuptools')
+url="http://excess.org/urwid/"
+source=(https://pypi.python.org/packages/source/u/urwid/urwid-$pkgver.tar.gz)
+md5sums=('a989acd54f4ff1a554add464803a9175')
+
+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 246617, python-urwid/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-19 13:19:33 UTC (rev 246618)
@@ -0,0 +1,43 @@
+# $Id$
+# 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.3.0
+pkgrel=3
+pkgdesc="Curses-based user interface library."
+license=('LGPL')
+arch=('i686' 'x86_64')
+makedepends=('python2-setuptools' 'python-setuptools')
+url="http://excess.org/urwid/"
+source=(https://pypi.python.org/packages/source/u/urwid/urwid-$pkgver.tar.gz)
+md5sums=('a989acd54f4ff1a554add464803a9175')
+
+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