26 lines
764 B
Bash
26 lines
764 B
Bash
|
# Template file for 'python3-prompt_toolkit'
|
||
|
pkgname=python3-prompt_toolkit
|
||
|
version=3.0.5
|
||
|
revision=1
|
||
|
archs=noarch
|
||
|
wrksrc="prompt_toolkit-${version}"
|
||
|
build_style=python3-module
|
||
|
hostmakedepends="python3-setuptools"
|
||
|
depends="python3-wcwidth"
|
||
|
checkdepends="${depends} python3-pytest"
|
||
|
short_desc="Python3 library for building powerful interactive command lines"
|
||
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||
|
license="BSD-3-Clause"
|
||
|
homepage="https://github.com/prompt-toolkit/python-prompt-toolkit"
|
||
|
distfiles="${PYPI_SITE}/p/prompt_toolkit/prompt_toolkit-${version}.tar.gz"
|
||
|
checksum=563d1a4140b63ff9dd587bda9557cffb2fe73650205ab6f4383092fb882e7dc8
|
||
|
conflicts="python3-prompt_toolkit2<=2.0.9_4"
|
||
|
|
||
|
do_check() {
|
||
|
python3 -m pytest
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
vlicense LICENSE
|
||
|
}
|