1 |
commit: 051132863dbcd8ef6724cb8042094240cdef6256 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 5 17:55:30 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 5 17:55:30 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05113286 |
7 |
|
8 |
dev-python/google-api-python-client: add 2.43.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/google-api-python-client/Manifest | 1 + |
13 |
.../google-api-python-client-2.43.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 f3a557e004bd..c8cda03d3e2b 100644 |
18 |
--- a/dev-python/google-api-python-client/Manifest |
19 |
+++ b/dev-python/google-api-python-client/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST google-api-python-client-2.38.0.tar.gz 29194978 BLAKE2B 741cf925256f0bd648e68c339233cfc13a9eaa12e123e202eab64b8389bc493755838c3da8ca4e7f4ffeecacec783c41f37df1847edf0fb54387d58163c112fc SHA512 b93f1f946ebab226b9fdd9012c3ae70563197a895d9069f09c7eb8926cd8fe5567535d3677a6824f66720b9ed1f0a732f02be9440dc800a13cb7e335728a3ce8 |
22 |
DIST google-api-python-client-2.41.0.tar.gz 29608471 BLAKE2B 5a6f9eb414f02b9528d0ee8f8777da6596bd298f6aea8191966d1ebaa67219f8ea2e44a77bc667bfedab39c4ab0352a13ba04fd805f0df9a6936247cd4cf3481 SHA512 b9ee6a4374438d019d0efd09d02426c1c773fd2ca561e2bf91e426535fec2865a47a32cc5cf780e5e7da193ca3d8b5677339fee2a4983e7f4af9612d901c883d |
23 |
DIST google-api-python-client-2.42.0.tar.gz 29772877 BLAKE2B f478a719c3a6ef2f78d1fa16c231d47f2d72b55e67746612579f644b92dbd93ebd7f320f0684d85c1c1e253ed2f5163d7f6ce2904343bbe7a4f6746889663970 SHA512 e55cd75dec478a3410829a7eb7ee5478b52b44450d4ade69e3a7ee11b30e5ab5690c93ff6444f4b723db6cd1f26ac70553b3f1b9c77dc0b428db271b773faa9f |
24 |
+DIST google-api-python-client-2.43.0.tar.gz 29820752 BLAKE2B d0f7337f2d63d9db2da3526670a5f034103cb1b2e3eefcc77fea6d15258d185c06c238662de6d304e73b4f9ea25f8b202386eae8b7b94d7c52ad2b6c15d2ea76 SHA512 0e59f22b0c03d1b29247219e39a83bf6b637afe3eddfa302ecd34acc30bebb850f771e4b7b5c24e5a607ddd74ef6833fe0597465776d00675ed868612ebd1d70 |
25 |
|
26 |
diff --git a/dev-python/google-api-python-client/google-api-python-client-2.43.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.43.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..9ffc1aa432ce |
29 |
--- /dev/null |
30 |
+++ b/dev-python/google-api-python-client/google-api-python-client-2.43.0.ebuild |
31 |
@@ -0,0 +1,50 @@ |
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="https://github.com/googleapis/google-api-python-client" |
44 |
+SRC_URI=" |
45 |
+ https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz |
46 |
+ -> ${P}.tar.gz |
47 |
+" |
48 |
+ |
49 |
+LICENSE="Apache-2.0" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] |
55 |
+ <dev-python/httplib2-1[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] |
60 |
+ <dev-python/uritemplate-5[${PYTHON_USEDEP}] |
61 |
+" |
62 |
+BDEPEND=" |
63 |
+ test? ( |
64 |
+ dev-python/mock[${PYTHON_USEDEP}] |
65 |
+ dev-python/oauth2client[${PYTHON_USEDEP}] |
66 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
67 |
+ dev-python/parameterized[${PYTHON_USEDEP}] |
68 |
+ ) |
69 |
+" |
70 |
+ |
71 |
+distutils_enable_tests pytest |
72 |
+ |
73 |
+python_test() { |
74 |
+ local EPYTEST_DESELECT=( |
75 |
+ # require Internet access (and credentials) |
76 |
+ tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive |
77 |
+ tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object |
78 |
+ ) |
79 |
+ |
80 |
+ epytest tests |
81 |
+} |