# Contributor: psykose # Maintainer: Antoine Martin (ayakael) pkgname=py3-click-didyoumean pkgver=0.3.0 pkgrel=3 pkgdesc="Git-like did-you-mean feature in click" url="https://github.com/click-contrib/click-didyoumean" arch="noarch" license="MIT" depends="python3 py3-click" makedepends="py3-gpep517 py3-poetry-core" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/click-contrib/click-didyoumean/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/click-didyoumean-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { PYTHONPATH=src \ pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 4927ee392f27950c3f7ef5e0f1d5a5e2421172f3e9d34ec76986c9c7ea698cfa1981678a06fb8682577d6ed04c242c42bdd1d796d7623a1c99dfdbdb61c80fca py3-click-didyoumean-0.3.0.tar.gz "