From f1a3e674b51af6b1862b00259c52ae10b14ce301 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 17 Oct 2016 10:32:18 +0200 Subject: [PATCH] python-trollius: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-trollius/template | 21 +++++++++++++-------- srcpkgs/python3-trollius | 1 + 2 files changed, 14 insertions(+), 8 deletions(-) create mode 120000 srcpkgs/python3-trollius diff --git a/srcpkgs/python-trollius/template b/srcpkgs/python-trollius/template index 9dec469c222..6347571b200 100644 --- a/srcpkgs/python-trollius/template +++ b/srcpkgs/python-trollius/template @@ -1,12 +1,11 @@ # Template file for 'python-trollius' pkgname=python-trollius version=2.1 -revision=2 +revision=3 noarch=yes wrksrc="trollius-${version}" build_style=python-module -python_versions="2.7 3.4" -hostmakedepends="python-setuptools python3.4-setuptools" +hostmakedepends="python-setuptools python3-setuptools" depends="python-six python-futures" pycompile_module="trollius" short_desc="Infrastructure for writing single-threaded concurrent code (Python2)" @@ -16,13 +15,19 @@ license="Apache-2.0" distfiles="${PYPI_SITE}/t/trollius/trollius-${version}.tar.gz" checksum=cd165d9d9578d3aadbf26e71a88d9a70c4e444792a5628dc9af255f62030cc90 -python3.4-trollius_package() { +python3-trollius_package() { noarch=yes - depends="python3.4-six" - pycompile_version="3.4" + depends="python3-six" pycompile_module="trollius" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-trollius>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-trollius_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-trollius>=${version}_${revision}" +} diff --git a/srcpkgs/python3-trollius b/srcpkgs/python3-trollius new file mode 120000 index 00000000000..26210210763 --- /dev/null +++ b/srcpkgs/python3-trollius @@ -0,0 +1 @@ +python-trollius \ No newline at end of file