From 947d9fafda1570684e2a95d19b31910190d053d0 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 17 Oct 2016 09:56:17 +0200 Subject: [PATCH] python-texttable: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-texttable/template | 21 +++++++++++++-------- srcpkgs/python3-texttable | 1 + 2 files changed, 14 insertions(+), 8 deletions(-) create mode 120000 srcpkgs/python3-texttable diff --git a/srcpkgs/python-texttable/template b/srcpkgs/python-texttable/template index 2b35e1f0d85..17e8b2234ad 100644 --- a/srcpkgs/python-texttable/template +++ b/srcpkgs/python-texttable/template @@ -1,12 +1,11 @@ # Template file for 'python-texttable' pkgname=python-texttable version=0.8.5 -revision=2 +revision=3 noarch=yes wrksrc="texttable-${version}" build_style=python-module -python_versions="2.7 3.4" -hostmakedepends="python-setuptools python3.4-setuptools" +hostmakedepends="python-setuptools python3-setuptools" depends="python" pycompile_module="texttable.py" short_desc="Python2 module for creating simple ASCII tables" @@ -17,13 +16,19 @@ license="LGPL-3" distfiles="https://github.com/foutaise/texttable/archive/v${version}.tar.gz" checksum=c2b554b0c20c866f061cf08a315354278590b312ee178199a29bfde7a944f986 -python3.4-texttable_package() { +python3-texttable_package() { noarch=yes - depends="python3.4" - pycompile_version="3.4" + depends="python3" pycompile_module="texttable.py" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-texttable>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-texttable_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-texttable>=${version}_${revision}" +} diff --git a/srcpkgs/python3-texttable b/srcpkgs/python3-texttable new file mode 120000 index 00000000000..c301d16b91e --- /dev/null +++ b/srcpkgs/python3-texttable @@ -0,0 +1 @@ +python-texttable \ No newline at end of file