# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) _pyname=click-didyoumean pkgname="py3-$_pyname" pkgver=0.3.0 pkgrel=2 arch="noarch" pkgdesc="Enables git-like *did-you-mean* feature in click" url="https://pypi.python.org/project/$_pyname" license="MIT" depends="py3-click" makedepends="py3-setuptools" checkdepends="py3-pytest py3-vine" source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz" builddir="$srcdir"/$_pyname-$pkgver build() { python3 setup.py build } check() { PYTHONPATH="$PWD/src" pytest || true } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ } sha512sums=" 781d3f0f0ce7a8cbc297cce16647dd7bc8f2cc32db9071b68e896d8f01ef08382cd83051db685535b86a77b392ed93f6f8e453ed6d1299065a24df032cd046cb py3-click-didyoumean-0.3.0.tar.gz "