A sr.ht/py3-click-repl/APKBUILD => sr.ht/py3-click-repl/APKBUILD +28 -0
@@ 0,0 1,28 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname=py3-click-repl
+_pyname=click-repl
+pkgver=0.1.6
+pkgrel=0
+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="50576166e8eb61098b8b4e1c7db43101c226d09785a497539830addfd52a2c35b2fa7865d3cbb20559dcf2fea99801f306dcb05c177886f021a1ada188501ced click-repl-0.1.6.tar.gz"