python-google-auth: update to 2.41.1

Patch af18060d521baf86c219d66a26631decb3b28e79.patch has been
merged upstream, so it's not required anymore.
This commit is contained in:
Dirk Stolle 2025-10-03 04:04:17 +02:00
parent 4f47901413
commit fe475a619b
2 changed files with 5 additions and 34 deletions

View File

@ -3,8 +3,8 @@
_realname=google-auth
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=2.40.3
pkgrel=2
pkgver=2.41.1
pkgrel=1
pkgdesc='Google Authentication Library (mingw-w64)'
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
@ -12,6 +12,7 @@ url='https://googleapis.dev/python/google-auth/latest/'
msys2_repository_url='https://github.com/googleapis/google-auth-library-python'
msys2_references=(
'archlinux: python-google-auth'
'gentoo: dev-python/google-auth'
'purl: pkg:pypi/google-auth'
)
license=('spdx:Apache-2.0')
@ -35,10 +36,8 @@ 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"
af18060d521baf86c219d66a26631decb3b28e79.patch)
sha256sums=('500c3a29adedeb36ea9cf24b8d10858e152f2412e3ca37829b3fa18e33d63b77'
'33a4c06fa0e765e3639f4b037231b9d19dc1ebc973cfc6b6e52e9c3e101f97ab')
source=("https://pypi.org/packages/source/${_realname::1}/${_realname/-/_}/${_realname/-/_}-${pkgver}.tar.gz")
sha256sums=('b76b7b1f9e61f0cb7e88870d14f6a94aeef248959ef6992670efee37709cbfd2')
# Helper macros to help make tasks easier #
apply_patch_with_msg() {
@ -50,12 +49,6 @@ apply_patch_with_msg() {
}
# =========================================== #
prepare() {
cd "${srcdir}"/"${_realname/-/_}-${pkgver}"
apply_patch_with_msg \
af18060d521baf86c219d66a26631decb3b28e79.patch
}
build() {
cp -r "${_realname/-/_}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation

View File

@ -1,22 +0,0 @@
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