diff --git a/srcpkgs/python3-prompt_toolkit/template b/srcpkgs/python3-prompt_toolkit/template new file mode 100644 index 0000000000..d32e8ee28b --- /dev/null +++ b/srcpkgs/python3-prompt_toolkit/template @@ -0,0 +1,25 @@ +# 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 " +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 +}