32 lines
935 B
Bash
32 lines
935 B
Bash
# Template file for 'python-prompt_toolkit'
|
|
pkgname=python-prompt_toolkit
|
|
version=1.0.15
|
|
revision=2
|
|
archs=noarch
|
|
wrksrc="prompt_toolkit-${version}"
|
|
build_style=python-module
|
|
pycompile_module="prompt_toolkit"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-six python-wcwidth"
|
|
short_desc="Python2 library for building powerful interactive command lines"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://github.com/jonathanslenders/python-prompt-toolkit"
|
|
license="3-clause-BSD"
|
|
distfiles="${PYPI_SITE}/p/prompt_toolkit/prompt_toolkit-${version}.tar.gz"
|
|
checksum=858588f1983ca497f1cf4ffde01d978a3ea02b01c8a26a8bbc5cd2e66d816917
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-prompt_toolkit_package() {
|
|
archs=noarch
|
|
pycompile_module="prompt_toolkit"
|
|
depends="python3-six python3-wcwidth"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|