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, 23 Feb 2022 21:30:22
Message-Id: 1645651807.75e156c54a29c13b24a80d120920754157a9a1e4.mgorny@gentoo
1 commit: 75e156c54a29c13b24a80d120920754157a9a1e4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 23 20:53:25 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 23 21:30:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75e156c5
7
8 dev-python/google-api-python-client: Bump to 2.38.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.38.0.ebuild | 47 ++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest
17 index b3749af5430a..7e0851d09cea 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.34.0.tar.gz 28469433 BLAKE2B aa2c8849b629fe489cf
21 DIST google-api-python-client-2.35.0.tar.gz 28553015 BLAKE2B 8ff92145f280e090b8f43c10e425dd4a8fe65b4cf565c5b5a0df2813cdb8ba1bcea50e37556efb9dd0b270a21fe11b7d6d1b445c8fdaa83326c7dc6230ee1fdb SHA512 4d0325b79250a26ae252568759e8345d31d692aa1d8f1d7aae623bb9a1a950efae654cd689d39f30450789c6d4fa9ca264111f8a9e798820cf6d0c3acba904f6
22 DIST google-api-python-client-2.36.0.tar.gz 28624616 BLAKE2B 738d89e740ded848683a4bc5c1d4b27f57acb817c54397ed563de376fa395d1202c47fd4b42046f313b31c826fb3d0fc2e3761c0779bf9c9718b3b2923fc63a3 SHA512 bdca303fa84f5cb510102265ebb7629b48b939c8d7a01420e61635ef4c461f62b6dfa6f29e96060a80d86baf0ea6587d88b0ec64a7b4c6b32563921c3a1a53ca
23 DIST google-api-python-client-2.37.0.tar.gz 28868090 BLAKE2B 971fa3a873c902a34c100066a026ab6698d142a4875282d8be890b403a2edf1f00ea5a3dc4bcf90a30ad9dfb8aa5e1d5eb1b60e64a6718a6e054d49b7ff94afc SHA512 72543f78779403a5d16cfae8f84718d7a6dc08e9fcaa4e97d7a1f6e5ba6594b3a87762e229b94ccfc3a3ca196bbe0cd17c5fde949d101d5975b61cdc57a32622
24 +DIST google-api-python-client-2.38.0.tar.gz 29194978 BLAKE2B 741cf925256f0bd648e68c339233cfc13a9eaa12e123e202eab64b8389bc493755838c3da8ca4e7f4ffeecacec783c41f37df1847edf0fb54387d58163c112fc SHA512 b93f1f946ebab226b9fdd9012c3ae70563197a895d9069f09c7eb8926cd8fe5567535d3677a6824f66720b9ed1f0a732f02be9440dc800a13cb7e335728a3ce8
25
26 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.38.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.38.0.ebuild
27 new file mode 100644
28 index 000000000000..d12380148d9f
29 --- /dev/null
30 +++ b/dev-python/google-api-python-client/google-api-python-client-2.38.0.ebuild
31 @@ -0,0 +1,47 @@
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..9} )
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="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
49 +
50 +RDEPEND="
51 + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
52 + <dev-python/httplib2-1[${PYTHON_USEDEP}]
53 + dev-python/google-api-core[${PYTHON_USEDEP}]
54 + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}]
55 + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
56 + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
57 + <dev-python/uritemplate-5[${PYTHON_USEDEP}]
58 +"
59 +BDEPEND="
60 + test? (
61 + dev-python/mock[${PYTHON_USEDEP}]
62 + dev-python/oauth2client[${PYTHON_USEDEP}]
63 + dev-python/pandas[${PYTHON_USEDEP}]
64 + dev-python/parameterized[${PYTHON_USEDEP}]
65 + )
66 +"
67 +
68 +distutils_enable_tests pytest
69 +
70 +python_test() {
71 + local EPYTEST_DESELECT=(
72 + # require Internet access (and credentials)
73 + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive
74 + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object
75 + )
76 +
77 + epytest tests
78 +}