From 013e10fbc79e58159f67e2bb078c788186d472e2 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 17 Oct 2016 00:43:52 +0200 Subject: [PATCH] python-polib: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-polib/template | 21 +++++++++++++-------- srcpkgs/python3-polib | 1 + 2 files changed, 14 insertions(+), 8 deletions(-) create mode 120000 srcpkgs/python3-polib diff --git a/srcpkgs/python-polib/template b/srcpkgs/python-polib/template index e8bec94f772..8b0949cb29d 100644 --- a/srcpkgs/python-polib/template +++ b/srcpkgs/python-polib/template @@ -1,12 +1,11 @@ # Template file for 'python-polib' pkgname=python-polib version=1.0.7 -revision=2 +revision=3 noarch=yes wrksrc="polib-${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="polib.py" short_desc="Python2 library to manipulate gettext files" @@ -16,13 +15,19 @@ license="MIT" distfiles="${PYPI_SITE}/p/polib/polib-${version}.tar.gz" checksum=43ce60d05ffa442ba9d3c5722193aadb93c38174b9fb471c8ea7ccbf8349bbca -python3.4-polib_package() { +python3-polib_package() { noarch=yes - depends="python3.4" - pycompile_version="3.4" + depends="python3" pycompile_module="polib.py" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-polib>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-polib_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-polib>=${version}_${revision}" +} diff --git a/srcpkgs/python3-polib b/srcpkgs/python3-polib new file mode 120000 index 00000000000..3401b268c46 --- /dev/null +++ b/srcpkgs/python3-polib @@ -0,0 +1 @@ +python-polib \ No newline at end of file