void-packages/srcpkgs/python-google-auth-httplib2/template

27 lines
952 B
Bash

# Template file for 'python-google-auth-httplib2'
pkgname=python-google-auth-httplib2
version=0.0.3
revision=2
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="google_auth_httplib2.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-google-auth python-httplib2"
short_desc="Google Authentication Library: httplib2 transport (Python2)"
maintainer="Peter Bui <pbui@github.bx612.space>"
license="Apache-2.0"
homepage="https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2"
distfiles="${PYPI_SITE}/g/google-auth-httplib2/google-auth-httplib2-${version}.tar.gz"
checksum=098fade613c25b4527b2c08fa42d11f3c2037dda8995d86de0745228e965d445
python3-google-auth-httplib2_package() {
noarch=yes
depends="python3-google-auth python3-httplib2"
pycompile_module="google_auth_httplib2.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}