# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-click-repl
_pyname=click-repl
pkgver=0.2.0
pkgrel=1
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
"