blob: 74cd9d34d8209584794c988def8012ff10e9390d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
pkgname=py3-google-auth
_pyname=google-auth
pkgver=1.7.1
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="a2a3c80f23a8f1d3b5dd8bb4b77565f1f7f2960455683fa5b7539df5e9457f6bffea0e38245bcde05a6604d794b5158188d753d05d4fe3050cf6a0d4a9878b38 google-auth-1.7.1.tar.gz
4242765bce157f7e3ba42b668396d7629b78a389f82832960b689741c0f30f6a1a3d07e217b37c6c6515813b6a7783e1cc9308046bc38d9fcb0c596bf3f896ff 10-use-mock-from-standard-library.patch"
|