1 |
commit: bf8a018fe25fc3afe9f006ba1e006ed80b372087 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 31 18:57:12 2023 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 31 19:09:53 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf8a018f |
7 |
|
8 |
dev-python/google-api-python-client: add 2.75.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.75.0.ebuild | 52 ++++++++++++++++++++++ |
14 |
2 files changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest |
17 |
index 5abb596407c0..ad14bbed150c 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.72.0.gh.tar.gz 37897701 BLAKE2B fff35a2103f7d3a58e790cb6b385a881c572c2272bc078531912f69d26ac16433513d97ac724f70e47b250dbaac95a78e1df04c2ea7a030325f6ead9de42646d SHA512 1bb625fc6d9aeacebf0b03a77709367d9b29e33f171b5c708a90141e697d29fcf8689d3d6a71f21a50e976feaef5fc2aec9451525a2aa00867639fdfc401c262 |
22 |
DIST google-api-python-client-2.73.0.gh.tar.gz 37984359 BLAKE2B e82fe357010c06601a58cac4e0e2c72c8f1d9e7ae5663248b5fa5ab4d0d3cbebc597fcce560cd157e363fd1edf9a1fed76570a43f5cf64ef45a7fb84902a5918 SHA512 6af39b7ce526d91de2c7d01c660ca951a6775453478ea8fe50e3a8def30114fdb90fa5b7490fb9b02c1ba4d38bde55e4b4c05ad61ba3713f9c7341cdfdbaf619 |
23 |
DIST google-api-python-client-2.74.0.gh.tar.gz 38189426 BLAKE2B 927345937faf574263df8a8c64949824bf371b5b881958b9d0e055ad8ee9bf5c758e173afa47274c6c1d10ebdd0c168f7d7763c8d66f664dc80bf253a391fb26 SHA512 831159d4a3c46b716ff1be64c13cbf37eebb96a75e3573bd8b1200930d465935569ceeb4caaa35bc24105087db06fa62306ef03ed4fb04c87b5d24826680b949 |
24 |
+DIST google-api-python-client-2.75.0.gh.tar.gz 38252215 BLAKE2B 7718ba579eb78debbc9a441bd08ba63d84db055e9ed67b24811444369ac4bff06b78a0dc145835c632234106bfe011fdde9ccc93344027a641a946663d1fc0dd SHA512 ff4b9766eacb656445182e3ce5c9425a2b7cbea565308abc98ef07193a581ae9ebae719323f9e4de94a94fc9c8b324d8c72dc58bdc3f4df4ac8be2d50fbb2156 |
25 |
|
26 |
diff --git a/dev-python/google-api-python-client/google-api-python-client-2.75.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.75.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..7f5368fd7fde |
29 |
--- /dev/null |
30 |
+++ b/dev-python/google-api-python-client/google-api-python-client-2.75.0.ebuild |
31 |
@@ -0,0 +1,52 @@ |
32 |
+# Copyright 1999-2023 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_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/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 |
+} |