commit:     db50f454b74c346b32f2b15eaa71fdceb5cf18f6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 14 05:08:00 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar 14 06:11:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db50f454

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

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

 dev-python/google-api-python-client/Manifest       |  1 +
 .../google-api-python-client-2.81.0.ebuild         | 52 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/google-api-python-client/Manifest 
b/dev-python/google-api-python-client/Manifest
index 9bc3f9c3f94b..980b12199f58 100644
--- a/dev-python/google-api-python-client/Manifest
+++ b/dev-python/google-api-python-client/Manifest
@@ -2,3 +2,4 @@ DIST google-api-python-client-2.77.0.gh.tar.gz 38300787 BLAKE2B 
c7d147b9ae78fff5
 DIST google-api-python-client-2.78.0.gh.tar.gz 38327369 BLAKE2B 
291941a44a6fc9da7df2cbb108ba90babac33916f9c36aeae6e8b1575e9851f7c93aaea09340d36acd8f80dbe5ebe63820d60edc0aec14ee4859a47dcf66e344
 SHA512 
fff05aa981106aaccb689aeeace62734df77fefe7132481a11bc81b249a7793c1743c7c7c21116b3f5d4d59230ec7adac090d478969f8847bc201a2a23dd072d
 DIST google-api-python-client-2.79.0.gh.tar.gz 38537790 BLAKE2B 
968a33a92bff0b7bc6e01e69df3b405b189df1560e1100de6bfb987ba5d87f1da9dafa184966f55f1d64b41912790f94a98d5160dd042661a2d5acc02c6d10e3
 SHA512 
c16e32306eb8660facbaa078fc76ad49692948f26d81d753977d1cfa49f76b4eacf2a5613c4bdb8f463ebd65c955d5edda415355d143ce1dd59ec7443eeb0a13
 DIST google-api-python-client-2.80.0.gh.tar.gz 38885627 BLAKE2B 
f81943e8c4179130bbd7f3d89cdd3c7c5c828c78b9cbed6a5c011c3a0751a19a223b6e52a5fe8f739a8170b6e0e186b5e6b56b4ac08c88a1bf167cb5652d0e18
 SHA512 
cabd955f730a2b9bf8e8e3579b28935cbbc16b0ac4534d4b841317ff86cec420dd2a5a7b5b319a6a765cce02258fb43cafd6165ae49a7b99e0e891d9ba86e198
+DIST google-api-python-client-2.81.0.gh.tar.gz 39081445 BLAKE2B 
779b22f07b12834d649982a52491b567472af7fd83f49e6b9d4a20a991dd57e5bd11e32fdba05f004449733bf5cb2fd2a5ec4a3f012a558989563c88256c3199
 SHA512 
72e357d68314cda2cbb6d679ad22ecedf3a1ede87b94067bbaca886bd9a17ef3f881ca6060fc23c3c8848fba96668ff0b7ba9f4b44da625f3f34bed5f537e762

diff --git 
a/dev-python/google-api-python-client/google-api-python-client-2.81.0.ebuild 
b/dev-python/google-api-python-client/google-api-python-client-2.81.0.ebuild
new file mode 100644
index 000000000000..65893f1d07cd
--- /dev/null
+++ b/dev-python/google-api-python-client/google-api-python-client-2.81.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Google API Client for Python"
+HOMEPAGE="
+       https://github.com/googleapis/google-api-python-client/
+       https://pypi.org/project/google-api-python-client/
+"
+SRC_URI="
+       
https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+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