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: Tue, 07 Dec 2021 23:27:30
Message-Id: 1638919640.4c43651f75a64dd45c8751011ad5189769496ced.mgorny@gentoo
1 commit: 4c43651f75a64dd45c8751011ad5189769496ced
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 7 22:30:06 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 7 23:27:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c43651f
7
8 dev-python/google-api-python-client: Bump to 2.33.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.33.0.ebuild | 45 ++++++++++++++++++++++
14 2 files changed, 46 insertions(+)
15
16 diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest
17 index cd9c4260b302..101626048a7d 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.31.0.tar.gz 27822400 BLAKE2B 447d97ec10376c1a9e911023051b8e3e278db782f91e0e4c1eb72f4ba54db0498439fca42633bc9fdf16ac2982a286103d6d7a99b701b0ff30e024e131b5e175 SHA512 80359f415e2ec4c42b7e12aa333d91849a4246fd744ec627397099be261176add44bf4ada875bc353729bbbca589be59e6cad3810f609d9d23f9fb458bf2c69e
22 DIST google-api-python-client-2.32.0.tar.gz 27954196 BLAKE2B 1863735d3862a11b3fce3dc270442b9cd5612375062ee447be07baa35578668db53d8415e7c88ad29b9c6ede02113686ba7ea6b994bfb6b2b72bb2bf5139c86f SHA512 2a9300020ec28da02ae689b4527fcfea6f3f78131a5431a3c3720dae1868bfa76871330685fdb4403328cc21736099fe8e346cfbf215e19f8cb00d1f5d1707f6
23 +DIST google-api-python-client-2.33.0.tar.gz 28292803 BLAKE2B b7e285a78d06aa9c0cb5609521443aa048220bb4b83e900b5915603c3cc1bd2eb6ff009c43503a8178f4ca2281fed0488bae9fbe0c29bf7a9df9ac2d4cf294e4 SHA512 47c8352440a2ffd3beca049a200c4a0cb1a2299b5fbce70b64a913f6121e731325831b229102d9940b386e082592efd49fdfc9409055b32f172551862740bd63
24
25 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.33.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.33.0.ebuild
26 new file mode 100644
27 index 000000000000..94711a2ec4c1
28 --- /dev/null
29 +++ b/dev-python/google-api-python-client/google-api-python-client-2.33.0.ebuild
30 @@ -0,0 +1,45 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..9} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Google API Client for Python"
40 +HOMEPAGE="https://github.com/googleapis/google-api-python-client"
41 +SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
46 +
47 +RDEPEND="
48 + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
49 + <dev-python/httplib2-1[${PYTHON_USEDEP}]
50 + dev-python/google-api-core[${PYTHON_USEDEP}]
51 + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}]
52 + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
53 + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
54 + <dev-python/uritemplate-5[${PYTHON_USEDEP}]
55 + "
56 +BDEPEND="
57 + test? (
58 + dev-python/mock[${PYTHON_USEDEP}]
59 + dev-python/oauth2client[${PYTHON_USEDEP}]
60 + dev-python/pandas[${PYTHON_USEDEP}]
61 + dev-python/parameterized[${PYTHON_USEDEP}]
62 + )"
63 +
64 +distutils_enable_tests --install pytest
65 +
66 +python_test() {
67 + local EPYTEST_DESELECT=(
68 + # require Internet access (and credentials)
69 + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive
70 + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object
71 + )
72 +
73 + distutils_install_for_testing
74 + epytest tests
75 +}