Date: Saturday, September 7, 2019 @ 13:15:00 Author: felixonmars Revision: 508404
archrelease: copy trunk to community-any Added: python-cliff/repos/community-any/PKGBUILD (from rev 508403, python-cliff/trunk/PKGBUILD) Deleted: python-cliff/repos/community-any/PKGBUILD ----------+ PKGBUILD | 122 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 61 insertions(+), 61 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-09-07 13:14:48 UTC (rev 508403) +++ PKGBUILD 2019-09-07 13:15:00 UTC (rev 508404) @@ -1,61 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgbase=python-cliff -pkgname=(python-cliff python2-cliff) -pkgver=2.15.0 -pkgrel=1 -pkgdesc="Command Line Interface Formulation Framework" -arch=('any') -url="https://docs.openstack.org/cliff/latest/" -license=('Apache') -makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' - 'python-cmd2' 'python2-cmd2' 'python-prettytable' 'python2-prettytable' - 'python-pyparsing' 'python2-pyparsing' 'python-stevedore' - 'python2-stevedore' 'python2-unicodecsv' 'python-yaml' 'python2-yaml') -checkdepends=('python-testrepository' 'python2-testrepository' 'python-mock' 'python2-mock' - 'python-sphinx' 'python2-sphinx' 'python-oslosphinx' 'python2-oslosphinx' - 'python-testscenarios' 'python2-testscenarios') -options=('!emptydirs') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/cliff/archive/$pkgver.tar.gz") -sha512sums=('ca1d8cef8eb8f89cedeb3689baf227edbbc15c494cd730b892081fbcaf4b0f4d11792e9899d4b9c3ae9329940b2eca5a92814c1aa99faf7f5f88dc5d6b703f84') - -prepare() { - cp -a cliff-$pkgver{,-py2} - - export PBR_VERSION=$pkgver -} - -build() { - cd "$srcdir"/cliff-$pkgver - python setup.py build - - cd "$srcdir"/cliff-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/cliff-$pkgver - python setup.py testr - - cd "$srcdir"/cliff-$pkgver-py2 - PYTHON=python2 python2 setup.py testr -} - -package_python-cliff() { - depends=('python-six' 'python-pbr' 'python-cmd2' 'python-prettytable' 'python-pyparsing' - 'python-stevedore' 'python-yaml') - - cd "$srcdir"/cliff-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-cliff() { - depends=('python2-six' 'python2-pbr' 'python2-cmd2' 'python2-prettytable' 'python2-pyparsing' - 'python2-stevedore' 'python2-unicodecsv' 'python2-yaml') - - cd "$srcdir"/cliff-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: python-cliff/repos/community-any/PKGBUILD (from rev 508403, python-cliff/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-09-07 13:15:00 UTC (rev 508404) @@ -0,0 +1,61 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgbase=python-cliff +pkgname=(python-cliff python2-cliff) +pkgver=2.16.0 +pkgrel=1 +pkgdesc="Command Line Interface Formulation Framework" +arch=('any') +url="https://docs.openstack.org/cliff/latest/" +license=('Apache') +makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' + 'python-cmd2' 'python2-cmd2' 'python-prettytable' 'python2-prettytable' + 'python-pyparsing' 'python2-pyparsing' 'python-stevedore' + 'python2-stevedore' 'python2-unicodecsv' 'python-yaml' 'python2-yaml') +checkdepends=('python-testrepository' 'python2-testrepository' 'python-mock' 'python2-mock' + 'python-sphinx' 'python2-sphinx' 'python-oslosphinx' 'python2-oslosphinx' + 'python-testscenarios' 'python2-testscenarios') +options=('!emptydirs') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/cliff/archive/$pkgver.tar.gz") +sha512sums=('4d789c683bd23a624beb0cbcb2cae2a31858b7da3625b5c15d274a25195d27f41ea0dc949e00dc381457d6a31ba5221160c23e347767edfd0babb4bd41c373f6') + +prepare() { + cp -a cliff-$pkgver{,-py2} + + export PBR_VERSION=$pkgver +} + +build() { + cd "$srcdir"/cliff-$pkgver + python setup.py build + + cd "$srcdir"/cliff-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/cliff-$pkgver + python setup.py testr + + cd "$srcdir"/cliff-$pkgver-py2 + PYTHON=python2 python2 setup.py testr +} + +package_python-cliff() { + depends=('python-six' 'python-pbr' 'python-cmd2' 'python-prettytable' 'python-pyparsing' + 'python-stevedore' 'python-yaml') + + cd "$srcdir"/cliff-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-cliff() { + depends=('python2-six' 'python2-pbr' 'python2-cmd2' 'python2-prettytable' 'python2-pyparsing' + 'python2-stevedore' 'python2-unicodecsv' 'python2-yaml') + + cd "$srcdir"/cliff-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 +} + +# vim:set ts=2 sw=2 et: