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.1.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index 637a5470ac77..2fff44eb1c0d 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -8,3 +8,5 @@ DIST google_auth-2.58.1.tar.gz 380459 BLAKE2B 81171f1be6af057391a0922e2f507bbf34 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 +DIST google_auth-2.59.1.tar.gz 384298 BLAKE2B 84d2ba502c16c48911c41ee0946a738802433935ef4606fc9738b250f6d3aafd0ae35b27e091d76f087598fb734c74d7c89c8c67965c76f0b033ada4d0717e3a SHA512 34ffd976e8d28032db0f79fa9973de24bb270265c4143e7c0e31f2be844d4f98d54376f4a2937089f4a2ce7cb8e1bc1b50b08aa7924b0bd22881cd8ce3408c24 +DIST google_auth-2.59.1.tar.gz.provenance 5964 BLAKE2B 2af87b90da20fb89bcb630b4b6a01e96b53267ea6ad4f8bd9718872749f96aea3e9cc4db835202d9756712f2ef868d780d44929dfc03c4c80358edfa528f4f8b SHA512 efb9780179fb83b3932b5e1a2904950999bc837b4ed91093b071a1e6eda254cfce53a090605dc21039a54b26383890cce0c690a9cb11dd30f0fa3a8b8554abb1 diff --git a/dev-python/google-auth/google-auth-2.59.1.ebuild b/dev-python/google-auth/google-auth-2.59.1.ebuild new file mode 100644 index 000000000000..e460c792a87a --- /dev/null +++ b/dev-python/google-auth/google-auth-2.59.1.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 +} |
