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: Wed, 27 Apr 2022 08:12:21
Message-Id: 1651047131.8a0162ebb398eb13cc885ce0ab0cf32914540cb5.mgorny@gentoo
1 commit: 8a0162ebb398eb13cc885ce0ab0cf32914540cb5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 27 07:16:46 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 27 08:12:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a0162eb
7
8 dev-python/google-api-python-client: Bump to 2.46.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.46.0.ebuild | 50 ++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest
17 index 206fee054ab7..7725b3803c65 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.44.0.tar.gz 29961288 BLAKE2B 3bb7d421c76180009c7105d693edc32c5f6af7d853cf9f70d18001976e854c343d6d9e03ad5210562a1c1c17c5127b6d96d2b12128997a8007bc027eb10c841d SHA512 8a12684117a1bdd6b72ec6fce2e7d1e48115e05788e39c8aaad8f6095e4bdc3245f6c471044e6b0e6983210f8cd0328bb9ef459f55c4c9b973a89a658a30677b
22 DIST google-api-python-client-2.45.0.tar.gz 30011332 BLAKE2B e8a734a7aea1152ac92427de7059fa59216ba96c5fc68976b341fe0fcdd8851cbbcf1eb8e9cdc37cd18eec5cce0e8f87d3832b0df39c8795f3363f61c457a17e SHA512 b0adabae6ea29390fa7506cd7b846b8499591e49ecb247818b7304683c4ea3def25203a106b371ceff5e576c84f3ab207ffd428cb7b1b543b170c2ef0ea731d4
23 +DIST google-api-python-client-2.46.0.tar.gz 30051613 BLAKE2B c1ada6b9e59ec269e6584c6555af17b1e0561e9d3e273c56b554280ee32e3db9b0e96677fc6490990d2944d532d1eb908fa9c45e38faee942c80fa1c10a10bcb SHA512 fec085668fe9ad842c2b4ffc74165af459f99e91758580e83b3270cecd6c3faaba47f27113655859a2dd616ad42cd652541230eb515ed14ff759ae9891eed03b
24
25 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.46.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.46.0.ebuild
26 new file mode 100644
27 index 000000000000..9ffc1aa432ce
28 --- /dev/null
29 +++ b/dev-python/google-api-python-client/google-api-python-client-2.46.0.ebuild
30 @@ -0,0 +1,50 @@
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="https://github.com/googleapis/google-api-python-client"
43 +SRC_URI="
44 + https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz
45 + -> ${P}.tar.gz
46 +"
47 +
48 +LICENSE="Apache-2.0"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
51 +
52 +RDEPEND="
53 + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
54 + <dev-python/httplib2-1[${PYTHON_USEDEP}]
55 + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}]
56 + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}]
57 + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
58 + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
59 + <dev-python/uritemplate-5[${PYTHON_USEDEP}]
60 +"
61 +BDEPEND="
62 + test? (
63 + dev-python/mock[${PYTHON_USEDEP}]
64 + dev-python/oauth2client[${PYTHON_USEDEP}]
65 + dev-python/pandas[${PYTHON_USEDEP}]
66 + dev-python/parameterized[${PYTHON_USEDEP}]
67 + )
68 +"
69 +
70 +distutils_enable_tests pytest
71 +
72 +python_test() {
73 + local EPYTEST_DESELECT=(
74 + # require Internet access (and credentials)
75 + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive
76 + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object
77 + )
78 +
79 + epytest tests
80 +}