1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-click-didyoumean
6 pkgdesc="Enable git-like did-you-mean feature in click"
7 url="https://github.com/click-contrib/click-didyoumean"
10 depends=('python-click')
11 makedepends=('python-build' 'python-installer' 'python-poetry-core')
12 checkdepends=('python-pytest')
13 source=("https://github.com/click-contrib/click-didyoumean/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
14 sha512sums=('4927ee392f27950c3f7ef5e0f1d5a5e2421172f3e9d34ec76986c9c7ea698cfa1981678a06fb8682577d6ed04c242c42bdd1d796d7623a1c99dfdbdb61c80fca')
17 cd click-didyoumean-$pkgver
22 cd click-didyoumean-$pkgver
23 PYTHONPATH="$PWD/src" pytest
27 cd click-didyoumean-$pkgver
28 python -m installer --destdir="$pkgdir" dist/*.whl
29 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/