New package: python-prompt_toolkit-1.0.8
This commit is contained in:
parent
1ed4e7fc8b
commit
005577ec6d
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-prompt_toolkit/template
Normal file
31
srcpkgs/python-prompt_toolkit/template
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Template file for 'python-prompt_toolkit'
|
||||||
|
pkgname=python-prompt_toolkit
|
||||||
|
version=1.0.8
|
||||||
|
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"
|
||||||
|
checksum=b686ff216fc016dcbdf9ddf18d0ded480457213886ed4cda9fbc21002d18be54
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-prompt_toolkit
Symbolic link
1
srcpkgs/python3-prompt_toolkit
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-prompt_toolkit
|
Loading…
Add table
Add a link
Reference in a new issue