27 lines
904 B
Bash
27 lines
904 B
Bash
# Template file for 'python-google-auth'
|
|
pkgname=python-google-auth
|
|
version=1.7.0
|
|
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=8b67e34a07055b9785948ff9d3e044f93be9019f4f69711b04450087ae150817
|
|
|
|
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*
|
|
}
|
|
}
|