Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/google-api-python-client/
Date: Thu, 01 Dec 2022 07:09:26
Message-Id: 1669878550.7eeb5f34e54a1f6ce623d6f3c24168a4d8ab87b1.mgorny@gentoo
1 commit: 7eeb5f34e54a1f6ce623d6f3c24168a4d8ab87b1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 1 06:04:58 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 1 07:09:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eeb5f34
7
8 dev-python/google-api-python-client: Bump to 2.68.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/google-api-python-client/Manifest | 1 +
13 .../google-api-python-client-2.68.0.ebuild | 53 ++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest
17 index dea9ac331f4a..1b5f8f3d33a6 100644
18 --- a/dev-python/google-api-python-client/Manifest
19 +++ b/dev-python/google-api-python-client/Manifest
20 @@ -1,2 +1,3 @@
21 DIST google-api-python-client-2.65.0.gh.tar.gz 36079173 BLAKE2B 32e60989dbc6e02ed2bd128772a71c24670d16da09ca4e5be6d4f56ebf16c94ccac120e233b4efb5fb9c9b8c464d052129eb6305a57fb61f732ca9d593f1297c SHA512 3b215e290c9a63aca914c08478342ab41ef760c135d3d5a13387be52a2993b814568c86cad752de6afe16fb3097989f4d7df06f4c9ce9c453fb7d0cb55f17053
22 DIST google-api-python-client-2.66.0.gh.tar.gz 36477219 BLAKE2B 1da02e7747fd1421bdc62180103784af7b50ab0a672ac932f2fe28c22141a922d6f59d9c11ee74b78ff13583bdeee98d35f7b6d616af84fe99aa3d1a0de17342 SHA512 6b3cdf7279067080ff216d184f23c76c74c586e34b70afd936f1d10671fc0c7e7a8ba446a1ca5a9003bab2e3855e939376610ff4e45811fd6ead5e4942f62247
23 +DIST google-api-python-client-2.68.0.gh.tar.gz 37053945 BLAKE2B 7a73b80737b73198531207d203c2010969a9dbdd5012071944ec86bd6c2c63eb0a86bf2941a4c37544629aeae32b367cc8d9209300c63e8d1be39f32bef1d91f SHA512 9b70ad6f05d28198ee82984e263e770c995143770123a8aaeb605aad880464e951b8849bbed8c7cb511bd7beebed1df965fdd53b2e6a161905a0a2e481d5b68a
24
25 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.68.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.68.0.ebuild
26 new file mode 100644
27 index 000000000000..7e8aaa05d6d4
28 --- /dev/null
29 +++ b/dev-python/google-api-python-client/google-api-python-client-2.68.0.ebuild
30 @@ -0,0 +1,53 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Google API Client for Python"
42 +HOMEPAGE="
43 + https://github.com/googleapis/google-api-python-client/
44 + https://pypi.org/project/google-api-python-client/
45 +"
46 +SRC_URI="
47 + https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="Apache-2.0"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
54 +
55 +RDEPEND="
56 + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
57 + <dev-python/httplib2-1[${PYTHON_USEDEP}]
58 + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}]
59 + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}]
60 + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
61 + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
62 + <dev-python/uritemplate-5[${PYTHON_USEDEP}]
63 +"
64 +BDEPEND="
65 + test? (
66 + dev-python/mock[${PYTHON_USEDEP}]
67 + dev-python/oauth2client[${PYTHON_USEDEP}]
68 + dev-python/pandas[${PYTHON_USEDEP}]
69 + dev-python/parameterized[${PYTHON_USEDEP}]
70 + )
71 +"
72 +
73 +distutils_enable_tests pytest
74 +
75 +python_test() {
76 + local EPYTEST_DESELECT=(
77 + # require Internet access (and credentials)
78 + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive
79 + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object
80 + )
81 +
82 + epytest tests
83 +}