From 48c9d10e15b82e0fa5e65e5fe3135173e297dd9e Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 16 Oct 2016 22:34:06 +0200 Subject: [PATCH] python-parse: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-parse/template | 23 ++++++++++++++--------- srcpkgs/python3-parse | 1 + 2 files changed, 15 insertions(+), 9 deletions(-) create mode 120000 srcpkgs/python3-parse diff --git a/srcpkgs/python-parse/template b/srcpkgs/python-parse/template index a770a6277d2..c07d878603f 100644 --- a/srcpkgs/python-parse/template +++ b/srcpkgs/python-parse/template @@ -1,12 +1,11 @@ # Template file for 'python-parse' pkgname=python-parse version=1.6.6 -revision=2 +revision=3 noarch=yes wrksrc="parse-${version}" -build_style="python-module" -python_versions="2.7 3.4" -hostmakedepends="python-setuptools python3.4-setuptools" +build_style=python-module +hostmakedepends="python-setuptools python3-setuptools" depends="python" pycompile_module="parse.py" short_desc="Parse strings using the format() syntax (Python2)" @@ -16,13 +15,19 @@ homepage="https://github.com/r1chardj0n3s/parse" distfiles="${PYPI_SITE}/p/parse/parse-${version}.tar.gz" checksum=71435aaac494e08cec76de646de2aab8392c114e56fe3f81c565ecc7eb886178 -python3.4-parse_package() { +python3-parse_package() { noarch=yes - depends="python3.4" - pycompile_version="3.4" + depends="python3" pycompile_module="parse.py" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-parse>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-parse_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-parse>=${version}_${revision}" +} diff --git a/srcpkgs/python3-parse b/srcpkgs/python3-parse new file mode 120000 index 00000000000..7649da2d9ed --- /dev/null +++ b/srcpkgs/python3-parse @@ -0,0 +1 @@ +python-parse \ No newline at end of file