2016-10-24 15:10:43 +00:00
|
|
|
# Template file for 'python-prompt_toolkit'
|
|
|
|
pkgname=python-prompt_toolkit
|
2016-11-10 09:14:24 +00:00
|
|
|
version=1.0.9
|
2016-10-24 15:10:43 +00:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
|
|
|
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"
|
2016-11-10 09:14:24 +00:00
|
|
|
checksum=cd6523b36adc174cc10d54b1193eb626b4268609ff6ea92c15bcf1996609599c
|
2016-10-24 15:10:43 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
|
|
|
python3-prompt_toolkit_package() {
|
|
|
|
noarch=yes
|
|
|
|
pycompile_module="prompt_toolkit"
|
|
|
|
depends="python3-six python3-wcwidth"
|
|
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3*
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
}
|