# Contributor: Keith Maxwell # Maintainer: Keith Maxwell pkgname=py3-googleapis-common-protos pkgver=1.59.1 pkgrel=0 pkgdesc="Common protobufs used in Google APIs for Python" url="https://pypi.org/project/googleapis-common-protos/" arch="noarch" license="Apache-2.0" depends=" python3 py3-protobuf " makedepends=" py3-gpep517 py3-setuptools py3-wheel " checkdepends=" py3-grpcio py3-pytest " subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/g/googleapis-common-protos/googleapis-common-protos-$pkgver.tar.gz" builddir="$srcdir/googleapis-common-protos-$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=" e977382da5880ef9097af7ff653768902a2c6c00927847cb2b9e601072f226509539226a82c98a9e4f38354b05e246f0f9c9c87ed008cb9c0a5976eae1863bd3 googleapis-common-protos-1.59.1.tar.gz "