# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=py3-cliff pkgver=4.3.0 pkgrel=0 pkgdesc="Command Line Interface Formulation Framework" url="https://docs.openstack.org/cliff/latest/" arch="noarch" license="Apache-2.0" depends=" py3-yaml python3 " makedepends=" py3-pbr py3-setuptools " checkdepends=" py3-pytest py3-prettytable py3-stevedore " subpackages="$pkgname-pyc" source="https://pypi.python.org/packages/source/c/cliff/cliff-$pkgver.tar.gz" options="!check" # Requires specific (old) version of py3-cmd2 builddir="$srcdir/cliff-$pkgver" build() { python3 setup.py build } check() { pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" b4ed6fcec05017c999d54188459aa93c9a35660b0ceb505525f22a6bb7632e3548e91d8dc00db381c314a3818be2a457b7aee3307da35915ea7519c1e13091a3 cliff-4.3.0.tar.gz "