# Contributor: Keith Maxwell # Maintainer: Keith Maxwell pkgname=py3-google-auth _pyname=google-auth pkgver=1.7.2 pkgrel=0 pkgdesc="Google authentication library for Python." url="https://google-auth.readthedocs.io/en/latest/" arch="noarch" license="Apache-2.0" depends=" python3 py3-cachetools<3.2 py3-asn1-modules py3-rsa<4.1 py3-setuptools py3-six " checkdepends="py3-certifi py3-flask py3-oauth2client py3-pytest py3-pytest-cov py3-pytest-localserver py3-requests py3-requests-oauthlib py3-urllib3 py3-cryptography" source="https://files.pythonhosted.org/packages/source/g/$_pyname/$_pyname-$pkgver.tar.gz 10-use-mock-from-standard-library.patch " builddir="$srcdir/$_pyname-$pkgver" build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } check() { pytest-3 # skips grpc tests } sha512sums="36802b0923ddab01cdd5acaa7e7a873597968378dd52a8ab5724a357c5ba34df81a3d444b62f68e9670e62b282b542e1c98afe591df71b152548946e9f43c271 google-auth-1.7.2.tar.gz 4242765bce157f7e3ba42b668396d7629b78a389f82832960b689741c0f30f6a1a3d07e217b37c6c6515813b6a7783e1cc9308046bc38d9fcb0c596bf3f896ff 10-use-mock-from-standard-library.patch"