[arch-commits] Commit in python-googleapis-common-protos/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 16:51:35 UTC 2020
Date: Monday, November 9, 2020 @ 16:51:34
Author: foutrelis
Revision: 747615
archrelease: copy trunk to community-staging-any
Added:
python-googleapis-common-protos/repos/community-staging-any/
python-googleapis-common-protos/repos/community-staging-any/PKGBUILD
(from rev 747613, python-googleapis-common-protos/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-googleapis-common-protos/repos/community-staging-any/PKGBUILD (from rev 747613, python-googleapis-common-protos/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:51:34 UTC (rev 747615)
@@ -0,0 +1,29 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
+
+pkgname=python-googleapis-common-protos
+pkgver=1.52.0
+pkgrel=2
+pkgdesc="Python classes generated from the common protos in the googleapis repository"
+arch=('any')
+url="https://github.com/googleapis/googleapis"
+license=('Apache')
+depends=('python-protobuf')
+optdepends=('python-grpcio: for grpc support')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/g/googleapis-common-protos/googleapis-common-protos-${pkgver}.tar.gz")
+sha256sums=('560716c807117394da12cecb0a54da5a451b5cf9866f1d37e9a5e2329a665351')
+
+build() {
+ cd "googleapis-common-protos-${pkgver}"
+
+ python setup.py build
+}
+
+package() {
+ cd "googleapis-common-protos-${pkgver}"
+
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ chmod -R +r "${pkgdir}"
+}
More information about the arch-commits
mailing list