commit:     7820ddbb8a6a02cabd524cf50b28ab1e1f6b214f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  6 02:45:13 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul  6 03:30:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7820ddbb

dev-python/google-api-python-client: Bump to 2.92.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/google-api-python-client/Manifest       |  1 +
 .../google-api-python-client-2.92.0.ebuild         | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/google-api-python-client/Manifest 
b/dev-python/google-api-python-client/Manifest
index 2b7b0dc6d4d1..a7d6e6b9c8e4 100644
--- a/dev-python/google-api-python-client/Manifest
+++ b/dev-python/google-api-python-client/Manifest
@@ -1,3 +1,4 @@
 DIST google-api-python-client-2.89.0.tar.gz 10965040 BLAKE2B 
819c9f0837b86acc693158830c54e48778a1c8ef1fb549a4fbbe100827d0a269b435c4c29d8683c674981ef7817a0489e1cd6639adb7c9b09951c05b8fcf3aef
 SHA512 
e3541f7e6b151ade5feb6e50f22c26b63b85304c4254929be5776c44c6cd80a4c2660d62fc052777033705d3c6a7e8dcd1a69f7f5d3dd5dc49549237a2ce6a5f
 DIST google-api-python-client-2.90.0.tar.gz 10891311 BLAKE2B 
0683e95e12e5f2faaa5ce5b3f4c82e65df00da0c884530917dd086d33dda74a66e62fd27c7edead205f9d330800d2c60929fce68ce7f82fc04f8787cae010cdf
 SHA512 
331812b50c2816f407db25f703817bf0d20b9218de39bd91c67d40a1f113141c8b9af0210d9d10272ebf51b90485fa44f636e821de19add72eeb38fa04ffe449
 DIST google-api-python-client-2.91.0.tar.gz 10853485 BLAKE2B 
3f31a18187701f833e06f514150acf5eec72d6dabdb8b3493efa8fff79f10848a2108c5c7114f0f467519bd2f943162cdc3cbe91c9805a65a74d80c6ca41b745
 SHA512 
638783176e9d98af621deb5ee10ad5418108910f0996e98653adfa252dee2edd8db712c8fc0fe73d7d83db14a770d297b34d3334c5b018ce800325ef2dd91e04
+DIST google-api-python-client-2.92.0.tar.gz 10894003 BLAKE2B 
ab01475cbaee3c30167077e28864bd9b3b6a9a4ca7a4f13f9856434b00c28ac923c1b544f377957369fdaec8efbabe0213fd975a35384d0f54bb23d9b6a46234
 SHA512 
3cf08fe4fb9f1694cb883f2c0f92448fc6757935a01abd512b0a7e9b6aca1e7ef852f4b11d8db759febd8a22dbb280bb61e7a007dfed506c1fb104069bd38dd8

diff --git 
a/dev-python/google-api-python-client/google-api-python-client-2.92.0.ebuild 
b/dev-python/google-api-python-client/google-api-python-client-2.92.0.ebuild
new file mode 100644
index 000000000000..0194f9640998
--- /dev/null
+++ b/dev-python/google-api-python-client/google-api-python-client-2.92.0.ebuild
@@ -0,0 +1,49 @@
+# 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 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 ~arm ~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
+       )
+
+       epytest tests
+}

Reply via email to