[arch-commits] Commit in python-google-api-python-client/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 21:43:23 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:43:23
  Author: felixonmars
Revision: 1058969

archrelease: copy trunk to community-staging-any

Added:
  python-google-api-python-client/repos/community-staging-any/
  python-google-api-python-client/repos/community-staging-any/PKGBUILD
    (from rev 1058968, python-google-api-python-client/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-google-api-python-client/repos/community-staging-any/PKGBUILD (from rev 1058968, python-google-api-python-client/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 21:43:23 UTC (rev 1058969)
@@ -0,0 +1,30 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: shadyabhi <abhijeet.1989 at gmail.com>
+
+pkgname=python-google-api-python-client
+pkgver=2.31.0
+pkgrel=2
+pkgdesc="Google API Client Library for Python"
+arch=('any')
+url="https://github.com/google/google-api-python-client"
+license=('Apache')
+depends=('python-google-auth-httplib2' 'python-uritemplate' 'python-google-api-core')
+optdepends=('python-oauth2client: optional backend')
+makedepends=('python-setuptools')
+source=("google-api-python-client-${pkgver}.tar.gz::https://github.com/google/google-api-python-client/archive/v${pkgver}.tar.gz")
+sha256sums=('b4ba0cdbae20ba092aa2f9ffc471410a3d4b84bac43880930887f74614434caa')
+
+build() {
+  cd "google-api-python-client-${pkgver}"
+  python setup.py build
+}
+ 
+package() {
+  cd "google-api-python-client-$pkgver"
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+  # Workaround for FS#47243
+  _site_packages=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
+  chmod -R a+r "$pkgdir$_site_packages"
+}



More information about the arch-commits mailing list