diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-10-31 08:09:03 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-10-31 09:11:14 +0100 |
| commit | fd4062d56b008f3e02bbc7228fd51c683ebca02a (patch) | |
| tree | 9d77a3d260aa4e1fc24884ca679bba798368cf4b /dev-python | |
| parent | a7a08ac9bd7df8982ec0ea3c974710207c06bc70 (diff) | |
| download | gentoo-fd4062d56b008f3e02bbc7228fd51c683ebca02a.tar.gz gentoo-fd4062d56b008f3e02bbc7228fd51c683ebca02a.tar.bz2 gentoo-fd4062d56b008f3e02bbc7228fd51c683ebca02a.zip | |
dev-python/google-auth-oauthlib: Bump to 1.2.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/google-auth-oauthlib/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/google-auth-oauthlib/google-auth-oauthlib-1.2.3.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/google-auth-oauthlib/Manifest b/dev-python/google-auth-oauthlib/Manifest index f432f0f2b892..9675ac445b17 100644 --- a/dev-python/google-auth-oauthlib/Manifest +++ b/dev-python/google-auth-oauthlib/Manifest @@ -1 +1,2 @@ DIST google-auth-library-python-oauthlib-1.2.2.gh.tar.gz 55488 BLAKE2B ebc67448bc1bfa9ea2879bee5a655dbb0beca01e4e43abe712860c64628d764405339220695a508586175a7590f3fc08d2b87163ec9bb59a4197a968880b8492 SHA512 5e57320b4c6ffdde42975625268647afa02978cb0d6598ca2db9986fa4744f7f8740779c6010f99064a223661c879cc4928642d9a9ebc308aabd950cdfd232f3 +DIST google-auth-library-python-oauthlib-1.2.3.gh.tar.gz 54146 BLAKE2B c40f0a772887158286856e9f5c3a6e598f3395ef223928249bf7d7c85fc3e0ec20c31374b899b0c39c7e7b3beb83b1c0e75c59038ff997806a1774247a4b1e68 SHA512 7c69bb377be65321cd88c0fd0317f69d10b430d4d505346c2c0d557d0488c05d225e4f24d850f9f09fafd908626551b34594c9a4f8587cb0a5e0674b6f3c2c45 diff --git a/dev-python/google-auth-oauthlib/google-auth-oauthlib-1.2.3.ebuild b/dev-python/google-auth-oauthlib/google-auth-oauthlib-1.2.3.ebuild new file mode 100644 index 000000000000..d6d70fedaa41 --- /dev/null +++ b/dev-python/google-auth-oauthlib/google-auth-oauthlib-1.2.3.ebuild @@ -0,0 +1,44 @@ +# 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..14} ) + +inherit distutils-r1 + +MY_P=google-auth-library-python-oauthlib-${PV} +DESCRIPTION="Google Authentication Library" +HOMEPAGE=" + https://github.com/googleapis/google-auth-library-python-oauthlib/ + https://pypi.org/project/google-auth-oauthlib/ +" +SRC_URI=" + https://github.com/googleapis/google-auth-library-python-oauthlib/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/click-6.0.0[${PYTHON_USEDEP}] + <dev-python/google-auth-2.42.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-2.15.0[${PYTHON_USEDEP}] + >=dev-python/requests-oauthlib-0.7.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # remove mock dependency + # https://github.com/googleapis/google-auth-library-python-oauthlib/pull/351 + find -name 'test_*.py' -exec \ + sed -i -e 's:import mock:from unittest import mock:' {} + || die +} |
