1 |
commit: f077bb8a88a1a9a56d421a4a429064c132520a8b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 14 20:56:38 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 14 21:03:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f077bb8a |
7 |
|
8 |
dev-python/google-api-python-client: Bump to 2.9.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.9.0.ebuild | 49 ++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest |
17 |
index 53efc753e3d..08182bd9c90 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.4.0.tar.gz 24853833 BLAKE2B 4ed2083a9bb8b4f8fe31ab5dbd7875c0c36c972cdb0f71a59565fe4eb23ff1ef0a40794acd7af9646c1ee3904fbab3caaeb2700a3660b66d3069d2bc4f811e76 SHA512 db545850b9d2746e3bcf7b4a2f12b0d4827bd68f44d5627fd80d39bff2ca3303c8d520f72ee17637fe700bc935548706ce885ff0d7fe737ae157668e0314fbc6 |
22 |
DIST google-api-python-client-2.7.0.tar.gz 25488451 BLAKE2B a8a761944fed3970ae0cf53b2cb926a6670ac37323c39085a5f7fb4f354451292fca4bbb2c34a72d086dfa961b74a72f66319f6bbc2505ef70f5c94aff3f7a0e SHA512 531e919cc9d0cffc49b31d881a6ee3adb2d9cc166813b5884c300e9a3b63b28c9c269a0d1efe47961fa61f79ec5adb8a12e2208b644fd62ed4baa66c56d219ba |
23 |
DIST google-api-python-client-2.8.0.tar.gz 25286774 BLAKE2B b21aebda062984b9eb8f2f5c563016f0f8f663883dc8ddb913053ff3df32c652c6a83f924f3e19136e5edec085e12c43cc584bc9898630122c77a219810033bc SHA512 cc3c55438b2f5835b52d17d04a749919c4865991ff78cf95920d0941a55e1493eae502a13f6565cfe1db799ce9950659e8baaa690bada058d711309861c8d07e |
24 |
+DIST google-api-python-client-2.9.0.tar.gz 25538249 BLAKE2B f0aba9aa7c6d9be51ddef29454de93efa3ee747717940f975ec04fc6ecc70560b89488b39a323f2ebb82076d88316dc6f87e35210777600714cf833d20611f57 SHA512 1cd3d9f208251acd3bb1eb372210903f80587995bf54b7addbc7675c7c8c3a1c776fa52052c15f88d112f54c333970c4845854924ff57dfbd91c0c17bd63aec4 |
25 |
|
26 |
diff --git a/dev-python/google-api-python-client/google-api-python-client-2.9.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.9.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..5f95424b6c1 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/google-api-python-client/google-api-python-client-2.9.0.ebuild |
31 |
@@ -0,0 +1,49 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..9} ) |
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="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] |
51 |
+ <dev-python/httplib2-1[${PYTHON_USEDEP}] |
52 |
+ dev-python/google-api-core[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/google-auth-1.16.0[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] |
56 |
+ <dev-python/uritemplate-4[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/six-1.13.0[${PYTHON_USEDEP}] |
58 |
+ <dev-python/six-2[${PYTHON_USEDEP}] |
59 |
+ " |
60 |
+BDEPEND=" |
61 |
+ test? ( |
62 |
+ dev-python/mock[${PYTHON_USEDEP}] |
63 |
+ dev-python/oauth2client[${PYTHON_USEDEP}] |
64 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
65 |
+ dev-python/parameterized[${PYTHON_USEDEP}] |
66 |
+ dev-python/unittest2[${PYTHON_USEDEP}] |
67 |
+ )" |
68 |
+ |
69 |
+distutils_enable_tests --install pytest |
70 |
+ |
71 |
+python_test() { |
72 |
+ local deselect=( |
73 |
+ # require Internet access (and credentials) |
74 |
+ tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive |
75 |
+ tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object |
76 |
+ ) |
77 |
+ |
78 |
+ distutils_install_for_testing |
79 |
+ epytest ${deselect[@]/#/--deselect } |
80 |
+} |