1 |
commit: 91667cf24424eceb505429de888b75e69b48346d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 26 07:10:13 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 26 08:07:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91667cf2 |
7 |
|
8 |
dev-python/google-api-python-client: Bump to 2.49.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.49.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 dd884dcb14a9..8d849a0105b7 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.47.0.gh.tar.gz 30118538 BLAKE2B 601a02ffdb76b9213c0259042ad5693b46bd72b6178a37d9d6a8fcc263e9a8c02f19c1ce9923c72f41270e960c675e4c71cefb4fbb4e54125bf000186a857ae2 SHA512 1da6660f085edf2562525b904def124398088afb0e9dbda82f0894cf5fc26c052dcd7a497f60ef18d281a16b46c5cfc6b145fca8fd4eb7d3f9225b9ff3ea2ac9 |
22 |
DIST google-api-python-client-2.48.0.gh.tar.gz 30483162 BLAKE2B fa6371d2cb5b27184eb0e16ea0ef9875af2dfd83b2d34dd84272c2942589f712b35451b9150f38722501edfe5a4b8a506b3f52fedffbb48af31c20dc36a59cfb SHA512 0789aca32b01304095702d908c8ff31d2b4ddd771ed8cf3b3f99f15091fd1eea782000c58646c7760811a40252e5f1982876278f4cdd23e3f8cf672682693605 |
23 |
+DIST google-api-python-client-2.49.0.gh.tar.gz 30499625 BLAKE2B 7c0591b5567c1e9e5840430d490041d0ffea4beca8ec1e56eda0c5c8c6f4ff1e5f9126c4158e370e6c4011a6499e1d41203f83c9e4747dd830606406cef65e23 SHA512 ae53cc4cf18949f75aef9ca39fc2a964242fd556c1c19bb3aa8cd48b94a23deef9788b1c1877923a5ae4af990dff0f6138fb2157d2577fda80f8a86f1f642709 |
24 |
|
25 |
diff --git a/dev-python/google-api-python-client/google-api-python-client-2.49.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.49.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.49.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 |
+} |