diff options
author | Keith Maxwell <keith.maxwell@gmail.com> | 2020-04-25 17:13:56 +0100 |
---|---|---|
committer | Keith Maxwell <keith.maxwell@gmail.com> | 2020-05-07 15:51:57 +0100 |
commit | d627debec2d34ce110e3f99f3f1cb80a3224642c (patch) | |
tree | af833b8f27e9b7b91e567e017821aec8f76cf255 | |
parent | 5053164bf70cfa492e3d808b6746f7ec30ea6a45 (diff) | |
download | aports-d627debec2d34ce110e3f99f3f1cb80a3224642c.tar.bz2 aports-d627debec2d34ce110e3f99f3f1cb80a3224642c.tar.xz |
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
-rw-r--r-- | community/py3-googleapis-common-protos/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/py3-googleapis-common-protos/APKBUILD b/community/py3-googleapis-common-protos/APKBUILD new file mode 100644 index 0000000000..b86244baf4 --- /dev/null +++ b/community/py3-googleapis-common-protos/APKBUILD @@ -0,0 +1,26 @@ +# 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" |