void-packages/srcpkgs/python-prompt_toolkit1/template

35 lines
1.0 KiB
Bash

# Template file for 'python-prompt_toolkit1'
pkgname=python-prompt_toolkit1
reverts="2.0.9_1"
version=1.0.18
revision=1
archs=noarch
wrksrc="prompt_toolkit-${version}"
build_style=python2-module
hostmakedepends="python-setuptools"
depends="python-six python-wcwidth"
short_desc="Python2 library for building powerful interactive command lines"
maintainer="xaltsc <xaltsc@protonmail.ch>"
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=dd4fca02c8069497ad931a2d09914c6b0d1b50151ce876bc15bde4c747090126
conflicts="python-prompt_toolkit2<=2.0.9_4"
post_install() {
vlicense LICENSE
}
python3-prompt_toolkit1_package() {
build_style=meta
short_desc="Python3 library for building command lines (removed package)"
license="metapackage"
}
python-prompt_toolkit_package() {
reverts="2.0.9_1"
build_style=meta
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
}