30 lines
940 B
Text
30 lines
940 B
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=py3-clikit
|
|
pkgver=0.6.2
|
|
pkgrel=2
|
|
pkgdesc="Python3 library to create beautiful and testable command-line interfaces"
|
|
url="https://github.com/sdispater/clikit"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-crashtest py3-pastel py3-pylev"
|
|
makedepends="py3-setuptools pyproject2setuppy"
|
|
checkdepends="py3-pytest py3-pytest-mock"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/sdispater/clikit/archive/refs/tags/$pkgver.tar.gz"
|
|
builddir="$srcdir/clikit-$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="
|
|
6f6e436b2161349ce03c705df594e564dbc594b03370dfd62e3b1c8f2accbbc12a1cda881ca392a096435ee243e4f772589ce6f6dfbd3af63d1656d49c3fcb04 py3-clikit-0.6.2.tar.gz
|
|
"
|