Date: Friday, April 7, 2023 @ 07:08:50
  Author: felixonmars
Revision: 1440769

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 1440767, 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 1440767, python-googleapis-common-protos/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-07 07:08:50 UTC (rev 1440769)
@@ -0,0 +1,29 @@
+# Maintainer: Andrzej Giniewicz <[email protected]>
+# Contributor: Kaizhao Zhang <[email protected]>
+
+pkgname=python-googleapis-common-protos
+pkgver=1.59.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-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+source=("https://files.pythonhosted.org/packages/source/g/googleapis-common-protos/googleapis-common-protos-${pkgver}.tar.gz";)
+sha256sums=('4168fcb568a826a52f23510412da405abd93f4d23ba544bb68d943b14ba3cb44')
+
+build() {
+  cd "googleapis-common-protos-${pkgver}"
+
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd "googleapis-common-protos-${pkgver}"
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  chmod -R +r "${pkgdir}"
+}

Reply via email to