# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py3-configshell
_pkgname=configshell
pkgver=1.1.30
pkgrel=1
pkgdesc="Python library that provides a framework for building simple but nice CLI-based applications"
url="https://github.com/open-iscsi/configshell-fb"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-six py3-urwid py3-parsing"
makedepends="py3-setuptools"
options="!check" # no test suite
subpackages="$pkgname-pyc"
source="$_pkgname-fb-$pkgver.tar.gz::https://github.com/open-iscsi/configshell-fb/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-fb-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
b3189130ac047fe28ea987391591b7886f7234864d455a8423d1d65b02a514511e2a32dce1429a6b71cedbc0b7cb6e6e10f29d240b746d222c285f0baa6b46b0  configshell-fb-1.1.30.tar.gz
"
