[arch-commits] Commit in python-google-api-python-client/trunk (PKGBUILD)

Andrzej Giniewicz aginiewicz at archlinux.org
Fri Jun 29 21:20:14 UTC 2018


    Date: Friday, June 29, 2018 @ 21:20:13
  Author: aginiewicz
Revision: 347785

upgpkg: python-google-api-python-client 1.7.3-1

python-google-api-python-client: new upstream release

Modified:
  python-google-api-python-client/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-29 21:00:12 UTC (rev 347784)
+++ PKGBUILD	2018-06-29 21:20:13 UTC (rev 347785)
@@ -2,23 +2,19 @@
 # Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
 # Contributor: shadyabhi <abhijeet.1989 at gmail.com>
 
-# TODO: create package for https://github.com/GoogleCloudPlatform/google-auth-library-python
-# and make it hard dependency, turn oauth2client into optional backend
-
 pkgbase=python-google-api-python-client
 pkgname=('python2-google-api-python-client' 'python-google-api-python-client')
-pkgver=1.7.0
+pkgver=1.7.3
 pkgrel=1
 pkgdesc="Google API Client Library for Python"
 arch=('any')
 url="https://github.com/google/google-api-python-client"
 license=('Apache')
-makedepends=('python2-setuptools' 'python-setuptools' 'python2-httplib2'
-             'python2-oauth2client' 'python2-uritemplate' 'python2-six'
-             'python-httplib2' 'python-oauth2client' 'python-uritemplate'
-             'python-six')
+makedepends=('python2-setuptools' 'python-setuptools'
+             'python2-google-auth-httplib2' 'python2-uritemplate'
+	     'python-google-auth-httplib2' 'python-uritemplate')
 source=("https://github.com/google/google-api-python-client/archive/v${pkgver}.tar.gz")
-md5sums=('6bf46850917b1c493432f4fc1b61c00c')
+md5sums=('4b6f8ff320e41e920fc2240ae667fb18')
 
 prepare() {
   cd "$srcdir"
@@ -44,7 +40,8 @@
 }
  
 package_python2-google-api-python-client() {
-  depends=('python2-httplib2' 'python2-oauth2client' 'python2-uritemplate' 'python2-six')
+  depends=('python2-google-auth-httplib2' 'python2-uritemplate')
+  optdepends=('python2-oauth2client: optional backend')
   cd "$srcdir/google-api-python-client-py2-$pkgver"
  
   python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
@@ -55,7 +52,8 @@
 }
 
 package_python-google-api-python-client() {
-  depends=('python-httplib2' 'python-oauth2client' 'python-uritemplate' 'python-six')
+  depends=('python-google-auth-httplib2' 'python-uritemplate')
+  optdepends=('python-oauth2client: optional backend')
   cd "$srcdir/google-api-python-client-$pkgver"
  
   python setup.py install --skip-build --root="$pkgdir" --optimize=1



More information about the arch-commits mailing list