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, 02 Nov 2021 22:59:26
Message-Id: 1635893952.0eb6499ea88b0b6085cf566ef5176de4e9fd37fb.mgorny@gentoo
1 commit: 0eb6499ea88b0b6085cf566ef5176de4e9fd37fb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 2 20:59:12 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 2 22:59:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb6499e
7
8 dev-python/google-api-python-client: Bump to 2.29.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.29.0.ebuild | 48 ++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest
17 index 0d066840e57..28b7a60f9bb 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.27.0.tar.gz 27434968 BLAKE2B 95575f70ec3a7cb71a252495c8daa74ee06fc5499c4b9febbb4f492db9d043e1a67d78bb7a5cafb64bf50697922b1b5f92cf8e5d023fab762cd4dc585507d139 SHA512 7486cb120ca726a7ba57e8629e6e369c49d1de4459986c1458d087fd1c01be2979ac0d30697d50adbb1ff67c0d262e68bb17c7f43e1148db62d04b7befe3af2f
22 DIST google-api-python-client-2.28.0.tar.gz 27582046 BLAKE2B 84803c124bdda7d93a28b9690848ab2a41bcb1327feb26cb13c17b395f6fa57d86cb4ae01095966cf5423a821c49996931dde45f95d5f23fedc05e09f875de3a SHA512 d9cbec2ad600af281df2ad6db34d146a37b8248240357d7bc8a7c651d06029dc9dba2e408aa6b7f364e30ffd2b063926e67b184d90ff66f771974ca84979d8db
23 +DIST google-api-python-client-2.29.0.tar.gz 27697101 BLAKE2B e8c9ea3e6a0ff89dce9baef9328dd6a424b096cafe00504f28b516c753c5e9a861fe472edd3e980861c244b0642589cddf537f9a0a37ec9e089ea533b8b5d22c SHA512 c842c16496349fff2ba9522fc7144342024fcb056a79c50350c9fdd01a44f843aaaf5c7f8058595029815c0b9d4d7014ea41d28647dae6780a4dc9ee1bcddad2
24
25 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.29.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.29.0.ebuild
26 new file mode 100644
27 index 00000000000..e908ee3e3cc
28 --- /dev/null
29 +++ b/dev-python/google-api-python-client/google-api-python-client-2.29.0.ebuild
30 @@ -0,0 +1,48 @@
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 +# grpcio support is broken if grpcio-status is not installed,
57 +# and we do not package the latter
58 +BDEPEND="
59 + test? (
60 + !!dev-python/grpcio
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 +distutils_enable_tests --install pytest
68 +
69 +python_test() {
70 + local EPYTEST_DESELECT=(
71 + # require Internet access (and credentials)
72 + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive
73 + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object
74 + )
75 +
76 + distutils_install_for_testing
77 + epytest tests
78 +}