Skip to content
Snippets Groups Projects
Commit d627debe authored by Keith Maxwell's avatar Keith Maxwell
Browse files

community/py3-googleapis-common-protos: new aport

Added directly to community because this is a missing indirect
dependency of community/py3-google-api-python-client and
community/goobook
parent 5053164b
No related branches found
No related tags found
1 merge request!7219community/py3-google-api-python-client: upgrade to 1.8.2
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
pkgname=py3-googleapis-common-protos
_pyname=googleapis-common-protos
pkgver=1.51.0
pkgrel=0
pkgdesc="Common protobufs used in Google APIs for Python"
url="https://pypi.org/project/googleapis-common-protos/"
arch="noarch !ppc64le" # limited by py3-grpcio
license="Apache-2.0"
depends="python3 protobuf py3-grpcio"
makedepends="py3-setuptools"
options="!check" # no tests in pypi artifact
source="https://files.pythonhosted.org/packages/source/g/googleapis-common-protos/googleapis-common-protos-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
chmod -R +r "$pkgdir"/usr/lib/python*/site-packages/
}
sha512sums="31b6754d5541de4a6ce13e1e54dc54ee29c8153b57de3d0faf40bb236b6af9bee0516957f4b1f64f4404d713e3185126ef782a7825747fede827a8a8e604e303 googleapis-common-protos-1.51.0.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment