[arch-commits] Commit in python-googleapis-common-protos/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sun Jun 12 09:06:48 UTC 2022


    Date: Sunday, June 12, 2022 @ 09:06:47
  Author: arojas
Revision: 1236935

Update to 1.56.2

Modified:
  python-googleapis-common-protos/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-12 09:02:08 UTC (rev 1236934)
+++ PKGBUILD	2022-06-12 09:06:47 UTC (rev 1236935)
@@ -2,8 +2,8 @@
 # Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
 
 pkgname=python-googleapis-common-protos
-pkgver=1.53.0
-pkgrel=3
+pkgver=1.56.2
+pkgrel=1
 pkgdesc="Python classes generated from the common protos in the googleapis repository"
 arch=('any')
 url="https://github.com/googleapis/googleapis"
@@ -10,20 +10,20 @@
 license=('Apache')
 depends=('python-protobuf')
 optdepends=('python-grpcio: for grpc support')
-makedepends=('python-setuptools')
+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=('a88ee8903aa0a81f6c3cec2d5cf62d3c8aa67c06439b0496b49048fb1854ebf4')
+sha256sums=('b09b56f5463070c2153753ef123f07d2e49235e89148e9b2459ec8ed2f68d7d3')
 
 build() {
   cd "googleapis-common-protos-${pkgver}"
 
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd "googleapis-common-protos-${pkgver}"
 
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 
   chmod -R +r "${pkgdir}"
 }



More information about the arch-commits mailing list