# Contributor: Keith Maxwell # Maintainer: Keith Maxwell pkgname=py3-google-api-core pkgver=2.24.2 pkgrel=0 pkgdesc="Google API client core library" url="https://github.com/googleapis/python-api-core" arch="noarch" license="Apache-2.0" depends=" py3-google-auth py3-googleapis-common-protos py3-proto-plus py3-protobuf py3-requests python3 " makedepends=" py3-gpep517 py3-setuptools py3-wheel " checkdepends=" py3-grpcio py3-mock py3-pytest py3-pytest-aiohttp " subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/g/google_api_core/google_api_core-$pkgver.tar.gz" builddir="$srcdir/google_api_core-$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=" 3205132729c68d0e2563a544d8da19af849b35f130190b97f8fb7a4ca859a941459f8b5c4aa46ddebbd810426ba15228b3f7dbb0ba3af47142c373354c969d15 google_api_core-2.24.2.tar.gz "