Date: Friday, December 24, 2021 @ 21:01:16 Author: arojas Revision: 1083456
archrelease: copy trunk to community-testing-any Added: python-cliff/repos/community-testing-any/ python-cliff/repos/community-testing-any/PKGBUILD (from rev 1083455, python-cliff/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: python-cliff/repos/community-testing-any/PKGBUILD (from rev 1083455, python-cliff/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2021-12-24 21:01:16 UTC (rev 1083456) @@ -0,0 +1,36 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgname=python-cliff +pkgver=3.9.0 +pkgrel=1 +pkgdesc="Command Line Interface Formulation Framework" +arch=('any') +url="https://docs.openstack.org/cliff/latest/" +license=('Apache') +depends=('python-six' 'python-pbr' 'python-cmd2' 'python-prettytable' 'python-pyparsing' + 'python-stevedore' 'python-yaml' 'python-autopage') +makedepends=('git') +checkdepends=('python-stestr' 'python-mock' 'python-sphinx' 'python-testscenarios') +options=('!emptydirs') +source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/cliff/archive/$pkgver.tar.gz") +sha512sums=('832b67544a16a20f28e8079aaf40b43ef024299b64ad51c7df766b2757d622dafbf3189b490ced19a3b73f86e1931ebfb62dfd25a704f8396400865540ac462b') + +export PBR_VERSION=$pkgver + +build() { + cd cliff-$pkgver + python setup.py build +} + +check() { + cd cliff-$pkgver + stestr run +} + +package() { + cd cliff-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +# vim:set ts=2 sw=2 et: