~dricottone/huttese-apk

ref: df06e403219741e2ed4ee6e1fe6415e1dde32f08 huttese-apk/sr.ht/py3-click-didyoumean/APKBUILD -rw-r--r-- 834 bytes
df06e403 — Drew DeVault sr.ht-nginx: update package 2 years ago
                                                                                
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
26
27
28
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-click-didyoumean
_pyname=click-didyoumean
pkgver=0.3.0
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"
makedepends="py3-setuptools"
_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="
781d3f0f0ce7a8cbc297cce16647dd7bc8f2cc32db9071b68e896d8f01ef08382cd83051db685535b86a77b392ed93f6f8e453ed6d1299065a24df032cd046cb  click-didyoumean-0.3.0.tar.gz
"