diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-06 23:58:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-06 23:58:42 +0100 |
commit | 992d51a146d493f8dd5d710e033427d323b9c739 (patch) | |
tree | 8463bd925b241d603b8a754ce50fd81e46ed7b86 /dev-python/google-auth | |
parent | 8368c614e6a1232f34a14cd6495cf2f68933030d (diff) |
gentoo auto-resync : 06:10:2023 - 23:58:42
Diffstat (limited to 'dev-python/google-auth')
-rw-r--r-- | dev-python/google-auth/Manifest | 9 | ||||
-rw-r--r-- | dev-python/google-auth/files/google-auth-2.20.0-urllib3-2.patch | 62 | ||||
-rw-r--r-- | dev-python/google-auth/google-auth-2.22.0.ebuild | 63 | ||||
-rw-r--r-- | dev-python/google-auth/google-auth-2.23.0.ebuild | 66 | ||||
-rw-r--r-- | dev-python/google-auth/google-auth-2.23.1.ebuild | 61 | ||||
-rw-r--r-- | dev-python/google-auth/google-auth-2.23.2.ebuild | 2 |
6 files changed, 2 insertions, 261 deletions
diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index a70c53c8be1a..135976c8a554 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1,10 +1,3 @@ -AUX google-auth-2.20.0-urllib3-2.patch 2525 BLAKE2B fec791fcbe884b0d5a1da9603798217e44f58f8afe1fff660332b4aa4ba726630f9ca4b3de013e918cfe3a0756b2cb1311f6f6aa89cc8ef0af7c9fe3a3dd50d7 SHA512 2f8a6ebdbd66ee1c1d0f2449768239c702115ca91e86b29677093413b1d71844ae0ac8ea77669b94b0088898d639c72432851e02f992d3b782bb1fa0b02cac76 -DIST google-auth-2.22.0.tar.gz 231433 BLAKE2B 07b813209ce3f5ff429c4f9417141fa85029ff3eedb116664d6effdf508497ce6b6552fa4c3b6f9f1e7f1ffe9b9ae8ce72c8c727d277662bb9f8214ccd152b66 SHA512 c2c04e9ad367dd96bf00af7b19c7d897dd9fe3f8e9318b7436ec85a5c146b29c273cc718932956e97b2e4a1e2f12d0d10e835b6cf0f4e46ee19f6aaeed492b5e -DIST google-auth-2.23.0.tar.gz 231512 BLAKE2B fd7594fb28114d07773e2f0bf2da475cb1d771ef27f67765e9235883cd312b88cda092c5bcbb7a1468ded44da4e5cd121c58850058b023232725a9829969b8c3 SHA512 d5c4967478c2a2846f2297b8449cd1a9de9796f3e1a5075ac7a3c2c35a30468fe93bf5c37b7bb4305925fe5097a57fddbddc482be4446e4364a78709eec1d8cd -DIST google-auth-2.23.1.tar.gz 232191 BLAKE2B ce828a3f04993cfd4746c096b70b5813e60acd8ed56ffc87f608f4a33a465eba4cc52a58906a7d5aeed787bf4b26b8f77fb02294181e61ed69f9036fce34dcb3 SHA512 2d8677cff7c3c6de70a4e6934a78585c098c2f2a8ca3007acb8eb4612b32ffd1ce9c841aa57f9ce043fab071dddf3bef153684541a82a80a5a914d7c377acb9b DIST google-auth-2.23.2.tar.gz 232207 BLAKE2B 0de53f79bd908d7194253525de07075779ffc0ed33ef71e50004773ba85aee8e7392cd5cc87ad88b5f9ce90bc3eb19c0c094d0e76311d2cd93fb0bdb62ab2450 SHA512 d443b769e6ee7de6da14e31f8beb938aaf63edecafcbedda46b253bf0380dbd78a4508a0214f7a708a09c39d1d262cc93a290ec44e89fa05da7796828f33c1fd -EBUILD google-auth-2.22.0.ebuild 1636 BLAKE2B 184cd9afe0432f664ed53d96cbfd68277ab063c9f7ad7e2bce10840d80cfdb61fcc0475f677e2b94f1f1a6c8ed22967d3fda7537c7b1669042e1a9663332a2c4 SHA512 51c5edead6407ae45f7ca92efba32a0799b23201d2c9a475b9e4ab07ca84a6f77669aab892790481b9234721db62df6c2b39c3e74b2cd2121fb3ef4d0dc29d18 -EBUILD google-auth-2.23.0.ebuild 1656 BLAKE2B e416ecf4a60bdf1a14b556a15f0655b771ac08357210341dcb307fa0dd9f3834d86d5bf2fdc57cd1c886a9d13dcb31338ee36796078541ee6013a1d7dacfdfd4 SHA512 0cf2306868c09b083735d28e5122038dce41eb8e8f3403e17baa2997dc31832fa3f676f646ba96925303381790ca4a2a84a7674cb852c97017925cce7728b241 -EBUILD google-auth-2.23.1.ebuild 1526 BLAKE2B ea5c968ab2fb0479143155141d70d7ec6f4eeb6bf2a115f18ff6ec03b4cc64db91b658ed4101ca75db756c3af5cb74ca3a5fe115043a34d345ce8d41f42c6f0e SHA512 2e7111b48c64eddf73ea67916aa883e1f9d126a5daab969227fd36577e3c3394c0c720933bedafa0b6c34242220d647f5aaa386cfdcc57a8a3c6c89ee75e9b1a -EBUILD google-auth-2.23.2.ebuild 1480 BLAKE2B 79680b9d542cdafceb202bf0e1f49d7c654957aa7f186e8bd61ad53dd11ce2ab0b431d7e66ae012485ebe334161d4d3a8513f1237356500aa338d580c42bfcd2 SHA512 e7a800bf2b76574ee015da9753edcd18f4a9a7cb2953ee43f2712a7ee0d1a8164d900a790a5787af106d057fa6c9e0b8686a7077b956f31e0a71386e162476d6 +EBUILD google-auth-2.23.2.ebuild 1478 BLAKE2B 4bedb77f85b4b3f039a5beb4516b7649d88c63d241621c7dc645833cbb55dbad04a1bbf6c19549bd13ffcc19e43c0761976ef8dc3e94a8a62f62f7fdef73c750 SHA512 b612b318441930cc8d8ee6d0d14c2db301e0080cf0afaa5990e818ab0a44891314903789ab9fe2b1c573ec17400c2de3921b32ca01cd6298923a714d72209223 MISC metadata.xml 521 BLAKE2B 784282f6a173e7746a408556d77e1277f65a41eae545b6b26054c1e506642e683c1c7d91798f3b7b690bc4f9d2f642a51c1395593177eebf1770d2a0c0ba589e SHA512 c2624ebca3dc42961e61531db4724b2b354a722f71cd7f2c194680fee50125d2251f4b94cc7e31b008a2792e74b0f55f407a1230d3f59572df9cf32ee49d2fb7 diff --git a/dev-python/google-auth/files/google-auth-2.20.0-urllib3-2.patch b/dev-python/google-auth/files/google-auth-2.20.0-urllib3-2.patch deleted file mode 100644 index dcaf88d1a288..000000000000 --- a/dev-python/google-auth/files/google-auth-2.20.0-urllib3-2.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 9ed006d02d7c9de3e6898ee819648c2fd3367c1d Mon Sep 17 00:00:00 2001 -From: Daniel Garcia Moreno <daniel.garcia@suse.com> -Date: Wed, 10 May 2023 09:18:57 +0200 -Subject: [PATCH] Support urllib3 >= 2.0.0 - -The urllib3.request.RequestMethods has been moved to -urllib3._request_methods.RequestMethods. - -This patch changes the usage to continue working with the latest -release, but now it's a "private" class in a "private" module, so maybe -it's worth to start to think about updating this code to use the public -API. - -https://urllib3.readthedocs.io/en/stable/changelog.html#removed ---- - google/auth/transport/urllib3.py | 11 ++++++----- - setup.py | 2 +- - 2 files changed, 7 insertions(+), 6 deletions(-) - -diff --git a/google/auth/transport/urllib3.py b/google/auth/transport/urllib3.py -index 4abc26b52..f1dd35320 100644 ---- a/google/auth/transport/urllib3.py -+++ b/google/auth/transport/urllib3.py -@@ -95,8 +95,8 @@ class Request(transport.Request): - credentials.refresh(request) - - Args: -- http (urllib3.request.RequestMethods): An instance of any urllib3 -- class that implements :class:`~urllib3.request.RequestMethods`, -+ http (urllib3._request_methods.RequestMethods): An instance of any urllib3 -+ class that implements :class:`~urllib3._request_methods.RequestMethods`, - usually :class:`urllib3.PoolManager`. - - .. automethod:: __call__ -@@ -184,7 +184,7 @@ def _make_mutual_tls_http(cert, key): - return http - - --class AuthorizedHttp(urllib3.request.RequestMethods): -+class AuthorizedHttp(urllib3._request_methods.RequestMethods): - """A urllib3 HTTP class with credentials. - - This class is used to perform requests to API endpoints that require -@@ -197,8 +197,9 @@ class AuthorizedHttp(urllib3.request.RequestMethods): - response = authed_http.request( - 'GET', 'https://www.googleapis.com/storage/v1/b') - -- This class implements :class:`urllib3.request.RequestMethods` and can be -- used just like any other :class:`urllib3.PoolManager`. -+ This class implements -+ :class:`urllib3._request_methods.RequestMethods` and can be used -+ just like any other :class:`urllib3.PoolManager`. - - The underlying :meth:`urlopen` implementation handles adding the - credentials' headers to the request and refreshing credentials as needed. -diff --git a/setup.py b/setup.py -index e45512a02..cfb3b504f 100644 ---- a/setup.py -+++ b/setup.py -@@ -32,1 +32,1 @@ -- "urllib3<2.0", -+ "urllib3>=2.0", diff --git a/dev-python/google-auth/google-auth-2.22.0.ebuild b/dev-python/google-auth/google-auth-2.22.0.ebuild deleted file mode 100644 index a3342ef26a76..000000000000 --- a/dev-python/google-auth/google-auth-2.22.0.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..11} ) - -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 ~arm ~arm64 x86" - -RDEPEND=" - <dev-python/cachetools-6.0.0[${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}] - dev-python/six[${PYTHON_USEDEP}] - !dev-python/namespace-google -" -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/grpcio[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/urllib3-2[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/googleapis/google-auth-library-python/pull/1290 - "${FILESDIR}"/google-auth-2.20.0-urllib3-2.patch -) - -EPYTEST_IGNORE=( - # these are compatibility tests with oauth2client - # disable them to unblock removal of that package - tests/test__oauth2client.py -) - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} diff --git a/dev-python/google-auth/google-auth-2.23.0.ebuild b/dev-python/google-auth/google-auth-2.23.0.ebuild deleted file mode 100644 index 4fb5afb4df60..000000000000 --- a/dev-python/google-auth/google-auth-2.23.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..11} ) - -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 ~arm ~arm64 ~x86" - -RDEPEND=" - <dev-python/cachetools-6.0.0[${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/cryptography[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/grpcio[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/urllib3-2[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/googleapis/google-auth-library-python/pull/1290 - "${FILESDIR}"/google-auth-2.20.0-urllib3-2.patch -) - -python_test() { - local EPYTEST_IGNORE=( - # these are compatibility tests with oauth2client - # disable them to unblock removal of that package - tests/test__oauth2client.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} diff --git a/dev-python/google-auth/google-auth-2.23.1.ebuild b/dev-python/google-auth/google-auth-2.23.1.ebuild deleted file mode 100644 index 4cd570591bdc..000000000000 --- a/dev-python/google-auth/google-auth-2.23.1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..11} ) - -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 ~arm ~arm64 ~x86" - -RDEPEND=" - <dev-python/cachetools-6.0.0[${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}] - >=dev-python/urllib3-2.0.5[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/grpcio[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # these are compatibility tests with oauth2client - # disable them to unblock removal of that package - tests/test__oauth2client.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} diff --git a/dev-python/google-auth/google-auth-2.23.2.ebuild b/dev-python/google-auth/google-auth-2.23.2.ebuild index 3136de42f585..a4ae401fd0fb 100644 --- a/dev-python/google-auth/google-auth-2.23.2.ebuild +++ b/dev-python/google-auth/google-auth-2.23.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}] |