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, 18 May 2022 05:58:58
Message-Id: 1652853525.73ac95c959483f49a738b7d4310cb191c0ee3463.mgorny@gentoo
1 commit: 73ac95c959483f49a738b7d4310cb191c0ee3463
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 18 05:43:29 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 18 05:58:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73ac95c9
7
8 dev-python/google-api-python-client: Bump to 2.48.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.48.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 188c81bdefc1..b251d959b105 100644
18 --- a/dev-python/google-api-python-client/Manifest
19 +++ b/dev-python/google-api-python-client/Manifest
20 @@ -2,3 +2,4 @@ DIST google-api-python-client-2.44.0.tar.gz 29961288 BLAKE2B 3bb7d421c76180009c7
21 DIST google-api-python-client-2.45.0.tar.gz 30011332 BLAKE2B e8a734a7aea1152ac92427de7059fa59216ba96c5fc68976b341fe0fcdd8851cbbcf1eb8e9cdc37cd18eec5cce0e8f87d3832b0df39c8795f3363f61c457a17e SHA512 b0adabae6ea29390fa7506cd7b846b8499591e49ecb247818b7304683c4ea3def25203a106b371ceff5e576c84f3ab207ffd428cb7b1b543b170c2ef0ea731d4
22 DIST google-api-python-client-2.46.0.tar.gz 30051613 BLAKE2B c1ada6b9e59ec269e6584c6555af17b1e0561e9d3e273c56b554280ee32e3db9b0e96677fc6490990d2944d532d1eb908fa9c45e38faee942c80fa1c10a10bcb SHA512 fec085668fe9ad842c2b4ffc74165af459f99e91758580e83b3270cecd6c3faaba47f27113655859a2dd616ad42cd652541230eb515ed14ff759ae9891eed03b
23 DIST google-api-python-client-2.47.0.gh.tar.gz 30118538 BLAKE2B 601a02ffdb76b9213c0259042ad5693b46bd72b6178a37d9d6a8fcc263e9a8c02f19c1ce9923c72f41270e960c675e4c71cefb4fbb4e54125bf000186a857ae2 SHA512 1da6660f085edf2562525b904def124398088afb0e9dbda82f0894cf5fc26c052dcd7a497f60ef18d281a16b46c5cfc6b145fca8fd4eb7d3f9225b9ff3ea2ac9
24 +DIST google-api-python-client-2.48.0.gh.tar.gz 30483162 BLAKE2B fa6371d2cb5b27184eb0e16ea0ef9875af2dfd83b2d34dd84272c2942589f712b35451b9150f38722501edfe5a4b8a506b3f52fedffbb48af31c20dc36a59cfb SHA512 0789aca32b01304095702d908c8ff31d2b4ddd771ed8cf3b3f99f15091fd1eea782000c58646c7760811a40252e5f1982876278f4cdd23e3f8cf672682693605
25
26 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.48.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.48.0.ebuild
27 new file mode 100644
28 index 000000000000..7e8aaa05d6d4
29 --- /dev/null
30 +++ b/dev-python/google-api-python-client/google-api-python-client-2.48.0.ebuild
31 @@ -0,0 +1,53 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Google API Client for Python"
43 +HOMEPAGE="
44 + https://github.com/googleapis/google-api-python-client/
45 + https://pypi.org/project/google-api-python-client/
46 +"
47 +SRC_URI="
48 + https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz
49 + -> ${P}.gh.tar.gz
50 +"
51 +
52 +LICENSE="Apache-2.0"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
55 +
56 +RDEPEND="
57 + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
58 + <dev-python/httplib2-1[${PYTHON_USEDEP}]
59 + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}]
60 + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}]
61 + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
62 + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
63 + <dev-python/uritemplate-5[${PYTHON_USEDEP}]
64 +"
65 +BDEPEND="
66 + test? (
67 + dev-python/mock[${PYTHON_USEDEP}]
68 + dev-python/oauth2client[${PYTHON_USEDEP}]
69 + dev-python/pandas[${PYTHON_USEDEP}]
70 + dev-python/parameterized[${PYTHON_USEDEP}]
71 + )
72 +"
73 +
74 +distutils_enable_tests pytest
75 +
76 +python_test() {
77 + local EPYTEST_DESELECT=(
78 + # require Internet access (and credentials)
79 + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive
80 + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object
81 + )
82 +
83 + epytest tests
84 +}