From 74e69288e8b3a149d2859568bb3365df22284419 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 16 Oct 2016 19:58:32 +0200 Subject: [PATCH] python-parsing: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-parsing/template | 21 +++++++++++++-------- srcpkgs/python3-parsing | 1 + 2 files changed, 14 insertions(+), 8 deletions(-) create mode 120000 srcpkgs/python3-parsing diff --git a/srcpkgs/python-parsing/template b/srcpkgs/python-parsing/template index 6522d733037..5e0cf138ef9 100644 --- a/srcpkgs/python-parsing/template +++ b/srcpkgs/python-parsing/template @@ -1,12 +1,11 @@ # Template file for 'python-parsing' pkgname=python-parsing version=2.1.10 -revision=1 +revision=2 noarch=yes wrksrc="pyparsing-${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="pyparsing.py" short_desc="Python parsing module (Python2)" @@ -20,14 +19,20 @@ post_install() { vlicense LICENSE } -python3.4-parsing_package() { +python3-parsing_package() { noarch=yes - depends="python3.4" - pycompile_version="3.4" + depends="python3" pycompile_module="pyparsing.py" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-parsing>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* vlicense LICENSE } } +python3.4-parsing_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-parsing>=${version}_${revision}" +} diff --git a/srcpkgs/python3-parsing b/srcpkgs/python3-parsing new file mode 120000 index 00000000000..b66a4174141 --- /dev/null +++ b/srcpkgs/python3-parsing @@ -0,0 +1 @@ +python-parsing \ No newline at end of file