commit:     054ceda6a86be5aecec9cd10c97d32f75552ebf6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 30 05:13:57 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep 30 05:58:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=054ceda6

dev-python/google-auth: Bump to 2.41.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/google-auth/Manifest                  |  1 +
 dev-python/google-auth/google-auth-2.41.0.ebuild | 62 ++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest
index 458b8890926c..2264c04270f7 100644
--- a/dev-python/google-auth/Manifest
+++ b/dev-python/google-auth/Manifest
@@ -1 +1,2 @@
 DIST google_auth-2.40.3.tar.gz 281029 BLAKE2B 
eb95721c42ee37c0498c9c57fe3aceea006bc0b401a84c8f33a0000e8f49975537124827092da9ad40a66650dbe6e276b570d77eb45bcc86c23085a231572e1b
 SHA512 
35062091ab3515f381c5da5d7952e1c60c650f62041b32217905462b0393199666126cbc018e96ea694eadaf9fec2528e9c7531758cfeda8a244fa10f8d362fb
+DIST google_auth-2.41.0.tar.gz 292282 BLAKE2B 
74dd18bc2677baa87a8eacb3a1eaa8fabf61b29cfe6e8a4f16e81eb658943d3ea98a27409a532f01ce47a83f7b2ae600072633d2b530f8851b15f03c943c1a82
 SHA512 
39f28c0e9d1fbd4058c6b6e5e415bf2e4db4fdbc0a181cdcd085628edbe51af2eb69d201fb25e8a3a97cd574db2a2f1ac6961836a7f6447d415426e99dcb3545

diff --git a/dev-python/google-auth/google-auth-2.41.0.ebuild 
b/dev-python/google-auth/google-auth-2.41.0.ebuild
new file mode 100644
index 000000000000..336f3ba4550a
--- /dev/null
+++ b/dev-python/google-auth/google-auth-2.41.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Google Authentication Library"
+HOMEPAGE="
+       https://github.com/googleapis/google-auth-library-python/
+       https://pypi.org/project/google-auth/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+       dev-python/cachetools[${PYTHON_USEDEP}]
+       >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]
+       >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}]
+       >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/aioresponses[${PYTHON_USEDEP}]
+               >=dev-python/cryptography-38.0.3[${PYTHON_USEDEP}]
+               dev-python/flask[${PYTHON_USEDEP}]
+               dev-python/freezegun[${PYTHON_USEDEP}]
+               dev-python/mock[${PYTHON_USEDEP}]
+               >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}]
+               dev-python/pyopenssl[${PYTHON_USEDEP}]
+               dev-python/pyu2f[${PYTHON_USEDEP}]
+               dev-python/requests[${PYTHON_USEDEP}]
+               dev-python/responses[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=( pytest-{asyncio,localserver} )
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_prepare() {
+       distutils-r1_src_prepare
+
+       # unpin deps
+       sed -i -e 's:,<[0-9.]*::' setup.py || die
+}
+
+EPYTEST_DESELECT=(
+       # tests are broken with up-to-date pyopenssl
+       
tests/transport/test__mtls_helper.py::TestDecryptPrivateKey::test_success
+)
+
+EPYTEST_IGNORE=(
+       # these are compatibility tests with oauth2client
+       # disable them to unblock removal of that package
+       tests/test__oauth2client.py
+)

Reply via email to