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.1
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=b08a27888e9d1c17a891b3688aacc9c6f2019d7f6c5a2e73588e6bb9a2c0fa98
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*
}
}