Date: Monday, August 19, 2013 @ 11:47:57 Author: angvp Revision: 95994
archrelease: copy trunk to community-testing-any Added: python2-configglue/repos/community-testing-any/ python2-configglue/repos/community-testing-any/PKGBUILD (from rev 95993, python2-configglue/trunk/PKGBUILD) ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: python2-configglue/repos/community-testing-any/PKGBUILD (from rev 95993, python2-configglue/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2013-08-19 09:47:57 UTC (rev 95994) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +_pkgname=configglue +pkgname=python2-$_pkgname +pkgver=1.1.2 +pkgrel=2 +pkgdesc="Library that glues together python's optparse.OptionParser and ConfigParser.ConfigParser" +arch=('any') +url="https://launchpad.net/configglue" +license=('BSD') +depends=('python2-xdg') +makedepends=('python2-setuptools') +source=(http://launchpad.net/$_pkgname/trunk/$pkgver/+download/$_pkgname-$pkgver.tar.gz) +md5sums=('9ad83551a2cb4cf20cbe936c9f80bd1e') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + + python2 setup.py build +} + +check() { + cd "$srcdir/$_pkgname-$pkgver" + + python2 setup.py test +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + + python2 setup.py install --root=$pkgdir/ --optimize=1 + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}