1 |
commit: 4b4c25891e1119da51dc0a1d630f60a8311fe9c1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 27 19:49:07 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 27 19:49:07 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b4c2589 |
7 |
|
8 |
dev-python/google-api-core: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/google-api-core/Manifest | 3 - |
13 |
.../google-api-core-2.7.1-r2.ebuild | 71 ---------------------- |
14 |
.../google-api-core-2.7.2-r1.ebuild | 66 -------------------- |
15 |
.../google-api-core/google-api-core-2.8.0.ebuild | 66 -------------------- |
16 |
4 files changed, 206 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest |
19 |
index 1c8963d8c4bc..654acb2e4dd3 100644 |
20 |
--- a/dev-python/google-api-core/Manifest |
21 |
+++ b/dev-python/google-api-core/Manifest |
22 |
@@ -1,5 +1,2 @@ |
23 |
-DIST google-api-core-2.7.1.tar.gz 163942 BLAKE2B 0b28e8dd8607ed6a64a3715c14e321f74d18abc09bc2eee5c6d080936160ea9d6839f1acf9589667c86a688e4e02038cc204f25d0b7cab3e3ed3af2463f31abb SHA512 2264eec00309f272ecca278e8f310bca4be64cfcec94c05fa96a7a8ae350fce0ae9931fbb27aae71e89393289cdbef782631a6766e85d5aee449e903e70f0817 |
24 |
-DIST google-api-core-2.7.2.tar.gz 164017 BLAKE2B d2f1c690527c750a819718043542ce853be7f135660dfe661db2ba315213ef4a9756eeab6f1854275044d4f1fed50d119c2914eb00e043b7d5b085dad426a26f SHA512 1fb420a41d603d576030d2b324036de10831035ce1505ba94dedc9e58ce354d0f23e1d3df8a4f2f5082147a1be49d93e10c2209a1407f90ffedfa74815730e14 |
25 |
DIST google-api-core-2.7.3.tar.gz 164219 BLAKE2B c394fd95bff3ac393174372e0c49f9a7974a006de6f14d07af7b15b4c531d6dae7af8c38e00263289a895cb9dae9ef23368d793f5ae3649b9b029337a72cc0ef SHA512 2bf49738216cd52dad2bdfb3367e370390c366b49a8c3c4f6f49a2a3f17b27120d99933b57c8eb8c9a1f0f25ef5ea6d876cf8c3c6c759d3585d625e57b1153f9 |
26 |
-DIST google-api-core-2.8.0.tar.gz 164541 BLAKE2B a62aa242e99f2e554242db1bdfdedc5ab4eb7ddd0efb3758af33dcd7417ce964cb1c5d11547c26b03e92684507e1573d1cbdc158efa39060e59254fed3e12626 SHA512 5ad9c4b8f8d15645e18f4377396a073cb23b03e4357d3840bcfcdc5bb182731817bb1188b3dd7f37e4083d4d6d0cea3d46fadee23fc9011a2fe9ca67f505e245 |
27 |
DIST python-api-core-2.8.1.gh.tar.gz 164630 BLAKE2B 88db73f210ae5ee4aa2e7382ea34ef59fb51f88e196622556327c130057b74594884bbe21719bf12cc6ddc9975cf12ac71fa24ac4dfde4681b4742af57702b5d SHA512 f3bfa476562428246203592b53c22e8e52af167af10b1fa68afb51fe6e8ca8090e9231e4c297847d12c201ca791aa80153bee07f72939bc65920260ec50b3d38 |
28 |
|
29 |
diff --git a/dev-python/google-api-core/google-api-core-2.7.1-r2.ebuild b/dev-python/google-api-core/google-api-core-2.7.1-r2.ebuild |
30 |
deleted file mode 100644 |
31 |
index 8b6705313d6d..000000000000 |
32 |
--- a/dev-python/google-api-core/google-api-core-2.7.1-r2.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,71 +0,0 @@ |
35 |
-# Copyright 2020-2022 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=8 |
39 |
- |
40 |
-DISTUTILS_USE_PEP517=setuptools |
41 |
-PYTHON_COMPAT=( python3_{8..10} ) |
42 |
- |
43 |
-inherit distutils-r1 |
44 |
- |
45 |
-DESCRIPTION="Core Library for Google Client Libraries" |
46 |
-HOMEPAGE="https://github.com/googleapis/python-api-core/ |
47 |
- https://googleapis.dev/python/google-api-core/latest/index.html" |
48 |
-SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
49 |
-S="${WORKDIR}/${P//google/python}" |
50 |
- |
51 |
-LICENSE="Apache-2.0" |
52 |
-SLOT="0" |
53 |
-KEYWORDS="amd64 ~arm ~arm64 x86" |
54 |
- |
55 |
-RDEPEND=" |
56 |
- dev-python/protobuf-python[${PYTHON_USEDEP}] |
57 |
- dev-python/googleapis-common-protos[${PYTHON_USEDEP}] |
58 |
- >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] |
59 |
- >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] |
60 |
- <dev-python/requests-3[${PYTHON_USEDEP}] |
61 |
- !dev-python/namespace-google |
62 |
-" |
63 |
-# grpcio support is broken if grpcio-status is not installed, |
64 |
-# and we do not package the latter |
65 |
-BDEPEND=" |
66 |
- test? ( |
67 |
- dev-python/mock[${PYTHON_USEDEP}] |
68 |
- dev-python/proto-plus[${PYTHON_USEDEP}] |
69 |
- dev-python/rsa[${PYTHON_USEDEP}] |
70 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
71 |
- ) |
72 |
-" |
73 |
- |
74 |
-distutils_enable_tests pytest |
75 |
- |
76 |
-EPYTEST_DESELECT=( |
77 |
- # failing due to missing grpcio-status |
78 |
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_unary_errors |
79 |
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_raised |
80 |
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_read |
81 |
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_aiter |
82 |
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_write |
83 |
- tests/unit/test_grpc_helpers.py::test_wrap_unary_errors |
84 |
- tests/unit/test_grpc_helpers.py::Test_StreamingResponseIterator::test___next___w_rpc_error |
85 |
- tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_invocation |
86 |
- tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_iterator_initialization |
87 |
- tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_during_iteration |
88 |
- # TODO |
89 |
- tests/unit/test_operation.py::test_exception_with_error_code |
90 |
-) |
91 |
- |
92 |
-python_compile() { |
93 |
- distutils-r1_python_compile |
94 |
- find "${BUILD_DIR}" -name '*.pth' -delete || die |
95 |
-} |
96 |
- |
97 |
-src_test() { |
98 |
- rm -r google || die |
99 |
- distutils-r1_src_test |
100 |
-} |
101 |
- |
102 |
-python_test() { |
103 |
- distutils_write_namespace google |
104 |
- epytest -p no:aiohttp -p no:trio tests |
105 |
-} |
106 |
|
107 |
diff --git a/dev-python/google-api-core/google-api-core-2.7.2-r1.ebuild b/dev-python/google-api-core/google-api-core-2.7.2-r1.ebuild |
108 |
deleted file mode 100644 |
109 |
index a009e19f6f23..000000000000 |
110 |
--- a/dev-python/google-api-core/google-api-core-2.7.2-r1.ebuild |
111 |
+++ /dev/null |
112 |
@@ -1,66 +0,0 @@ |
113 |
-# Copyright 2020-2022 Gentoo Authors |
114 |
-# Distributed under the terms of the GNU General Public License v2 |
115 |
- |
116 |
-EAPI=8 |
117 |
- |
118 |
-DISTUTILS_USE_PEP517=setuptools |
119 |
-PYTHON_COMPAT=( python3_{8..10} ) |
120 |
- |
121 |
-inherit distutils-r1 |
122 |
- |
123 |
-DESCRIPTION="Core Library for Google Client Libraries" |
124 |
-HOMEPAGE="https://github.com/googleapis/python-api-core/ |
125 |
- https://googleapis.dev/python/google-api-core/latest/index.html" |
126 |
-SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
127 |
-S="${WORKDIR}/${P//google/python}" |
128 |
- |
129 |
-LICENSE="Apache-2.0" |
130 |
-SLOT="0" |
131 |
-KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
132 |
- |
133 |
-RDEPEND=" |
134 |
- dev-python/protobuf-python[${PYTHON_USEDEP}] |
135 |
- dev-python/googleapis-common-protos[${PYTHON_USEDEP}] |
136 |
- >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] |
137 |
- >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] |
138 |
- <dev-python/requests-3[${PYTHON_USEDEP}] |
139 |
- !dev-python/namespace-google |
140 |
-" |
141 |
-BDEPEND=" |
142 |
- test? ( |
143 |
- dev-python/mock[${PYTHON_USEDEP}] |
144 |
- dev-python/proto-plus[${PYTHON_USEDEP}] |
145 |
- dev-python/rsa[${PYTHON_USEDEP}] |
146 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
147 |
- ) |
148 |
-" |
149 |
- |
150 |
-distutils_enable_tests pytest |
151 |
- |
152 |
-EPYTEST_DESELECT=( |
153 |
- # failing due to missing grpcio-status |
154 |
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_unary_errors |
155 |
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_raised |
156 |
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_read |
157 |
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_aiter |
158 |
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_write |
159 |
- tests/unit/test_grpc_helpers.py::test_wrap_unary_errors |
160 |
- tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_invocation |
161 |
- tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_iterator_initialization |
162 |
- tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_during_iteration |
163 |
-) |
164 |
- |
165 |
-python_compile() { |
166 |
- distutils-r1_python_compile |
167 |
- find "${BUILD_DIR}" -name '*.pth' -delete || die |
168 |
-} |
169 |
- |
170 |
-src_test() { |
171 |
- rm -r google || die |
172 |
- distutils-r1_src_test |
173 |
-} |
174 |
- |
175 |
-python_test() { |
176 |
- distutils_write_namespace google |
177 |
- epytest -p no:aiohttp -p no:trio tests |
178 |
-} |
179 |
|
180 |
diff --git a/dev-python/google-api-core/google-api-core-2.8.0.ebuild b/dev-python/google-api-core/google-api-core-2.8.0.ebuild |
181 |
deleted file mode 100644 |
182 |
index a009e19f6f23..000000000000 |
183 |
--- a/dev-python/google-api-core/google-api-core-2.8.0.ebuild |
184 |
+++ /dev/null |
185 |
@@ -1,66 +0,0 @@ |
186 |
-# Copyright 2020-2022 Gentoo Authors |
187 |
-# Distributed under the terms of the GNU General Public License v2 |
188 |
- |
189 |
-EAPI=8 |
190 |
- |
191 |
-DISTUTILS_USE_PEP517=setuptools |
192 |
-PYTHON_COMPAT=( python3_{8..10} ) |
193 |
- |
194 |
-inherit distutils-r1 |
195 |
- |
196 |
-DESCRIPTION="Core Library for Google Client Libraries" |
197 |
-HOMEPAGE="https://github.com/googleapis/python-api-core/ |
198 |
- https://googleapis.dev/python/google-api-core/latest/index.html" |
199 |
-SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
200 |
-S="${WORKDIR}/${P//google/python}" |
201 |
- |
202 |
-LICENSE="Apache-2.0" |
203 |
-SLOT="0" |
204 |
-KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
205 |
- |
206 |
-RDEPEND=" |
207 |
- dev-python/protobuf-python[${PYTHON_USEDEP}] |
208 |
- dev-python/googleapis-common-protos[${PYTHON_USEDEP}] |
209 |
- >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] |
210 |
- >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] |
211 |
- <dev-python/requests-3[${PYTHON_USEDEP}] |
212 |
- !dev-python/namespace-google |
213 |
-" |
214 |
-BDEPEND=" |
215 |
- test? ( |
216 |
- dev-python/mock[${PYTHON_USEDEP}] |
217 |
- dev-python/proto-plus[${PYTHON_USEDEP}] |
218 |
- dev-python/rsa[${PYTHON_USEDEP}] |
219 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
220 |
- ) |
221 |
-" |
222 |
- |
223 |
-distutils_enable_tests pytest |
224 |
- |
225 |
-EPYTEST_DESELECT=( |
226 |
- # failing due to missing grpcio-status |
227 |
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_unary_errors |
228 |
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_raised |
229 |
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_read |
230 |
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_aiter |
231 |
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_write |
232 |
- tests/unit/test_grpc_helpers.py::test_wrap_unary_errors |
233 |
- tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_invocation |
234 |
- tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_iterator_initialization |
235 |
- tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_during_iteration |
236 |
-) |
237 |
- |
238 |
-python_compile() { |
239 |
- distutils-r1_python_compile |
240 |
- find "${BUILD_DIR}" -name '*.pth' -delete || die |
241 |
-} |
242 |
- |
243 |
-src_test() { |
244 |
- rm -r google || die |
245 |
- distutils-r1_src_test |
246 |
-} |
247 |
- |
248 |
-python_test() { |
249 |
- distutils_write_namespace google |
250 |
- epytest -p no:aiohttp -p no:trio tests |
251 |
-} |