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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 18:30:46 UTC 2020


    Date: Monday, November 9, 2020 @ 18:30:46
  Author: foutrelis
Revision: 748027

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 748026, 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 748026, python-google-api-python-client/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 18:30:46 UTC (rev 748027)
@@ -0,0 +1,30 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: shadyabhi <abhijeet.1989 at gmail.com>
+
+pkgname=python-google-api-python-client
+pkgver=1.12.3
+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=('24c88863483924c63c9d854cefbcbf5c64a1164f8c33af9bc9d0a703175d7711')
+
+build() {
+  cd "$srcdir"/google-api-python-client-${pkgver}
+  python setup.py build
+}
+ 
+package() {
+  cd "$srcdir/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