aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-google-auth/APKBUILD
blob: ec6aaa14972a5ac2df8ecb9eee34d33060c88494 (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
42
43
44
45
46
47
48
49
50
51
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
pkgname=py3-google-auth
_pyname=google-auth
pkgver=1.14.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<5.0
	py3-asn1-modules
	py3-rsa<4.1
	py3-setuptools
	py3-six
	"
checkdepends="
	py3-flask
	py3-freezegun
	py3-mock
	py3-oauth2client
	py3-openssl
	py3-pytest
	py3-pytest-cov
	py3-pytest-localserver
	py3-requests
	py3-responses
	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="d08d31056f459753e9fb5bbe7cc61c487d090788ee65761d1e99097299a312aab48b6ec6077befe5bd4dc07ce5753994e8c9ce9c28c984ce1a042f0fb03f4139  google-auth-1.14.1.tar.gz
eceeedf449d99cc5587856831ca024ad2befaf964f93504b2a8f1a9ff2690027c494a60381455e67204caf3d77799a4445c81fff3867a32af4503990308c77ac  10-use-mock-from-standard-library.patch"