From 2bf2e919c6466d38e6112ab3114007a2635cd8d4 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 16 Oct 2016 19:44:28 +0200 Subject: [PATCH] python-httplib2: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-httplib2/template | 21 +++++++++++++-------- srcpkgs/python3-httplib2 | 1 + 2 files changed, 14 insertions(+), 8 deletions(-) create mode 120000 srcpkgs/python3-httplib2 diff --git a/srcpkgs/python-httplib2/template b/srcpkgs/python-httplib2/template index deb59c398d6..64fbf2be60d 100644 --- a/srcpkgs/python-httplib2/template +++ b/srcpkgs/python-httplib2/template @@ -1,13 +1,12 @@ # Template file for 'python-httplib2' pkgname=python-httplib2 version=0.9.2 -revision=2 +revision=3 noarch=yes patch_args="-Np1" wrksrc="httplib2-${version}" build_style=python-module -python_versions="2.7 3.4" -hostmakedepends="python-setuptools python3.4-setuptools" +hostmakedepends="python-setuptools python3-setuptools" depends="python ca-certificates" pycompile_module="httplib2" short_desc="A comprehensive HTTP client library (Python2)" @@ -21,13 +20,19 @@ post_extract() { chmod -R a+rX . } -python3.4-httplib2_package() { +python3-httplib2_package() { noarch=yes - depends="python3.4" - pycompile_version="3.4" + depends="python3" pycompile_module="httplib2" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-httplib2>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-httplib2_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-httplib2>=${version}_${revision}" +} diff --git a/srcpkgs/python3-httplib2 b/srcpkgs/python3-httplib2 new file mode 120000 index 00000000000..a9367265aad --- /dev/null +++ b/srcpkgs/python3-httplib2 @@ -0,0 +1 @@ +python-httplib2 \ No newline at end of file