# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=py3-click-aliases pkgver=1.0.1 pkgrel=0 pkgdesc="Enable aliases for Click" url="https://github.com/click-contrib/click-aliases" arch="noarch" license="MIT" depends="py3-click" makedepends=" py3-gpep517 py3-setuptools py3-wheel " checkdepends=" py3-pytest " subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/click-contrib/click-aliases/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/click-aliases-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m pytest -k 'not test_invalid' } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" f3f8c912fdb7dc40689c956832cbdde0acbb5f0e20d98a6555db19a2a42b725d90e90556e3cc3af19969eb1ef822b305c9c292dee961d209a6c4a555c07f705e py3-click-aliases-1.0.1.tar.gz "