python-httplib2: rebuild for Python 3.5

Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
Alessio Sergi 2016-10-16 19:44:28 +02:00
parent e993283ae6
commit 2bf2e919c6
2 changed files with 14 additions and 8 deletions

View File

@ -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}"
}

1
srcpkgs/python3-httplib2 Symbolic link
View File

@ -0,0 +1 @@
python-httplib2