~dricottone/huttese-apk

ref: 208ee03b471cc8448181cb8b624cd9fb8cfe09a3 huttese-apk/sr.ht/py3-click-didyoumean/APKBUILD -rw-r--r-- 803 bytes
208ee03b — Drew DeVault py3-click-didyoumean 4 years ago
                                                                                
208ee03b Drew DeVault
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"