27 lines
904 B
Bash
27 lines
904 B
Bash
# Template file for 'python-google-auth'
|
|
pkgname=python-google-auth
|
|
version=1.6.3
|
|
revision=1
|
|
archs=noarch
|
|
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=0f7c6a64927d34c1a474da92cfc59e552a5d3b940d3266606c6a28b72888b9e4
|
|
|
|
python3-google-auth_package() {
|
|
archs=noarch
|
|
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*
|
|
}
|
|
}
|