~dricottone/huttese-apk

ref: 8ac1c5243cbce770ba0f7deb72e61371150e2cb4 huttese-apk/sr.ht/py3-click-repl/APKBUILD -rw-r--r-- 777 bytes
8ac1c524 — Drew DeVault py3-*: bump pkgrel for python rebuild 3 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
29
30
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-click-repl
_pyname=click-repl
pkgver=0.2.0
pkgrel=2
pkgdesc="REPL plugin for Click"
url="https://pypi.org/project/click-repl/"
arch="noarch"
license="MIT"
depends="py3-click py3-prompt_toolkit py3-six"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="
b377e1efda7f8dd20b90f531c49dd42a372db789331f8cfcca63169be17fe429dfc66d5a1e5ef7376eacfdb41167f933ec68b63a170aae45af09b086f826edf0  click-repl-0.2.0.tar.gz
"