From 93b6a561d060a39c034a21c63f2d844252b28e0c Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 17 Oct 2016 09:33:31 +0200 Subject: [PATCH] python-pgpdump: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-pgpdump/template | 21 +++++++++++++-------- srcpkgs/python3-pgpdump | 1 + 2 files changed, 14 insertions(+), 8 deletions(-) create mode 120000 srcpkgs/python3-pgpdump diff --git a/srcpkgs/python-pgpdump/template b/srcpkgs/python-pgpdump/template index fcddd92066e..4e1ae2ca496 100644 --- a/srcpkgs/python-pgpdump/template +++ b/srcpkgs/python-pgpdump/template @@ -1,12 +1,11 @@ # Template file for 'python-pgpdump' pkgname=python-pgpdump version=1.5 -revision=3 +revision=4 noarch=yes build_style=python-module -python_versions="2.7 3.4" pycompile_module="pgpdump" -hostmakedepends="python-setuptools python3.4-setuptools" +hostmakedepends="python-setuptools python3-setuptools" depends="python" short_desc="Python2 library for parsing PGP packets" maintainer="Duncaen " @@ -15,13 +14,19 @@ homepage="https://github.com/toofishes/python-pgpdump" distfiles="https://github.com/toofishes/python-pgpdump/archive/${version}.tar.gz" checksum=05383f66e467e855299d1ed51161c6038ac338d9d10bd33476b574dc3bef64ff -python3.4-pgpdump_package() { +python3-pgpdump_package() { noarch=yes - depends="python3.4" - pycompile_version="3.4" + depends="python3" pycompile_module="pgpdump" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-pgpdump>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-pgpdump_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-pgpdump>=${version}_${revision}" +} diff --git a/srcpkgs/python3-pgpdump b/srcpkgs/python3-pgpdump new file mode 120000 index 00000000000..7d91dad5a60 --- /dev/null +++ b/srcpkgs/python3-pgpdump @@ -0,0 +1 @@ +python-pgpdump \ No newline at end of file