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

24 lines
1.2 KiB
Bash

# Template file for 'python3-google-auth'
pkgname=python3-google-auth
version=2.16.2
revision=2
build_style=python3-module
# upstream restricts python3-cryptography to lower versions
# for tests; causing them to fail with the version in repo
make_check_args="--ignore=tests/oauth2/test_challenges.py
--ignore=tests/transport/test__custom_tls_signer.py
--ignore=tests/transport/test_requests.py
--ignore=tests/transport/test_urllib3.py"
hostmakedepends="python3-setuptools"
depends="python3-pyasn1-modules python3-rsa python3-six python3-cachetools"
checkdepends="${depends} python3-Flask python3-freezegun python3-mock python3-oauth2client
python3-openssl python3-pytest-localserver python3-requests python3-urllib3 python3-cryptography
python3-responses python3-grpcio python3-certifi python3-pytest-xdist"
short_desc="Google Authentication Library (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://googleapis.dev/python/google-auth/latest/index.html"
changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/g/google-auth/google-auth-${version}.tar.gz"
checksum=07e14f34ec288e3f33e00e2e3cc40c8942aa5d4ceac06256a28cd8e786591420