aboutsummaryrefslogblamecommitdiffstats
path: root/community/py3-cliff/APKBUILD
blob: 1321b29c7b08f76adfd298f6d4f388a0902a52b6 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
            
        



                                                      








                      
                  


                       








                                                                             
              





                                                               
                                                                                                                                                                 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-cliff
pkgver=3.7.0
pkgrel=1
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
	"
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 --prefix=/usr --root="$pkgdir"
}

sha512sums="d3cf3ecc6778bbc676e47ebfcbc6be4ee120dd864684da58e476f52d021b5932bf9361ce2aa6a8ee4d68845ba79ec7a9174cfa7f21fa3fa16a945b96c968cc26  cliff-3.7.0.tar.gz"