27 lines
900 B
Bash
27 lines
900 B
Bash
# Template file for 'python-google-auth'
|
|
pkgname=python-google-auth
|
|
version=1.5.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=9ca363facbf2622d9ba828017536ccca2e0f58bd15e659b52f312172f8815530
|
|
|
|
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*
|
|
}
|
|
}
|