mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
44 lines
965 B
Plaintext
44 lines
965 B
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-click-command-tree
|
|
pkgver=1.1.1
|
|
pkgrel=1
|
|
pkgdesc="click plugin to show the command tree of your CLI"
|
|
url="https://github.com/whwright/click-command-tree"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
python3
|
|
py3-click
|
|
"
|
|
makedepends="
|
|
py3-flake8
|
|
py3-gpep517
|
|
py3-installer
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://pypi.python.org/packages/source/c/click-command-tree/click-command-tree-$pkgver.tar.gz"
|
|
options="!check" # No tests
|
|
builddir="$srcdir/click-command-tree-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
90a1227cd7c060dcd08bc4e373e9be507b5ad40003b98a701427e9a943153fc375759d9c4c50b900249406b572f68f150547a4d1b161fa0d0671e1742f344c27 click-command-tree-1.1.1.tar.gz
|
|
"
|