mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
60 lines
1.1 KiB
Text
60 lines
1.1 KiB
Text
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
|
|
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
|
|
pkgname=py3-google-auth
|
|
_pyname=google-auth
|
|
pkgver=2.16.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
|
|
py3-asn1-modules
|
|
py3-rsa
|
|
py3-setuptools
|
|
py3-six
|
|
"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-wheel
|
|
"
|
|
checkdepends="
|
|
py3-certifi
|
|
py3-cryptography
|
|
py3-flask
|
|
py3-freezegun
|
|
py3-grpcio
|
|
py3-mock
|
|
py3-oauth2client
|
|
py3-openssl
|
|
py3-pytest
|
|
py3-pytest-cov
|
|
py3-pytest-localserver
|
|
py3-pyu2f
|
|
py3-requests
|
|
py3-responses
|
|
py3-urllib3
|
|
"
|
|
source="https://files.pythonhosted.org/packages/source/g/google-auth/google-auth-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
5686846fbd299e8d331a2132a1f2847febb68f06e460aed987ff12efa3a629c274f6b9dcae53b8b3d9075bb590e5e265eb11b9d6eb3861d4230f91f0bfea84f1 google-auth-2.16.2.tar.gz
|
|
"
|