aboutsummaryrefslogblamecommitdiffstats
path: root/community/py3-google-auth/APKBUILD
blob: 9f5ce25f7ffdd3644dea5c5b15b972d3d4fcd00c (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                      
             
        



                                                   

               
                          




                        







                              
                     


                        
                                                                                         
















                                                               
                                                                                                                                                                       
                                                                                                                                                                          
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
pkgname=py3-google-auth
_pyname=google-auth
pkgver=1.11.3
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-oauth2client
	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="0ce384833607a9fb53a3fc535d6c21da68a996558a6d34062f171d16fe6e23c845200c1a2f032ef352d418425561a1147b86550cbea98ef7defb80771a27e01b  google-auth-1.11.3.tar.gz
34c6eeaf2e83370ec78c5cfd99b54940a3c3027ec361c162c8d5f653426d3fca48705ad76b97660489ffd5c9e0be49a5f9dd5a4df9831777cd6855c9288a9150  10-use-mock-from-standard-library.patch"