void-packages/srcpkgs/python-google-api-python-client/template
2019-05-24 14:50:21 +02:00

28 lines
1 KiB
Bash

# Template file for 'python-google-api-python-client'
pkgname=python-google-api-python-client
version=1.7.9
revision=1
archs=noarch
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=048da0d68564380ee23b449e5a67d4666af1b3b536d2fb0a02cee1ad540fa5ec
python3-google-api-python-client_package() {
archs=noarch
depends="python3-httplib2 python3-google-auth
python3-google-auth-httplib2 python3-uritemplate python3-six"
pycompile_module="apiclient googleapiclient"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}