diff --git a/srcpkgs/python-prompt_toolkit/template b/srcpkgs/python-prompt_toolkit2/template similarity index 84% rename from srcpkgs/python-prompt_toolkit/template rename to srcpkgs/python-prompt_toolkit2/template index 925d7f89625..ba2e1c53dbc 100644 --- a/srcpkgs/python-prompt_toolkit/template +++ b/srcpkgs/python-prompt_toolkit2/template @@ -1,7 +1,7 @@ -# Template file for 'python-prompt_toolkit' -pkgname=python-prompt_toolkit +# Template file for 'python-prompt_toolkit2' +pkgname=python-prompt_toolkit2 version=2.0.9 -revision=1 +revision=2 archs=noarch wrksrc="prompt_toolkit-${version}" build_style=python-module @@ -16,7 +16,7 @@ license="BSD-3-Clause" homepage="https://github.com/jonathanslenders/python-prompt-toolkit" distfiles="${PYPI_SITE}/p/prompt_toolkit/prompt_toolkit-${version}.tar.gz" checksum=2519ad1d8038fd5fc8e770362237ad0364d16a7650fb5724af6997ed5515e3c1 -conflicts="python-prompt_toolkit1" +conflicts="python-prompt_toolkit" do_check() { PY2PATH="${PWD}/build-2.7/lib" @@ -30,12 +30,12 @@ post_install() { vlicense LICENSE } -python3-prompt_toolkit_package() { +python3-prompt_toolkit2_package() { archs=noarch pycompile_module="prompt_toolkit" depends="python3-six python3-wcwidth" short_desc="${short_desc/Python2/Python3}" - conflicts="python3-prompt_toolkit1" + conflicts="python3-prompt_toolki1" pkg_install() { vmove "usr/lib/python3*" vlicense LICENSE diff --git a/srcpkgs/python3-prompt_toolkit2 b/srcpkgs/python3-prompt_toolkit2 new file mode 120000 index 00000000000..19eb86261ee --- /dev/null +++ b/srcpkgs/python3-prompt_toolkit2 @@ -0,0 +1 @@ +python-prompt_toolkit2 \ No newline at end of file