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: Thu, 02 Mar 2023 05:13:19
Message-Id: 1677731971.93b29c11629c96a7c1835ad7eb2e9187b52f37ae.mgorny@gentoo
1 commit: 93b29c11629c96a7c1835ad7eb2e9187b52f37ae
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 2 04:39:31 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 2 04:39:31 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93b29c11
7
8 dev-python/google-api-python-client: Bump to 2.80.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.80.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 5c4ebc9d6717..9bc3f9c3f94b 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.77.0.gh.tar.gz 38300787 BLAKE2B c7d147b9ae78fff5aa70b2ba219888296d414c1f7b498c93bb424d06c437a50d5a1a2284062e58defb29ba3aa89b225e4218d9acd303a0e17f3ec4ab0380a2f6 SHA512 24aa2b3d709de83b76be2d8030a419d0e3f8f447852d7f95c6cf735134270a7af94edd86bcc3d82cd25af2497f30ac6c365ac88494c227b19faecb8e3706c261
22 DIST google-api-python-client-2.78.0.gh.tar.gz 38327369 BLAKE2B 291941a44a6fc9da7df2cbb108ba90babac33916f9c36aeae6e8b1575e9851f7c93aaea09340d36acd8f80dbe5ebe63820d60edc0aec14ee4859a47dcf66e344 SHA512 fff05aa981106aaccb689aeeace62734df77fefe7132481a11bc81b249a7793c1743c7c7c21116b3f5d4d59230ec7adac090d478969f8847bc201a2a23dd072d
23 DIST google-api-python-client-2.79.0.gh.tar.gz 38537790 BLAKE2B 968a33a92bff0b7bc6e01e69df3b405b189df1560e1100de6bfb987ba5d87f1da9dafa184966f55f1d64b41912790f94a98d5160dd042661a2d5acc02c6d10e3 SHA512 c16e32306eb8660facbaa078fc76ad49692948f26d81d753977d1cfa49f76b4eacf2a5613c4bdb8f463ebd65c955d5edda415355d143ce1dd59ec7443eeb0a13
24 +DIST google-api-python-client-2.80.0.gh.tar.gz 38885627 BLAKE2B f81943e8c4179130bbd7f3d89cdd3c7c5c828c78b9cbed6a5c011c3a0751a19a223b6e52a5fe8f739a8170b6e0e186b5e6b56b4ac08c88a1bf167cb5652d0e18 SHA512 cabd955f730a2b9bf8e8e3579b28935cbbc16b0ac4534d4b841317ff86cec420dd2a5a7b5b319a6a765cce02258fb43cafd6165ae49a7b99e0e891d9ba86e198
25
26 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.80.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.80.0.ebuild
27 new file mode 100644
28 index 000000000000..65893f1d07cd
29 --- /dev/null
30 +++ b/dev-python/google-api-python-client/google-api-python-client-2.80.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..11} )
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 +}