# Contributor: Duncan Bellamy # Contributor: Leo # Maintainer: Duncan Bellamy pkgname=py3-cleo _realname=cleo pkgver=0.8.1 pkgrel=2 pkgdesc="Python3 library to create beautiful and testable command-line interfaces" url="https://github.com/sdispater/cleo" arch="noarch" license="MIT" depends="python3 py3-pastel py3-pylev py3-clikit" checkdepends="py3-pytest py3-pytest-mock" makedepends="pyproject2setuppy" source="$pkgname-$pkgver.tar.gz::https://github.com/sdispater/cleo/archive/refs/tags/$pkgver.tar.gz" builddir="$srcdir/$_realname-$pkgver" build() { python3 -m pyproject2setuppy.main build } check() { PYTHONPATH="$PWD/build/lib" py.test-3 -v } package() { python3 -m pyproject2setuppy.main install --prefix=/usr --root="$pkgdir" } sha512sums=" 9cd470063db9866a526f0bb8619d772c585377d5b1a662e0f94bad9fb9c853598b176444ca1ac0fadec82992196c471646504d6a28d4dcd1171433b8d160be9c py3-cleo-0.8.1.tar.gz "