python-google-api-python-client: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
2794e3c459
commit
769fdeb39a
2 changed files with 14 additions and 8 deletions
|
@ -1,13 +1,12 @@
|
|||
# Template file for 'python-google-api-python-client'
|
||||
pkgname=python-google-api-python-client
|
||||
version=1.5.3
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_module="apiclient googleapiclient"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-httplib2 python-oauth2client python-uritemplate python-six"
|
||||
short_desc="Google API client library for Python2"
|
||||
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
|
||||
|
@ -16,13 +15,19 @@ homepage="https://github.com/google/google-api-python-client/"
|
|||
distfiles="${PYPI_SITE}/g/google-api-python-client/google-api-python-client-${version}.tar.gz"
|
||||
checksum=d916e04969cb1fd6727b9f49290828e9d7162b90c1d5b4be0aed3c171a75d8be
|
||||
|
||||
python3.4-google-api-python-client_package() {
|
||||
python3-google-api-python-client_package() {
|
||||
noarch=yes
|
||||
depends="python3.4-httplib2 python3.4-oauth2client python3.4-uritemplate python3.4-six"
|
||||
pycompile_version="3.4"
|
||||
depends="python3-httplib2 python3-oauth2client python3-uritemplate python3-six"
|
||||
pycompile_module="apiclient googleapiclient"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
replaces="python3.4-google-api-python-client>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
||||
python3.4-google-api-python-client_package() {
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-google-api-python-client>=${version}_${revision}"
|
||||
}
|
||||
|
|
1
srcpkgs/python3-google-api-python-client
Symbolic link
1
srcpkgs/python3-google-api-python-client
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-google-api-python-client
|
Loading…
Reference in a new issue