google-auth: add patch for cachetools 6.x compatibility
See <af18060d52>.
This commit is contained in:
parent
c1c16ef20c
commit
4d67c54ff5
@ -4,7 +4,7 @@ _realname=google-auth
|
||||
pkgbase=mingw-w64-python-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
|
||||
pkgver=2.40.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Google Authentication Library (mingw-w64)'
|
||||
arch=('any')
|
||||
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||
@ -35,8 +35,26 @@ checkdepends=("${MINGW_PACKAGE_PREFIX}-python-flask"
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
|
||||
"${MINGW_PACKAGE_PREFIX}-python-installer"
|
||||
"${MINGW_PACKAGE_PREFIX}-python-setuptools")
|
||||
source=("https://pypi.org/packages/source/${_realname::1}/${_realname/-/_}/${_realname/-/_}-${pkgver}.tar.gz")
|
||||
sha256sums=('500c3a29adedeb36ea9cf24b8d10858e152f2412e3ca37829b3fa18e33d63b77')
|
||||
source=("https://pypi.org/packages/source/${_realname::1}/${_realname/-/_}/${_realname/-/_}-${pkgver}.tar.gz"
|
||||
af18060d521baf86c219d66a26631decb3b28e79.patch)
|
||||
sha256sums=('500c3a29adedeb36ea9cf24b8d10858e152f2412e3ca37829b3fa18e33d63b77'
|
||||
'33a4c06fa0e765e3639f4b037231b9d19dc1ebc973cfc6b6e52e9c3e101f97ab')
|
||||
|
||||
# Helper macros to help make tasks easier #
|
||||
apply_patch_with_msg() {
|
||||
for _patch in "$@"
|
||||
do
|
||||
msg2 "Applying $_patch"
|
||||
patch -Nbp1 -i "${srcdir}/$_patch"
|
||||
done
|
||||
}
|
||||
# =========================================== #
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}"/"${_realname/-/_}-${pkgver}"
|
||||
apply_patch_with_msg \
|
||||
af18060d521baf86c219d66a26631decb3b28e79.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cp -r "${_realname/-/_}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
|
||||
|
||||
@ -0,0 +1,22 @@
|
||||
From af18060d521baf86c219d66a26631decb3b28e79 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Yannick=20P=C3=89ROUX?= <yannick.peroux@gmail.com>
|
||||
Date: Tue, 15 Jul 2025 19:36:55 +0200
|
||||
Subject: [PATCH] feat: add support for cachetools 6.0 (#1773)
|
||||
|
||||
---
|
||||
setup.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 3874354fd..20f79ce66 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
DEPENDENCIES = (
|
||||
- "cachetools>=2.0.0,<6.0",
|
||||
+ "cachetools>=2.0.0,<7.0",
|
||||
"pyasn1-modules>=0.2.1",
|
||||
# rsa==4.5 is the last version to support 2.7
|
||||
# https://github.com/sybrenstuvel/python-rsa/issues/152#issuecomment-643470233
|
||||
Loading…
x
Reference in New Issue
Block a user