Date: Monday, February 21, 2022 @ 19:53:23 Author: felixonmars Revision: 1135612
upgpkg: python-google-auth 1.34.0-4: fix compatibility with new cachetools Modified: python-google-auth/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-02-21 19:53:18 UTC (rev 1135611) +++ PKGBUILD 2022-02-21 19:53:23 UTC (rev 1135612) @@ -2,7 +2,7 @@ pkgname=python-google-auth pkgver=1.34.0 -pkgrel=3 +pkgrel=4 pkgdesc="Google Authentication Library" url="https://github.com/GoogleCloudPlatform/google-auth-library-python" license=('Apache') @@ -12,8 +12,10 @@ checkdepends=('python-pytest' 'python-mock' 'python-requests' 'python-flask' '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=('658643389ffc891d4bfab50a2c95acbe48165b87d6b096fc8e7ea5d6bf39d340adaa6d0d4e1ebcc96056d215e64950c0a76cc6f9e3f050f774f6d84c22e57cb0') +source=("https://github.com/GoogleCloudPlatform/google-auth-library-python/archive/v$pkgver/$pkgname-$pkgver.tar.gz" + $pkgname-cachetools-5.patch::https://github.com/googleapis/google-auth-library-python/commit/1eae37db7f6fceb32d6ef0041962ce1755d2116c.patch) +sha512sums=('658643389ffc891d4bfab50a2c95acbe48165b87d6b096fc8e7ea5d6bf39d340adaa6d0d4e1ebcc96056d215e64950c0a76cc6f9e3f050f774f6d84c22e57cb0' + 'f51c25c7168ebc89eef985ab3f8898844c7c51128075d7d35a6cb8fecaedd1142316921a9473531cfe2b02d3a3845e2d96812367b6eb51c166d709a7f2bfe6ae') prepare() { # Use system cert @@ -21,6 +23,7 @@ -e 's|if certifi is not None:|if True:|' \ -e 's|import certifi|pass|' \ google-auth-library-python-$pkgver/google/auth/transport/{urllib3,requests}.py + patch -d google-auth-library-python-$pkgver -p1 < $pkgname-cachetools-5.patch } build() {
