Date: Friday, December 4, 2015 @ 04:41:42 Author: fyan Revision: 148271
archrelease: copy trunk to community-any Added: python-argh/repos/community-any/PKGBUILD (from rev 148270, python-argh/trunk/PKGBUILD) Deleted: python-argh/repos/community-any/PKGBUILD ----------+ PKGBUILD | 102 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-12-04 03:41:24 UTC (rev 148270) +++ PKGBUILD 2015-12-04 03:41:42 UTC (rev 148271) @@ -1,51 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Francois Boulogne <fboulogne at april dot org> - -pkgname=python-argh -pkgver=0.26.1.20151013 -_commit=994dcb479a0195621b4a62f68a2ce9e990e28051 -pkgrel=1 -pkgdesc="An unobtrusive argparse wrapper with natural syntax" -arch=(any) -url="https://pypi.python.org/pypi/argh" -license=('LGPL3') -makedepends=('python-setuptools' 'python2-setuptools' 'git') -checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock' - 'python-iocapture' 'python2-iocapture') -source=("git+https://github.com/neithere/argh.git#commit=$_commit") -sha256sums=('SKIP') - -prepare() { - cp -a argh{,-py2} -} - -build() { - cd "$srcdir/argh" - python setup.py build - - cd "$srcdir/argh-py2" - python2 setup.py build -} - -check() { - cd "$srcdir/argh" - py.test - - cd "$srcdir/argh-py2" - LC_CTYPE=en_US.UTF-8 py.test2 -} - -package_python-argh() { - depends=('python') - - cd "$srcdir/argh" - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-argh() { - depends=('python2') - - cd "$srcdir/argh-py2" - python2 setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-argh/repos/community-any/PKGBUILD (from rev 148270, python-argh/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-12-04 03:41:42 UTC (rev 148271) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Francois Boulogne <fboulogne at april dot org> + +pkgname=('python-argh' 'python2-argh') +pkgver=0.26.1.20151013 +_commit=994dcb479a0195621b4a62f68a2ce9e990e28051 +pkgrel=2 +pkgdesc="An unobtrusive argparse wrapper with natural syntax" +arch=(any) +url="https://pypi.python.org/pypi/argh" +license=('LGPL3') +makedepends=('python-setuptools' 'python2-setuptools' 'git') +checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock' + 'python-iocapture' 'python2-iocapture') +source=("git+https://github.com/neithere/argh.git#commit=$_commit") +sha256sums=('SKIP') + +prepare() { + cp -a argh{,-py2} +} + +build() { + cd "$srcdir/argh" + python setup.py build + + cd "$srcdir/argh-py2" + python2 setup.py build +} + +check() { + cd "$srcdir/argh" + py.test + + cd "$srcdir/argh-py2" + LC_CTYPE=en_US.UTF-8 py.test2 +} + +package_python-argh() { + depends=('python') + + cd "$srcdir/argh" + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-argh() { + depends=('python2') + + cd "$srcdir/argh-py2" + python2 setup.py install --root="$pkgdir" --optimize=1 +}