[arch-commits] Commit in python-googleapis-common-protos/repos (2 files)
Andrzej Giniewicz
aginiewicz at archlinux.org
Tue Mar 31 20:54:12 UTC 2020
Date: Tuesday, March 31, 2020 @ 20:54:12
Author: aginiewicz
Revision: 608352
archrelease: copy trunk to community-any
Added:
python-googleapis-common-protos/repos/community-any/
python-googleapis-common-protos/repos/community-any/PKGBUILD
(from rev 608351, python-googleapis-common-protos/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-googleapis-common-protos/repos/community-any/PKGBUILD (from rev 608351, python-googleapis-common-protos/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-03-31 20:54:12 UTC (rev 608352)
@@ -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.51.0
+pkgrel=1
+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=('013c91704279119150e44ef770086fdbba158c1f978a6402167d47d5409e226e')
+
+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