[arch-commits] Commit in (4 files)
Andrzej Giniewicz
aginiewicz at archlinux.org
Tue Mar 31 20:53:17 UTC 2020
Date: Tuesday, March 31, 2020 @ 20:53:17
Author: aginiewicz
Revision: 608350
python-googleapis-common-protos: moved from AUR, as dependency of python-google-api-python-client (FS#66043)
Added:
python-googleapis-common-protos/
python-googleapis-common-protos/repos/
python-googleapis-common-protos/trunk/
python-googleapis-common-protos/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Added: python-googleapis-common-protos/trunk/PKGBUILD
===================================================================
--- python-googleapis-common-protos/trunk/PKGBUILD (rev 0)
+++ python-googleapis-common-protos/trunk/PKGBUILD 2020-03-31 20:53:17 UTC (rev 608350)
@@ -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=0
+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