New package: python-prompt_toolkit1-1.0.15
This commit is contained in:
parent
560eace82f
commit
13344e66f2
2 changed files with 36 additions and 0 deletions
35
srcpkgs/python-prompt_toolkit1/template
Normal file
35
srcpkgs/python-prompt_toolkit1/template
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# Template file for 'python-prompt_toolkit1'
|
||||||
|
pkgname=python-prompt_toolkit1
|
||||||
|
version=1.0.15
|
||||||
|
revision=1
|
||||||
|
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="xaltsc <xaltsc@protonmail.ch>"
|
||||||
|
license="BSD-3-Clause"
|
||||||
|
homepage="https://github.com/jonathanslenders/python-prompt-toolkit"
|
||||||
|
distfiles="${PYPI_SITE}/p/prompt_toolkit/prompt_toolkit-${version}.tar.gz"
|
||||||
|
checksum=858588f1983ca497f1cf4ffde01d978a3ea02b01c8a26a8bbc5cd2e66d816917
|
||||||
|
conflicts="python-prompt_toolkit>=2"
|
||||||
|
replaces="python-prompt_toolkit<2"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-prompt_toolkit1_package() {
|
||||||
|
archs=noarch
|
||||||
|
pycompile_module="prompt_toolkit"
|
||||||
|
depends="python3-six python3-wcwidth"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
conflicts="python3-prompt_toolkit>=2"
|
||||||
|
replaces="python3-prompt_toolkit<2"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-prompt_toolkit1
Symbolic link
1
srcpkgs/python3-prompt_toolkit1
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-prompt_toolkit1
|
Loading…
Add table
Add a link
Reference in a new issue