217e7d31f2
After more than a year the switch to python3 packages, it is time to say them goodbye. So long, and thanks for all the fish.
26 lines
992 B
Bash
26 lines
992 B
Bash
# Template file for 'python-google-api-python-client'
|
|
pkgname=python-google-api-python-client
|
|
version=1.6.4
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="${pkgname#*-}-${version}"
|
|
build_style=python-module
|
|
pycompile_module="apiclient googleapiclient"
|
|
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>"
|
|
license="Apache-2.0"
|
|
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=bb1f27740f6596f8272a2e1033d93d68e27e8ed5d22d6ab957e3f1d3f8ce05f6
|
|
|
|
python3-google-api-python-client_package() {
|
|
noarch=yes
|
|
depends="python3-httplib2 python3-oauth2client python3-uritemplate python3-six"
|
|
pycompile_module="apiclient googleapiclient"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|