mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
python-prompt_toolkit1: update to 1.0.18; remove python3 subpackage
This commit is contained in:
parent
842d41c990
commit
910282b6c1
4 changed files with 16 additions and 29 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
python3-prompt_toolkit1 is no longer provided by Void Linux, and will be fully
|
||||||
|
removed from the repos on 2021/01/23
|
|
@ -1,50 +1,34 @@
|
||||||
# Template file for 'python-prompt_toolkit1'
|
# Template file for 'python-prompt_toolkit1'
|
||||||
pkgname=python-prompt_toolkit1
|
pkgname=python-prompt_toolkit1
|
||||||
reverts="2.0.9_1"
|
reverts="2.0.9_1"
|
||||||
version=1.0.15
|
version=1.0.18
|
||||||
revision=4
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="prompt_toolkit-${version}"
|
wrksrc="prompt_toolkit-${version}"
|
||||||
build_style=python-module
|
build_style=python2-module
|
||||||
pycompile_module="prompt_toolkit"
|
hostmakedepends="python-setuptools"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python-six python-wcwidth"
|
depends="python-six python-wcwidth"
|
||||||
short_desc="Python2 library for building powerful interactive command lines"
|
short_desc="Python2 library for building powerful interactive command lines"
|
||||||
maintainer="xaltsc <xaltsc@protonmail.ch>"
|
maintainer="xaltsc <xaltsc@protonmail.ch>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/jonathanslenders/python-prompt-toolkit"
|
homepage="https://github.com/prompt-toolkit/python-prompt-toolkit"
|
||||||
distfiles="${PYPI_SITE}/p/prompt_toolkit/prompt_toolkit-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/prompt_toolkit/prompt_toolkit-${version}.tar.gz"
|
||||||
checksum=858588f1983ca497f1cf4ffde01d978a3ea02b01c8a26a8bbc5cd2e66d816917
|
checksum=dd4fca02c8069497ad931a2d09914c6b0d1b50151ce876bc15bde4c747090126
|
||||||
conflicts="python-prompt_toolkit2"
|
conflicts="python-prompt_toolkit2<=2.0.9_4"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-prompt_toolkit1_package() {
|
python3-prompt_toolkit1_package() {
|
||||||
archs=noarch
|
build_style=meta
|
||||||
pycompile_module="prompt_toolkit"
|
short_desc="Python3 library for building command lines (removed package)"
|
||||||
depends="python3-six python3-wcwidth"
|
license="metapackage"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
conflicts="python3-prompt_toolkit2"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
python-prompt_toolkit_package() {
|
python-prompt_toolkit_package() {
|
||||||
archs=noarch
|
|
||||||
reverts="2.0.9_1"
|
reverts="2.0.9_1"
|
||||||
build_style=meta
|
build_style=meta
|
||||||
depends="python-prompt_toolkit1-${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc="${short_desc} (transition package)"
|
short_desc+=" (transitional dummy package)"
|
||||||
}
|
|
||||||
|
|
||||||
python3-prompt_toolkit_package() {
|
|
||||||
archs=noarch
|
|
||||||
reverts="2.0.9_1"
|
|
||||||
build_style=meta
|
|
||||||
depends="python3-prompt_toolkit1-${version}_${revision}"
|
|
||||||
short_desc="${short_desc/Python2/Python3} (transition package)"
|
|
||||||
}
|
}
|
||||||
|
|
2
srcpkgs/python-prompt_toolkit1/update
Normal file
2
srcpkgs/python-prompt_toolkit1/update
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
site="https://pypi.org/simple/prompt_toolkit/"
|
||||||
|
pattern='prompt_toolkit-\K1\.[0-9.]+(?=.tar.gz)'
|
|
@ -1 +0,0 @@
|
||||||
python-prompt_toolkit1
|
|
Loading…
Add table
Reference in a new issue