python-prompt_toolkit2: remove package

This commit is contained in:
Andrew J. Hesford 2020-07-23 22:35:01 -04:00
parent baf3ed041a
commit 3309d389c6
3 changed files with 8 additions and 33 deletions

View file

@ -0,0 +1,2 @@
python-prompt_toolkit2 is no longer provided by Void Linux, and will be fully
removed from the repos on 2021/01/23

View file

@ -0,0 +1,2 @@
python3-prompt_toolkit2 is no longer provided by Void Linux, and will be fully
removed from the repos on 2021/01/23

View file

@ -1,43 +1,14 @@
# Template file for 'python-prompt_toolkit2'
pkgname=python-prompt_toolkit2
version=2.0.9
revision=4
revision=5
archs=noarch
wrksrc="prompt_toolkit-${version}"
build_style=python-module
pycompile_module="prompt_toolkit"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-six python-wcwidth"
checkdepends="python-pytest python-six python-wcwidth python3-pytest
python3-six python3-wcwidth"
short_desc="Python2 library for building powerful interactive command lines"
build_style=meta
short_desc="Python2 library for building command lines (removed package)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
license="metapackage"
homepage="https://github.com/jonathanslenders/python-prompt-toolkit"
distfiles="${PYPI_SITE}/p/prompt_toolkit/prompt_toolkit-${version}.tar.gz"
checksum=2519ad1d8038fd5fc8e770362237ad0364d16a7650fb5724af6997ed5515e3c1
conflicts="python-prompt_toolkit"
do_check() {
PY2PATH="${PWD}/build-2.7/lib"
PY3PATH="${PWD}/build-${py3_ver}/lib"
PYTHONPATH="${PY2PATH}" python2 -m pytest
PYTHONPATH="${PY3PATH}" python3 -m pytest
}
post_install() {
vlicense LICENSE
}
python3-prompt_toolkit2_package() {
archs=noarch
pycompile_module="prompt_toolkit"
depends="python3-six python3-wcwidth"
short_desc="${short_desc/Python2/Python3}"
conflicts="python3-prompt_toolki1"
pkg_install() {
vmove "usr/lib/python3*"
vlicense LICENSE
}
}