diff options
Diffstat (limited to 'dev-python/google-auth')
| -rw-r--r-- | dev-python/google-auth/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/google-auth/google-auth-2.59.0.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index 077a834ee250..637a5470ac77 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -6,3 +6,5 @@ DIST google_auth-2.58.0.tar.gz 380018 BLAKE2B 7c78844e9a180221a7d4b666bf3126d36e DIST google_auth-2.58.0.tar.gz.provenance 5866 BLAKE2B 6adc541e80e6d127a03000cefb2de80c607e606463e2bc6c81b7be5350dbf1762723f999c5bbd97fda4a7bac536b1d3c76eb6068105f0fddb5e704535c112952 SHA512 a3d0c6d024fc9eee6fff677a81bc27028a4aac2d7cf281a32f84d961d885a8c5da015a12e29b2bf8de22e22d1ed731b590674aa89a22dd5dc8fe593c04d70289 DIST google_auth-2.58.1.tar.gz 380459 BLAKE2B 81171f1be6af057391a0922e2f507bbf347f1e6b4e912f128988a6137d725c3e43b13e80ef59b8105a4166ebec49f4308b30406e39f5e43de634dbceaa7e81d3 SHA512 ca1a6237d95eef44d3f04edc99b53c59c9838fe9e575d2048df164b511223fa33aa456b8461dc1f526adb395892c94937cc940c8d5e8e86fc243cb5c80542173 DIST google_auth-2.58.1.tar.gz.provenance 5819 BLAKE2B a2ee8c34de0687e231037f52b705216ab84eb21000d214ccfbdf759307210f4ce2d483d7ca14e8f4cea8678712317bac8c1ffff275df82890db69c53ed02aefc SHA512 51fb242f5e4d425c1bb4c6a8012e8aac456be952c4e20609456ff8198a8761d3006db68f530c7c094f9ceca63d8142aeb46fc6132d03b490f5f2ea9802ea981b +DIST google_auth-2.59.0.tar.gz 381025 BLAKE2B c9d80ed92e21b83fbf04d9c81a705573c1d0e2191f8ebc5b9364b30ee137e65f81adbd0c7b1b576cbd947f3d08cb70379cf0f1d8587bac3e891feb1031d0370f SHA512 f2c9ead8a9f6c398656a4c995a1f1c60a53ee22b19df2fe0da5a0d6e61b7ccadca86576d20e0b7252eecb3b16e3295a57b924df6dfb0b3a397b1a450b274e580 +DIST google_auth-2.59.0.tar.gz.provenance 6148 BLAKE2B 0c1ef17d9a22b223293fbdd365cf46fb4a620d3838160ea00213a41b15c958d1a4698d8b4cca45743cab43dcebb896e2cd5baaf1ed032ea56092af4f33c4ee1a SHA512 f9c45a31766e584fba8e3d6d58aa1843150c164749036be7b57b1db074bd1981cbae488583da457d198f7577d89916572431a394f76c1be6cd505f4e01ea64b8 diff --git a/dev-python/google-auth/google-auth-2.59.0.ebuild b/dev-python/google-auth/google-auth-2.59.0.ebuild new file mode 100644 index 000000000000..e460c792a87a --- /dev/null +++ b/dev-python/google-auth/google-auth-2.59.0.ebuild @@ -0,0 +1,63 @@ +# 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_{13..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-41.0.5[${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/aiohttp[${PYTHON_USEDEP}] + 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 +} |
