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

Felix Yan felixonmars at archlinux.org
Mon May 18 19:17:59 UTC 2020


    Date: Monday, May 18, 2020 @ 19:17:59
  Author: felixonmars
Revision: 629644

upgpkg: python-google-auth 1.12.0-1

Modified:
  python-google-auth/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-18 19:17:31 UTC (rev 629643)
+++ PKGBUILD	2020-05-18 19:17:59 UTC (rev 629644)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-google-auth
-pkgver=1.11.3
+pkgver=1.12.0
 pkgrel=1
 pkgdesc="Google Authentication Library"
 url="https://github.com/GoogleCloudPlatform/google-auth-library-python"
@@ -11,15 +11,16 @@
          'python-cachetools')
 checkdepends=('python-pytest' 'python-mock' 'python-requests' 'python-flask'
               'python-oauth2client' 'python-pytest-localserver' 'python-cryptography'
-              'python-freezegun' 'python-responses')
+              'python-freezegun' 'python-responses' 'python-pyopenssl')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/GoogleCloudPlatform/google-auth-library-python/archive/v$pkgver.tar.gz")
-sha512sums=('fa5959d93314d431778bca83a1ae33e189e0e74237600e69ce1df5bc0374aba3f1b6751bb4ad4ec1f75fbbe25e4aa76cad552131ec8222df72adff31c55bf300')
+sha512sums=('67cc7919542ef55844f78d5c8d4df01c8b2cc03de100c3eef1f4b172f2a9e2eb6fdfe80129b36060f9f953484e341a69a3929968d70b0881995a22b16e69070e')
 
 prepare() {
   # Use system cert
   sed -i -e 's|certifi.where()|"/etc/ssl/certs/ca-certificates.crt"|' \
          -e 's|if certifi is not None:|if True:|' \
-         google-auth-library-python-$pkgver/google/auth/transport/urllib3.py
+         -e 's|import certifi|pass|' \
+         google-auth-library-python-$pkgver/google/auth/transport/{urllib3,requests}.py
 }
 
 build() {



More information about the arch-commits mailing list