From 5a3479b317acb898f8ad8431eb9c310cbc4854e0 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 17 Oct 2016 09:35:09 +0200 Subject: [PATCH] python-lockfile: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-lockfile/template | 23 ++++++++++++++--------- srcpkgs/python3-lockfile | 1 + 2 files changed, 15 insertions(+), 9 deletions(-) create mode 120000 srcpkgs/python3-lockfile diff --git a/srcpkgs/python-lockfile/template b/srcpkgs/python-lockfile/template index 6584ebe6ac8..2570de1329d 100644 --- a/srcpkgs/python-lockfile/template +++ b/srcpkgs/python-lockfile/template @@ -1,13 +1,12 @@ # Template file for 'python-lockfile' pkgname=python-lockfile version=0.12.2 -revision=1 +revision=2 noarch=yes wrksrc="lockfile-${version}" build_style=python-module -python_versions="2.7 3.4" -hostmakedepends="python-setuptools python3.4-setuptools python-pbr python3.4-pbr" -makedepends="python-pbr python3.4-pbr" +hostmakedepends="python-setuptools python3-setuptools python-pbr python3-pbr" +makedepends="python-pbr python3-pbr" depends="python" pycompile_module="lockfile" short_desc="Platform-independent file locking module (Python2)" @@ -21,14 +20,20 @@ post_install() { vlicense LICENSE } -python3.4-lockfile_package() { +python3-lockfile_package() { noarch=yes - pycompile_version="3.4" + replaces="python3.4-lockfile>=0" pycompile_module="lockfile" - depends="python3.4" - short_desc="${short_desc/Python2/Python3.4}" + depends="python3" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* vlicense LICENSE } } +python3.4-lockfile_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-lockfile>=${version}_${revision}" +} diff --git a/srcpkgs/python3-lockfile b/srcpkgs/python3-lockfile new file mode 120000 index 00000000000..3a54cd60526 --- /dev/null +++ b/srcpkgs/python3-lockfile @@ -0,0 +1 @@ +python-lockfile \ No newline at end of file