A sr.ht/py3-click-didyoumean/APKBUILD => sr.ht/py3-click-didyoumean/APKBUILD +25 -0
@@ 0,0 1,25 @@
+# Contributor: Drew DeVault <sir@cmpwn.com>
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname=py3-click-didyoumean
+_pyname=click-didyoumean
+pkgver=0.0.3
+pkgrel=0
+pkgdesc="Enable git-like did-you-mean feature in click"
+url="https://pypi.org/project/click-didyoumean/"
+arch="noarch"
+license="MIT"
+depends="py3-click"
+_pypiprefix="${_pyname%${_pyname#?}}"
+source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
+builddir="$srcdir"/$_pyname-$pkgver
+options="!check" # no tests
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="7275d90e648852243197507ec6ad47d6adda56d72dea52a5916e80c895cd3ad6ba4e76450d2871c1a048a9fb3a0e4b8b5bbd460f995975da4eb7d865ad3c6f10 click-didyoumean-0.0.3.tar.gz"