diff --git a/srcpkgs/python-prompt_toolkit2/INSTALL.msg b/srcpkgs/python-prompt_toolkit2/INSTALL.msg new file mode 100644 index 00000000000..a9fa64cb158 --- /dev/null +++ b/srcpkgs/python-prompt_toolkit2/INSTALL.msg @@ -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 diff --git a/srcpkgs/python-prompt_toolkit2/python3-prompt_toolkit2.INSTALL.msg b/srcpkgs/python-prompt_toolkit2/python3-prompt_toolkit2.INSTALL.msg new file mode 100644 index 00000000000..c836027cd34 --- /dev/null +++ b/srcpkgs/python-prompt_toolkit2/python3-prompt_toolkit2.INSTALL.msg @@ -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 diff --git a/srcpkgs/python-prompt_toolkit2/template b/srcpkgs/python-prompt_toolkit2/template index d7f2fd11e14..e0f00f41668 100644 --- a/srcpkgs/python-prompt_toolkit2/template +++ b/srcpkgs/python-prompt_toolkit2/template @@ -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 " -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 - } }