Date: Saturday, October 15, 2022 @ 21:52:58
  Author: felixonmars
Revision: 1329279

upgpkg: python-google-auth 2.4.1-1

Modified:
  python-google-auth/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-15 21:52:05 UTC (rev 1329278)
+++ PKGBUILD    2022-10-15 21:52:58 UTC (rev 1329279)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=python-google-auth
-pkgver=2.4.0
+pkgver=2.4.1
 pkgrel=1
 pkgdesc="Google Authentication Library"
 url="https://github.com/GoogleCloudPlatform/google-auth-library-python";
@@ -13,8 +13,13 @@
               'python-oauth2client' 'python-pytest-localserver' 
'python-cryptography'
               'python-freezegun' 'python-responses' 'python-pyopenssl' 
'python-pyu2f')
 
source=("https://github.com/GoogleCloudPlatform/google-auth-library-python/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('8833af8b09604c8b8508299915b6c8185dfce916a3b1dc07818e487bc188345e63c942853ca4ef57eadab0926a80d70a93baa12d7d7ebaded736c49bdc1fe7a5')
+sha512sums=('5c669aefed70bd6168de614660bc6a93889483467be68ddf37cdfcaedc1ba5fc2c2d12267b0f2e74943bc94292b0ed114acf98adabd83a1b23b2c8c01cb50b97')
 
+prepare() {
+  cd google-auth-library-python-$pkgver
+  sed -i 's/from requests.packages.urllib3.util.ssl_ import/from 
urllib3.util.ssl_ import/' google/auth/transport/requests.py
+}
+
 build() {
   cd google-auth-library-python-$pkgver
   python setup.py build

Reply via email to