1 |
commit: 22edc6a6886b84e0c1374c39704405703b203e91 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 1 01:31:24 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 1 01:31:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22edc6a6 |
7 |
|
8 |
net-misc/gsutil: Remove old (py3.6) |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
net-misc/gsutil/Manifest | 3 -- |
13 |
net-misc/gsutil/gsutil-4.41.ebuild | 84 ------------------------------------ |
14 |
net-misc/gsutil/gsutil-4.45.ebuild | 84 ------------------------------------ |
15 |
net-misc/gsutil/gsutil-4.47.ebuild | 88 -------------------------------------- |
16 |
4 files changed, 259 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest |
19 |
index 3a3005fc7d3..9f70bca12bf 100644 |
20 |
--- a/net-misc/gsutil/Manifest |
21 |
+++ b/net-misc/gsutil/Manifest |
22 |
@@ -1,4 +1 @@ |
23 |
-DIST gsutil_4.41.tar.gz 3685987 BLAKE2B 7586d6c64c87c27e4c5f3e86372bfe6d7fdfbdcbe4146308ed497d86b6e3fb984a79d3f07ba3ed055ac09bfe70eef893b8b764a46921703c48c8e54e49cac7eb SHA512 f96500a4761cb244039ba20ccb328b143134a74822990538585116fe6afa6f9e23cfecc9958e34d5deb4291edc9cbe97c6176b3a0f0136ed6e8e81303b5b8c4a |
24 |
-DIST gsutil_4.45.tar.gz 3695514 BLAKE2B 9b129ae1e87620b2430368818929fbd884319cd2cf7788275ba556f873b13700b9333c59b753202d8c88a81eaa47e223f39f6ded26adf8d16144324763528886 SHA512 9b21162afcfcd063976be51151d1d51aaeac1a32c2b7d0ee79aaccb28f5202f93623b39ed994bd796ab508a56363fea69429fe42cd770cff3c7c8352a4956212 |
25 |
-DIST gsutil_4.47.tar.gz 3696516 BLAKE2B c3a5e132ffff7b0e2e46cac17b1bd820b1ead63bbca4b80f17227290f25d12cb46e38df4334ffc71d0261f4467c157ed50ac21b25b1c7a58ec4113758c64d75b SHA512 66d150d496789a89acc71238c7554244ad17a8896b26fd7d6ffb6e26ce14c8b2268633f4a48b8abd8aa25b36f2ef4bd15cdde02b37a9ef52843200b0449289bb |
26 |
DIST gsutil_4.50.tar.gz 3618295 BLAKE2B bbd8ec13428a9822b1ebe3eea984f3e50abc010a0de4e57e7dc365642ab501f7994a235d778eaa73c8217ae1e69d1569e80ac8a59d94a84a6abb8272ad466a35 SHA512 aa7d68f369ac24c75cbd321d9a1a943fc361e9bf768797327852d0da39d364fa95ac3891367e90a39061b30b331405e2ea8358e0c91e3bdc5cb151d367e0857e |
27 |
|
28 |
diff --git a/net-misc/gsutil/gsutil-4.41.ebuild b/net-misc/gsutil/gsutil-4.41.ebuild |
29 |
deleted file mode 100644 |
30 |
index 3e24aceb624..00000000000 |
31 |
--- a/net-misc/gsutil/gsutil-4.41.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,84 +0,0 @@ |
34 |
-# Copyright 1999-2020 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=7 |
38 |
- |
39 |
-PYTHON_COMPAT=( python3_6 ) |
40 |
- |
41 |
-inherit distutils-r1 |
42 |
- |
43 |
-DESCRIPTION="command line tool for interacting with cloud storage services" |
44 |
-HOMEPAGE="https://github.com/GoogleCloudPlatform/gsutil" |
45 |
-SRC_URI="http://commondatastorage.googleapis.com/pub/${PN}_${PV}.tar.gz" |
46 |
- |
47 |
-LICENSE="Apache-2.0" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="~amd64 ~arm ~x86" |
50 |
-IUSE="test" |
51 |
- |
52 |
-RDEPEND="${PYTHON_DEPS} |
53 |
- >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}] |
54 |
- >=dev-python/boto-2.49.0[${PYTHON_USEDEP}] |
55 |
- >=dev-python/crcmod-1.7[${PYTHON_USEDEP}] |
56 |
- >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}] |
57 |
- >=dev-python/gcs-oauth2-boto-plugin-2.5[${PYTHON_USEDEP}] |
58 |
- >=dev-python/google-apitools-0.5.30[${PYTHON_USEDEP}] |
59 |
- dev-python/google-reauth-python[${PYTHON_USEDEP}] |
60 |
- >=dev-python/httplib2-0.11.3[${PYTHON_USEDEP}] |
61 |
- >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
62 |
- >=dev-python/monotonic-1.4[${PYTHON_USEDEP}] |
63 |
- >=dev-python/oauth2client-4.1.2[${PYTHON_USEDEP}] |
64 |
- >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}] |
65 |
- >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}] |
66 |
- >=dev-python/six-1.12.0[${PYTHON_USEDEP}] |
67 |
- >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]" |
68 |
-DEPEND="${RDEPEND} |
69 |
- dev-python/setuptools[${PYTHON_USEDEP}]" |
70 |
- |
71 |
-PATCHES=( |
72 |
- "${FILESDIR}/gsutil-4.41-tests.patch" |
73 |
-) |
74 |
- |
75 |
-S="${WORKDIR}/${PN}" |
76 |
- |
77 |
-DOCS=( README.md CHANGES.md ) |
78 |
- |
79 |
-# needs to talk to Google to run tests |
80 |
-RESTRICT="test" |
81 |
- |
82 |
-python_prepare_all() { |
83 |
- distutils-r1_python_prepare_all |
84 |
- |
85 |
- sed -e 's/boto==/boto>=/' \ |
86 |
- -e 's/mock==/mock>=/' \ |
87 |
- -e 's/oauth2client==/oauth2client>=/' \ |
88 |
- -e 's/SocksiPy-branch==/PySocks>=/' \ |
89 |
- -i setup.py || die |
90 |
- |
91 |
- # For debugging purposes, temporarily uncomment this in order to |
92 |
- # show hidden tracebacks. |
93 |
- #sed -e 's/^ except OSError as e:$/&\n raise/' \ |
94 |
- # -e 's/def _HandleUnknownFailure(e):/&\n raise/' \ |
95 |
- # -i gslib/__main__.py || die |
96 |
- |
97 |
- # create_bucket raised ResponseNotReady |
98 |
- sed -e 's/test_cp_unwritable_tracker_file/_&/' \ |
99 |
- -e 's/test_cp_unwritable_tracker_file_download/_&/' \ |
100 |
- -i gslib/tests/test_cp.py || die |
101 |
- |
102 |
- sed -e 's/\(executable_prefix =\).*/\1 [sys.executable]/' \ |
103 |
- -i gslib/commands/test.py || die |
104 |
- |
105 |
- # IOError: close() called during concurrent operation on the same file object. |
106 |
- sed -e 's/sys.stderr.close()/#&/' \ |
107 |
- -i gslib/tests/testcase/unit_testcase.py |
108 |
- |
109 |
- # Package installs 'test' package which is forbidden and likely a bug in the build system |
110 |
- rm -rf "${S}/test" || die |
111 |
- sed -i -e '/recursive-include test/d' MANIFEST.in || die |
112 |
-} |
113 |
- |
114 |
-python_test() { |
115 |
- BOTO_CONFIG=${FILESDIR}/dummy.boto \ |
116 |
- ${PYTHON} gslib/__main__.py test -u || die "tests failed" |
117 |
-} |
118 |
|
119 |
diff --git a/net-misc/gsutil/gsutil-4.45.ebuild b/net-misc/gsutil/gsutil-4.45.ebuild |
120 |
deleted file mode 100644 |
121 |
index 3e24aceb624..00000000000 |
122 |
--- a/net-misc/gsutil/gsutil-4.45.ebuild |
123 |
+++ /dev/null |
124 |
@@ -1,84 +0,0 @@ |
125 |
-# Copyright 1999-2020 Gentoo Authors |
126 |
-# Distributed under the terms of the GNU General Public License v2 |
127 |
- |
128 |
-EAPI=7 |
129 |
- |
130 |
-PYTHON_COMPAT=( python3_6 ) |
131 |
- |
132 |
-inherit distutils-r1 |
133 |
- |
134 |
-DESCRIPTION="command line tool for interacting with cloud storage services" |
135 |
-HOMEPAGE="https://github.com/GoogleCloudPlatform/gsutil" |
136 |
-SRC_URI="http://commondatastorage.googleapis.com/pub/${PN}_${PV}.tar.gz" |
137 |
- |
138 |
-LICENSE="Apache-2.0" |
139 |
-SLOT="0" |
140 |
-KEYWORDS="~amd64 ~arm ~x86" |
141 |
-IUSE="test" |
142 |
- |
143 |
-RDEPEND="${PYTHON_DEPS} |
144 |
- >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}] |
145 |
- >=dev-python/boto-2.49.0[${PYTHON_USEDEP}] |
146 |
- >=dev-python/crcmod-1.7[${PYTHON_USEDEP}] |
147 |
- >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}] |
148 |
- >=dev-python/gcs-oauth2-boto-plugin-2.5[${PYTHON_USEDEP}] |
149 |
- >=dev-python/google-apitools-0.5.30[${PYTHON_USEDEP}] |
150 |
- dev-python/google-reauth-python[${PYTHON_USEDEP}] |
151 |
- >=dev-python/httplib2-0.11.3[${PYTHON_USEDEP}] |
152 |
- >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
153 |
- >=dev-python/monotonic-1.4[${PYTHON_USEDEP}] |
154 |
- >=dev-python/oauth2client-4.1.2[${PYTHON_USEDEP}] |
155 |
- >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}] |
156 |
- >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}] |
157 |
- >=dev-python/six-1.12.0[${PYTHON_USEDEP}] |
158 |
- >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]" |
159 |
-DEPEND="${RDEPEND} |
160 |
- dev-python/setuptools[${PYTHON_USEDEP}]" |
161 |
- |
162 |
-PATCHES=( |
163 |
- "${FILESDIR}/gsutil-4.41-tests.patch" |
164 |
-) |
165 |
- |
166 |
-S="${WORKDIR}/${PN}" |
167 |
- |
168 |
-DOCS=( README.md CHANGES.md ) |
169 |
- |
170 |
-# needs to talk to Google to run tests |
171 |
-RESTRICT="test" |
172 |
- |
173 |
-python_prepare_all() { |
174 |
- distutils-r1_python_prepare_all |
175 |
- |
176 |
- sed -e 's/boto==/boto>=/' \ |
177 |
- -e 's/mock==/mock>=/' \ |
178 |
- -e 's/oauth2client==/oauth2client>=/' \ |
179 |
- -e 's/SocksiPy-branch==/PySocks>=/' \ |
180 |
- -i setup.py || die |
181 |
- |
182 |
- # For debugging purposes, temporarily uncomment this in order to |
183 |
- # show hidden tracebacks. |
184 |
- #sed -e 's/^ except OSError as e:$/&\n raise/' \ |
185 |
- # -e 's/def _HandleUnknownFailure(e):/&\n raise/' \ |
186 |
- # -i gslib/__main__.py || die |
187 |
- |
188 |
- # create_bucket raised ResponseNotReady |
189 |
- sed -e 's/test_cp_unwritable_tracker_file/_&/' \ |
190 |
- -e 's/test_cp_unwritable_tracker_file_download/_&/' \ |
191 |
- -i gslib/tests/test_cp.py || die |
192 |
- |
193 |
- sed -e 's/\(executable_prefix =\).*/\1 [sys.executable]/' \ |
194 |
- -i gslib/commands/test.py || die |
195 |
- |
196 |
- # IOError: close() called during concurrent operation on the same file object. |
197 |
- sed -e 's/sys.stderr.close()/#&/' \ |
198 |
- -i gslib/tests/testcase/unit_testcase.py |
199 |
- |
200 |
- # Package installs 'test' package which is forbidden and likely a bug in the build system |
201 |
- rm -rf "${S}/test" || die |
202 |
- sed -i -e '/recursive-include test/d' MANIFEST.in || die |
203 |
-} |
204 |
- |
205 |
-python_test() { |
206 |
- BOTO_CONFIG=${FILESDIR}/dummy.boto \ |
207 |
- ${PYTHON} gslib/__main__.py test -u || die "tests failed" |
208 |
-} |
209 |
|
210 |
diff --git a/net-misc/gsutil/gsutil-4.47.ebuild b/net-misc/gsutil/gsutil-4.47.ebuild |
211 |
deleted file mode 100644 |
212 |
index f47278e7a7e..00000000000 |
213 |
--- a/net-misc/gsutil/gsutil-4.47.ebuild |
214 |
+++ /dev/null |
215 |
@@ -1,88 +0,0 @@ |
216 |
-# Copyright 1999-2020 Gentoo Authors |
217 |
-# Distributed under the terms of the GNU General Public License v2 |
218 |
- |
219 |
-EAPI="7" |
220 |
- |
221 |
-PYTHON_COMPAT=( python3_6 ) |
222 |
-DISTUTILS_USE_SETUPTOOLS="rdepend" |
223 |
- |
224 |
-inherit distutils-r1 |
225 |
- |
226 |
-DESCRIPTION="command line tool for interacting with cloud storage services" |
227 |
-HOMEPAGE="https://github.com/GoogleCloudPlatform/gsutil" |
228 |
-SRC_URI="http://commondatastorage.googleapis.com/pub/${PN}_${PV}.tar.gz" |
229 |
- |
230 |
-LICENSE="Apache-2.0" |
231 |
-SLOT="0" |
232 |
-KEYWORDS="~amd64 ~arm ~x86" |
233 |
-IUSE="test" |
234 |
- |
235 |
-RDEPEND="${PYTHON_DEPS} |
236 |
- >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}] |
237 |
- >=dev-python/boto-2.49.0[${PYTHON_USEDEP}] |
238 |
- >=dev-python/crcmod-1.7[${PYTHON_USEDEP}] |
239 |
- >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}] |
240 |
- >=dev-python/gcs-oauth2-boto-plugin-2.5[${PYTHON_USEDEP}] |
241 |
- >=dev-python/google-apitools-0.5.30[${PYTHON_USEDEP}] |
242 |
- >=dev-python/google-reauth-python-0.1.0[${PYTHON_USEDEP}] |
243 |
- >=dev-python/httplib2-0.11.3[${PYTHON_USEDEP}] |
244 |
- >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
245 |
- >=dev-python/monotonic-1.4[${PYTHON_USEDEP}] |
246 |
- >=dev-python/oauth2client-4.1.3[${PYTHON_USEDEP}] |
247 |
- >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}] |
248 |
- >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}] |
249 |
- >=dev-python/six-1.12.0[${PYTHON_USEDEP}] |
250 |
- >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]" |
251 |
-DEPEND="${RDEPEND}" |
252 |
- |
253 |
-PATCHES=( |
254 |
- "${FILESDIR}/gsutil-4.41-tests.patch" |
255 |
-) |
256 |
- |
257 |
-S="${WORKDIR}/${PN}" |
258 |
- |
259 |
-DOCS=( README.md CHANGES.md ) |
260 |
- |
261 |
-# needs to talk to Google to run tests |
262 |
-RESTRICT="test" |
263 |
- |
264 |
-python_prepare_all() { |
265 |
- distutils-r1_python_prepare_all |
266 |
- |
267 |
- # NB: We don't delete all of boto/ because the tests are imported by the |
268 |
- # production code. The same reason we can't delete gslib/tests/. We can |
269 |
- # delete the main boto library and use the system version though. |
270 |
- rm -r gslib/vendored/boto/boto || die |
271 |
- |
272 |
- sed -i \ |
273 |
- -e 's/mock==/mock>=/' \ |
274 |
- -e 's/oauth2client==/oauth2client>=/' \ |
275 |
- -e 's/SocksiPy-branch==/PySocks>=/' \ |
276 |
- setup.py || die |
277 |
- # Sanity check we didn't miss any updates. |
278 |
- grep '==' setup.py && die "Need to update version requirements" |
279 |
- |
280 |
- # For debugging purposes, temporarily uncomment this in order to |
281 |
- # show hidden tracebacks. |
282 |
- #sed -e 's/^ except OSError as e:$/&\n raise/' \ |
283 |
- # -e 's/def _HandleUnknownFailure(e):/&\n raise/' \ |
284 |
- # -i gslib/__main__.py || die |
285 |
- |
286 |
- # create_bucket raised ResponseNotReady |
287 |
- sed -i \ |
288 |
- -e 's/test_cp_unwritable_tracker_file/_&/' \ |
289 |
- -e 's/test_cp_unwritable_tracker_file_download/_&/' \ |
290 |
- gslib/tests/test_cp.py || die |
291 |
- |
292 |
- sed -i -E -e 's/(executable_prefix =).*/\1 [sys.executable]/' \ |
293 |
- gslib/commands/test.py || die |
294 |
- |
295 |
- # IOError: close() called during concurrent operation on the same file object. |
296 |
- sed -i -e 's/sys.stderr.close()/#&/' \ |
297 |
- gslib/tests/testcase/unit_testcase.py || die |
298 |
-} |
299 |
- |
300 |
-python_test() { |
301 |
- BOTO_CONFIG=${FILESDIR}/dummy.boto \ |
302 |
- ${PYTHON} gslib/__main__.py test -u || die "tests failed" |
303 |
-} |