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: Mon, 30 Aug 2021 05:54:23
Message-Id: 1630302613.8140123a2c405016ed81b3821171bd76a40edbba.mgorny@gentoo
1 commit: 8140123a2c405016ed81b3821171bd76a40edbba
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 30 05:50:13 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 30 05:50:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8140123a
7
8 dev-python/google-api-python-client: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/google-api-python-client/Manifest | 2 -
13 .../google-api-python-client-2.13.0.ebuild | 53 ----------------------
14 .../google-api-python-client-2.17.0.ebuild | 51 ---------------------
15 3 files changed, 106 deletions(-)
16
17 diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest
18 index 82abc62586e..0e43c0463f9 100644
19 --- a/dev-python/google-api-python-client/Manifest
20 +++ b/dev-python/google-api-python-client/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST google-api-python-client-2.13.0.tar.gz 25562934 BLAKE2B 6ce955995c0f2fa5d09e1c90e65d38a7f321421199f53957fb58934c1f067de03a48f47f1d161c9ad2cb852663316c5d0f873a32b9eedd7fffaa2b067d84ae05 SHA512 d2b0cf3c250a500e774970790390025119102e24eaf8c7a0c170139cf322c37f4c8cd3f406a41d18deb2597dfeb21e6304e173cfaafb4d6faeff23b2215d4072
23 DIST google-api-python-client-2.14.1.tar.gz 25415625 BLAKE2B 2b843a6ec6345e51c5a92c0285c2b8ae195928bec61b73033fbc64d8e55c34ae39d8d542534d89edac36d6ddc6c12b6acf11a25dbcbc06f72776799a70606659 SHA512 e22600b9b87d646775780d0f45043753e4dea24e898faf16ae49f2c91677282700b45de993d085923c006f2948747a6afa2e58b38f42f934f1602401faa30d22
24 -DIST google-api-python-client-2.17.0.tar.gz 26302010 BLAKE2B 1d4a63825b79ff252b318d988aaa572a7567c4b3e19d110ec480d03c4ffcd16b16a19c4b54f51288a21e34a3a280c8077aa983da8eacaad1f176fb485ea7e89c SHA512 1967539825490530bb4330940bf69bc1bb25035b2079797185bb359c350fc111188b188e2d21dbd0009f8658a6dbb11539beed2aa5ce03daa142d7cbd330e466
25 DIST google-api-python-client-2.18.0.tar.gz 26442309 BLAKE2B 84f0cadeed015e9e0cafa209f6256b6262822f7161728aa5eba88f0def718b11c555bd0d87867c1e1ebb02e93046cec068e4ac0f855c55b7abf34a8d51d42fdc SHA512 19b06a252c440d5bb8454fc79487f4009ff73a7bd4882b2d33a354d4c4f287a6ea09f30cff94df4c1d1e898ca237d8e118a7fd5e63022133338d944dcec1243c
26
27 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.13.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.13.0.ebuild
28 deleted file mode 100644
29 index 7de791ae07c..00000000000
30 --- a/dev-python/google-api-python-client/google-api-python-client-2.13.0.ebuild
31 +++ /dev/null
32 @@ -1,53 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -
38 -PYTHON_COMPAT=( python3_{8..9} )
39 -inherit distutils-r1
40 -
41 -DESCRIPTION="Google API Client for Python"
42 -HOMEPAGE="https://github.com/googleapis/google-api-python-client"
43 -SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="Apache-2.0"
46 -SLOT="0"
47 -KEYWORDS="amd64 ~arm ~arm64 x86"
48 -
49 -RDEPEND="
50 - >=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
51 - <dev-python/httplib2-1[${PYTHON_USEDEP}]
52 - dev-python/google-api-core[${PYTHON_USEDEP}]
53 - >=dev-python/google-auth-1.16.0[${PYTHON_USEDEP}]
54 - >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
55 - >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
56 - <dev-python/uritemplate-4[${PYTHON_USEDEP}]
57 - >=dev-python/six-1.13.0[${PYTHON_USEDEP}]
58 - <dev-python/six-2[${PYTHON_USEDEP}]
59 - "
60 -BDEPEND="
61 - test? (
62 - dev-python/mock[${PYTHON_USEDEP}]
63 - dev-python/oauth2client[${PYTHON_USEDEP}]
64 - dev-python/pandas[${PYTHON_USEDEP}]
65 - dev-python/parameterized[${PYTHON_USEDEP}]
66 - )"
67 -
68 -distutils_enable_tests --install pytest
69 -
70 -src_prepare() {
71 - find tests -name '*.py' -exec \
72 - sed -i -e 's:unittest2 as ::' {} + || die
73 - distutils-r1_src_prepare
74 -}
75 -
76 -python_test() {
77 - local deselect=(
78 - # require Internet access (and credentials)
79 - tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive
80 - tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object
81 - )
82 -
83 - distutils_install_for_testing
84 - epytest ${deselect[@]/#/--deselect }
85 -}
86
87 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.17.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.17.0.ebuild
88 deleted file mode 100644
89 index 2bf8009bdc6..00000000000
90 --- a/dev-python/google-api-python-client/google-api-python-client-2.17.0.ebuild
91 +++ /dev/null
92 @@ -1,51 +0,0 @@
93 -# Copyright 1999-2021 Gentoo Authors
94 -# Distributed under the terms of the GNU General Public License v2
95 -
96 -EAPI=8
97 -
98 -PYTHON_COMPAT=( python3_{8..9} )
99 -inherit distutils-r1
100 -
101 -DESCRIPTION="Google API Client for Python"
102 -HOMEPAGE="https://github.com/googleapis/google-api-python-client"
103 -SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
104 -
105 -LICENSE="Apache-2.0"
106 -SLOT="0"
107 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
108 -
109 -RDEPEND="
110 - >=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
111 - <dev-python/httplib2-1[${PYTHON_USEDEP}]
112 - dev-python/google-api-core[${PYTHON_USEDEP}]
113 - >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}]
114 - >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
115 - >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
116 - <dev-python/uritemplate-4[${PYTHON_USEDEP}]
117 - "
118 -BDEPEND="
119 - test? (
120 - dev-python/mock[${PYTHON_USEDEP}]
121 - dev-python/oauth2client[${PYTHON_USEDEP}]
122 - dev-python/pandas[${PYTHON_USEDEP}]
123 - dev-python/parameterized[${PYTHON_USEDEP}]
124 - )"
125 -
126 -distutils_enable_tests --install pytest
127 -
128 -src_prepare() {
129 - find tests -name '*.py' -exec \
130 - sed -i -e 's:unittest2 as ::' {} + || die
131 - distutils-r1_src_prepare
132 -}
133 -
134 -python_test() {
135 - local deselect=(
136 - # require Internet access (and credentials)
137 - tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive
138 - tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object
139 - )
140 -
141 - distutils_install_for_testing
142 - epytest tests ${deselect[@]/#/--deselect }
143 -}