commit: 38933c3b8bdb95745d48f28beb9c22c39c09329b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Feb 26 05:46:31 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Feb 26 06:03:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38933c3b
dev-python/google-api-python-client: Bump to 2.162.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/google-api-python-client/Manifest | 1 + .../google-api-python-client-2.162.0.ebuild | 50 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index c2221ecc4197..079fe3aa8726 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,2 +1,3 @@ DIST google_api_python_client-2.160.0.tar.gz 12304236 BLAKE2B 572e12ea6d7e496b7d84646ddff48fc0656681fdd7efa54410efaa8a0a5a4cfa4171d7816c5127c951b46f2b7eaf97df9e586618a504b4d0a9f7b72c25165250 SHA512 1a232b3b840f71348f38d9587696c2795e88fdfead3a77db8725f59d0e263d0864d1143b6421bc8a364f19129e00770ef2143153a44d1b8c1266844b1f2f565a DIST google_api_python_client-2.161.0.tar.gz 12358839 BLAKE2B b7537f29c078adc2a2a0b89da52acc9fe53db4ecae742f367019ef780951d668f8ff7e6390fd417644bdae2ab97f472b99f3472d642382b3341f5894de477cad SHA512 19fd8cf49d96fba19381a9ca891ee53cf521ff9fb3103c6f1f22207ab6e7d0dd0de445d5f96d9d6a7d464139a9c38052bdaf4878fbacf9d64fa97006f1ea6da5 +DIST google_api_python_client-2.162.0.tar.gz 12562719 BLAKE2B b011064f127a6d8f131121b3776b554551e39aadea780e3357194cf90877b5b1711d91b6cdf56fa0118b96f371216d443b66a284c04a9cda8af7d9bf3687932c SHA512 15febe68247e1cb6722c4c509b9f31f879cb058110b46297d4db6df8533fca4bc095ac8f3e7faddff2a32749e44e356179e7f99085592dd5e218b41981364f6a diff --git a/dev-python/google-api-python-client/google-api-python-client-2.162.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.162.0.ebuild new file mode 100644 index 000000000000..f4f4a9c95e9b --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.162.0.ebuild @@ -0,0 +1,50 @@ +# 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_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + tests/test_discovery.py::Universe::test_client_options_universe_configured_with_mtls + tests/test_discovery.py::Universe::test_universe_env_var_configured_with_mtls + ) + + epytest tests +}