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

27 lines
900 B
Bash

# Template file for 'python-google-auth'
pkgname=python-google-auth
version=1.6.2
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="google"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-pyasn1-modules python-rsa python-six python-cachetools"
short_desc="Google Authentication Library (Python2)"
maintainer="Peter Bui <pbui@github.bx612.space>"
license="Apache-2.0"
homepage="https://github.com/GoogleCloudPlatform/google-auth-library-python"
distfiles="${PYPI_SITE}/g/google-auth/google-auth-${version}.tar.gz"
checksum=e8d64e9bc8cb6f0fc5360c693f86dc9ee6964081ee702e3b5ddc937f99efc950
python3-google-auth_package() {
noarch=yes
depends="python3-pyasn1-modules python3-rsa python3-six python3-cachetools"
pycompile_module="google"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}