summaryrefslogtreecommitdiff
path: root/dev-python/google-auth
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/google-auth')
-rw-r--r--dev-python/google-auth/Manifest2
-rw-r--r--dev-python/google-auth/google-auth-2.49.2.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest
index 65a9a496caf7..e513e5a274ac 100644
--- a/dev-python/google-auth/Manifest
+++ b/dev-python/google-auth/Manifest
@@ -4,3 +4,5 @@ DIST google_auth-2.49.0.tar.gz 333444 BLAKE2B 5471495f348918cbab6219a8964c40a3a0
DIST google_auth-2.49.0.tar.gz.provenance 5862 BLAKE2B 0ef4e524c045d11a04749ff932eafbe45426012b08f2794f4e71005c342d90643d1c001c428fb88c48152ab049cc019266cb034db86a3e9ead215d2414d77738 SHA512 892a20d41ea32f87793f1a26f4d9cc5a489b9b1d208b2087076f30bb880dc509e47b89e0b14ff14b495a054373f110e66d1e85932fdb68a6977b6690b5b57940
DIST google_auth-2.49.1.tar.gz 333825 BLAKE2B 9c1d965e8ed68b183369a4427095950a44382d04d37c10d7bfeb6641090848d62dd775fba0ecbbc4ee1345884dc4b0995a659ea8e5797cc6cf6efb81bcad7c00 SHA512 979e83c8ee2e9f79f31d3d03b18da1053d6c9903681513f72a991059123729f162505a8d4448e745b78851f42dd3bf69ae20f8758fdc4e50aba83c734e24e1d3
DIST google_auth-2.49.1.tar.gz.provenance 6003 BLAKE2B 6322011ec3dae3da2a98f439ce49ff7cae20cd213851343d6620e53b33567c3e07c525de449f3ae32e19230cf8b0826ac26118c2bac5bcf885a1bd1705a5546b SHA512 9d5f59ca1736dd32ed7fa9781c8f0885c7e36beb92fee7ef0e8d690915a6f50d355ba84229974a639f5d51510eafc97004571d914e2bf1b0592752d5ef80c901
+DIST google_auth-2.49.2.tar.gz 333958 BLAKE2B e89901c46b0f4b84ecc43eeb99c45d26afac6d5bfe0989bbf8619afabeaca7d3968a6a1a9a09aefcdc9de48d4390bc5a4e5d25cc8fe2681ed570fa018be56a0d SHA512 9f4d937577a9f007ba53c38031b36ea30f75383b2764f94bf95024c7537d3c75bce4482b8e27ff6a31c72b33623455eb32df0709d9351eff3a942d080c74c007
+DIST google_auth-2.49.2.tar.gz.provenance 5673 BLAKE2B 397cc01fadb64b9c7d04ef86bf109466b3676702139604d5cc856e9f98afcc39102db269c3b58c05b50d18ce3700f59d1c4b180a91affc31efe7b3270b1d1e72 SHA512 9299e45f499b8a12745e983fcca235fb0dcfe693c776b58a00a2baef4dd1d1eec456fe5f8fc991539acc082f1864e7dfcb2b8756a58afb7ffc360a50a4c8d1f5
diff --git a/dev-python/google-auth/google-auth-2.49.2.ebuild b/dev-python/google-auth/google-auth-2.49.2.ebuild
new file mode 100644
index 000000000000..f8b4339b510a
--- /dev/null
+++ b/dev-python/google-auth/google-auth-2.49.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_VERIFY_REPO=gcp:google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com
+PYTHON_COMPAT=( python3_{10..14} )
+
+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"
+
+# TODO: rsa is now optional
+RDEPEND="
+ >=dev-python/cryptography-38.0.3[${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/flask[${PYTHON_USEDEP}]
+ dev-python/freezegun[${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
+
+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
+)
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # unpin deps
+ sed -i -e 's:,<[0-9.]*::' setup.py || die
+}