# Contributor: Keith Maxwell # Maintainer: Keith Maxwell pkgname=py3-google-auth-httplib2 _pyname=google-auth-httplib2 pkgver=0.1.0 pkgrel=3 pkgdesc="Google Authentication Library: httplib2 transport" url="https://github.com/googleapis/google-auth-library-python-httplib2" arch="noarch" license="Apache-2.0" depends=" py3-google-auth py3-httplib2 py3-six python3 " makedepends=" py3-gpep517 py3-setuptools py3-wheel " checkdepends=" py3-flask py3-mock py3-pytest py3-pytest-localserver py3-six " subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/g/google-auth-httplib2/google-auth-httplib2-$pkgver.tar.gz" builddir="$srcdir/$_pyname-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" afc54c502046b29504641772ac135e2a11a6daaf6d76dcdb5daecebcd20887d098579eca8dab49fa59667544d323aee10bb99199d3c62e72582353dbddad88e2 google-auth-httplib2-0.1.0.tar.gz "