~dricottone/huttese-apk

ref: 8ac1c5243cbce770ba0f7deb72e61371150e2cb4 huttese-apk/sr.ht/py3-click-didyoumean/APKBUILD -rw-r--r-- 832 bytes
8ac1c524 — Drew DeVault py3-*: bump pkgrel for python rebuild 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
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-click-didyoumean
_pyname=click-didyoumean
pkgver=0.0.3
pkgrel=4
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="7275d90e648852243197507ec6ad47d6adda56d72dea52a5916e80c895cd3ad6ba4e76450d2871c1a048a9fb3a0e4b8b5bbd460f995975da4eb7d865ad3c6f10  click-didyoumean-0.0.3.tar.gz"