void-packages/srcpkgs/python-google-api-python-cl.../template

28 lines
1023 B
Bash

# Template file for 'python-google-api-python-client'
pkgname=python-google-api-python-client
version=1.7.6
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="apiclient googleapiclient"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-httplib2 python-google-auth python-google-auth-httplib2
python-uritemplate python-six"
short_desc="Google API client library for Python2"
maintainer="Peter Bui <pbui@github.bx612.space>"
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=bf98b066fb6e4e6da1f2f11d6cb0bb947de156aef8562a32b0692e7073d38593
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*
}
}