Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/awscli/
Date: Wed, 29 Jun 2022 16:47:47
Message-Id: 1656521256.a8ef893693445ea133b29608f8f2de04f9378284.arthurzam@gentoo
1 commit: a8ef893693445ea133b29608f8f2de04f9378284
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 29 16:46:47 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 29 16:47:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8ef8936
7
8 app-admin/awscli: drop versions
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 app-admin/awscli/Manifest | 7 ---
13 app-admin/awscli/awscli-1.25.12-r1.ebuild | 72 -------------------------------
14 app-admin/awscli/awscli-1.25.13-r1.ebuild | 72 -------------------------------
15 app-admin/awscli/awscli-1.25.14-r1.ebuild | 72 -------------------------------
16 app-admin/awscli/awscli-1.25.15-r1.ebuild | 72 -------------------------------
17 app-admin/awscli/awscli-1.25.16-r1.ebuild | 72 -------------------------------
18 app-admin/awscli/awscli-1.25.17-r1.ebuild | 72 -------------------------------
19 app-admin/awscli/awscli-1.25.18-r1.ebuild | 72 -------------------------------
20 8 files changed, 511 deletions(-)
21
22 diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
23 index 288b37b8f120..02a0c16fc5fc 100644
24 --- a/app-admin/awscli/Manifest
25 +++ b/app-admin/awscli/Manifest
26 @@ -1,9 +1,2 @@
27 -DIST aws-cli-1.25.12.gh.tar.gz 2224456 BLAKE2B d6425983b09fc3942727108e188e184f48399388704ada03df1d65ddb9adffc9597a217b863766a862e96b59c03fdb3202e694289b54ee9298fe7e547639ecc3 SHA512 a77e0d082a8dacecadbd2fa6cc1143fa5148e075894565fe9a552e9d1a27fd068c72ae57eb5c628129bb024267111b76722cf2c40dc9f719db8d96232302b918
28 -DIST aws-cli-1.25.13.gh.tar.gz 2224352 BLAKE2B 0f6b94545f8504dcf6a458df28b39b3a909869033ccf04ad1ad3652e6606573002cbd3fed7f65756a140bac7d3b1ccddbc6fcc84391b194b3a987cf8534c4bdc SHA512 f494f9b31e91bb0e7446867efe4539f04ac91b12ad7f4db2f355d1a391ce7a8bd1d40f4afe04855d227414a7c2479ec6fdaf9a42f1959b28d205df48c2b4d723
29 -DIST aws-cli-1.25.14.gh.tar.gz 2225058 BLAKE2B 185fb35a574a73d1d43adef515dbc1e67e81bf3ba5c6511365d6633c1b3c72263b4bdd1c0449a319292fdfa2f0eaef52fd8322785f26fa7ed5da0231d5aba6b2 SHA512 e7d854cff3c68a7ad41c3f481d64b12761dffb5186cc8919ec92bd48e9f9946773382eb276722ffc9776f34a972f50773e758aaa5212c168960fff07a71196b1
30 -DIST aws-cli-1.25.15.gh.tar.gz 2225254 BLAKE2B afc4ef97b0c8eebaba3874ab5291cda8b971cc934379973b19e9ccc855b99a42be2a26737104e0eed151db280afb1c1a7866c9f8a376ec8e6a59d09372217cfa SHA512 b5dfb47b1b256b2c3ee2ca92e161f0e59afc955159e28d368ee947cc8a41765919828dcfcfd00f7024bb328f4ed698cf040f81747cc892c6c3914a1f7e97d875
31 -DIST aws-cli-1.25.16.gh.tar.gz 2225519 BLAKE2B 5800f49afe526f29b76f74078431235ab302237cbb3d6977c902d218fd65fb1eb341534020f1b8c495eb1834d3ef4c87fec7b4dee6ac8ceff4a528ec9bbf045b SHA512 4641ead6693a54d34dbd3426baaf8c389221d85aba950e21e1ba7ccbdc142633d0d4215598fe55865a90c98c4df8ea2eb78610fd0567ce49b82f32aac1941f3b
32 -DIST aws-cli-1.25.17.gh.tar.gz 2226115 BLAKE2B d07a9c7a8e13019fd728489d27465497ba31f53087ef09e5f816792267bcb58158fa0a7f71fc499d3e343b5b3a0da45cc3632f8c69345b8cd93ebc735f645672 SHA512 1a7f90e28d6702f9e73fe3a93e0d91e2c4ea3d93574f21a3ecde1148445fe6b5f98f217e2e61a1cbba50a07590f0ab0abd00390fb04cbb3db74dfff698224997
33 -DIST aws-cli-1.25.18.gh.tar.gz 2226354 BLAKE2B 5dafc484fcb592bef9e1aa18ff21897bc93c2eda049e5dff64d706fc492c5778ccb818c4368b95ee7f326ad47ee59b7b230875d1ef6e63ed7997e1e761228fd9 SHA512 40a5f0d35956d8fadc8950e0498e9254126914172a26b092ad6cb874f32e9f36a790295687da30d3e9bc41e41672d1e1424ba91051d4e32c46e44ef89601b289
34 DIST aws-cli-1.25.19.gh.tar.gz 2227148 BLAKE2B a39de70c887b6e036303cdfb9fa435674cd5beb2482c1c71efbdfd675addef72772e538c11850b93be9430d12ce5a7d3293f18bec1a3bd6fd9b4d0c675b7d307 SHA512 430cbc322a26031211fbdb8a9ec4ee810d50b78a80d50b5e8fa254f22fd5131b3b5fc791db10d27d0b85ccb82b4a2a74dac4f1a1f14299262668743417532ec0
35 DIST aws-cli-1.25.7.gh.tar.gz 2223153 BLAKE2B fcadda94fd721135f94b1538c4b27e41108064f6fd32f324d5436138e3d1b0ffcab53fcc545b01c461365d55c4bfa2a05d90e94c875c929a3227efae76452415 SHA512 194adacab0df87d8e4f0cdc71bb956bef6dc8b2de2e7e4416c9c079ff2b7c2bce7584ac1049428d0bcb134368b39c37c04bc5e6a8fc7540c44c64f3934ccaf21
36
37 diff --git a/app-admin/awscli/awscli-1.25.12-r1.ebuild b/app-admin/awscli/awscli-1.25.12-r1.ebuild
38 deleted file mode 100644
39 index 9f176fa05cc8..000000000000
40 --- a/app-admin/awscli/awscli-1.25.12-r1.ebuild
41 +++ /dev/null
42 @@ -1,72 +0,0 @@
43 -# Copyright 1999-2022 Gentoo Authors
44 -# Distributed under the terms of the GNU General Public License v2
45 -
46 -EAPI=8
47 -
48 -DISTUTILS_USE_PEP517=setuptools
49 -PYTHON_COMPAT=( python3_{8..10} )
50 -
51 -inherit bash-completion-r1 distutils-r1 multiprocessing
52 -
53 -MY_P=aws-cli-${PV}
54 -DESCRIPTION="Universal Command Line Environment for AWS"
55 -HOMEPAGE="
56 - https://github.com/aws/aws-cli/
57 - https://pypi.org/project/awscli/
58 -"
59 -SRC_URI="
60 - https://github.com/aws/aws-cli/archive/${PV}.tar.gz
61 - -> ${MY_P}.gh.tar.gz
62 -"
63 -S=${WORKDIR}/${MY_P}
64 -
65 -LICENSE="Apache-2.0"
66 -SLOT="0"
67 -KEYWORDS="~amd64 ~arm64 ~x86"
68 -
69 -# botocore is x.(y+2).z
70 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
71 -RDEPEND="
72 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
73 - dev-python/colorama[${PYTHON_USEDEP}]
74 - dev-python/docutils[${PYTHON_USEDEP}]
75 - dev-python/rsa[${PYTHON_USEDEP}]
76 - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
77 - dev-python/pyyaml[${PYTHON_USEDEP}]
78 - !app-admin/awscli-bin
79 -"
80 -BDEPEND="
81 - test? (
82 - dev-python/pytest-forked[${PYTHON_USEDEP}]
83 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
84 - )
85 -"
86 -
87 -distutils_enable_tests pytest
88 -
89 -src_prepare() {
90 - # do not rely on bundled deps in botocore (sic!)
91 - find -name '*.py' -exec sed -i \
92 - -e 's:from botocore[.]vendored import:import:' \
93 - -e 's:from botocore[.]vendored[.]:from :' \
94 - {} + || die
95 - # strip overzealous upper bounds on requirements
96 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
97 - distutils-r1_src_prepare
98 -}
99 -
100 -python_test() {
101 - # integration tests require AWS credentials and Internet access
102 - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
103 -}
104 -
105 -python_install_all() {
106 - newbashcomp bin/aws_bash_completer aws
107 -
108 - insinto /usr/share/zsh/site-functions
109 - newins bin/aws_zsh_completer.sh _aws
110 -
111 - distutils-r1_python_install_all
112 -
113 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
114 -}
115
116 diff --git a/app-admin/awscli/awscli-1.25.13-r1.ebuild b/app-admin/awscli/awscli-1.25.13-r1.ebuild
117 deleted file mode 100644
118 index 9f176fa05cc8..000000000000
119 --- a/app-admin/awscli/awscli-1.25.13-r1.ebuild
120 +++ /dev/null
121 @@ -1,72 +0,0 @@
122 -# Copyright 1999-2022 Gentoo Authors
123 -# Distributed under the terms of the GNU General Public License v2
124 -
125 -EAPI=8
126 -
127 -DISTUTILS_USE_PEP517=setuptools
128 -PYTHON_COMPAT=( python3_{8..10} )
129 -
130 -inherit bash-completion-r1 distutils-r1 multiprocessing
131 -
132 -MY_P=aws-cli-${PV}
133 -DESCRIPTION="Universal Command Line Environment for AWS"
134 -HOMEPAGE="
135 - https://github.com/aws/aws-cli/
136 - https://pypi.org/project/awscli/
137 -"
138 -SRC_URI="
139 - https://github.com/aws/aws-cli/archive/${PV}.tar.gz
140 - -> ${MY_P}.gh.tar.gz
141 -"
142 -S=${WORKDIR}/${MY_P}
143 -
144 -LICENSE="Apache-2.0"
145 -SLOT="0"
146 -KEYWORDS="~amd64 ~arm64 ~x86"
147 -
148 -# botocore is x.(y+2).z
149 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
150 -RDEPEND="
151 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
152 - dev-python/colorama[${PYTHON_USEDEP}]
153 - dev-python/docutils[${PYTHON_USEDEP}]
154 - dev-python/rsa[${PYTHON_USEDEP}]
155 - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
156 - dev-python/pyyaml[${PYTHON_USEDEP}]
157 - !app-admin/awscli-bin
158 -"
159 -BDEPEND="
160 - test? (
161 - dev-python/pytest-forked[${PYTHON_USEDEP}]
162 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
163 - )
164 -"
165 -
166 -distutils_enable_tests pytest
167 -
168 -src_prepare() {
169 - # do not rely on bundled deps in botocore (sic!)
170 - find -name '*.py' -exec sed -i \
171 - -e 's:from botocore[.]vendored import:import:' \
172 - -e 's:from botocore[.]vendored[.]:from :' \
173 - {} + || die
174 - # strip overzealous upper bounds on requirements
175 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
176 - distutils-r1_src_prepare
177 -}
178 -
179 -python_test() {
180 - # integration tests require AWS credentials and Internet access
181 - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
182 -}
183 -
184 -python_install_all() {
185 - newbashcomp bin/aws_bash_completer aws
186 -
187 - insinto /usr/share/zsh/site-functions
188 - newins bin/aws_zsh_completer.sh _aws
189 -
190 - distutils-r1_python_install_all
191 -
192 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
193 -}
194
195 diff --git a/app-admin/awscli/awscli-1.25.14-r1.ebuild b/app-admin/awscli/awscli-1.25.14-r1.ebuild
196 deleted file mode 100644
197 index 9f176fa05cc8..000000000000
198 --- a/app-admin/awscli/awscli-1.25.14-r1.ebuild
199 +++ /dev/null
200 @@ -1,72 +0,0 @@
201 -# Copyright 1999-2022 Gentoo Authors
202 -# Distributed under the terms of the GNU General Public License v2
203 -
204 -EAPI=8
205 -
206 -DISTUTILS_USE_PEP517=setuptools
207 -PYTHON_COMPAT=( python3_{8..10} )
208 -
209 -inherit bash-completion-r1 distutils-r1 multiprocessing
210 -
211 -MY_P=aws-cli-${PV}
212 -DESCRIPTION="Universal Command Line Environment for AWS"
213 -HOMEPAGE="
214 - https://github.com/aws/aws-cli/
215 - https://pypi.org/project/awscli/
216 -"
217 -SRC_URI="
218 - https://github.com/aws/aws-cli/archive/${PV}.tar.gz
219 - -> ${MY_P}.gh.tar.gz
220 -"
221 -S=${WORKDIR}/${MY_P}
222 -
223 -LICENSE="Apache-2.0"
224 -SLOT="0"
225 -KEYWORDS="~amd64 ~arm64 ~x86"
226 -
227 -# botocore is x.(y+2).z
228 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
229 -RDEPEND="
230 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
231 - dev-python/colorama[${PYTHON_USEDEP}]
232 - dev-python/docutils[${PYTHON_USEDEP}]
233 - dev-python/rsa[${PYTHON_USEDEP}]
234 - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
235 - dev-python/pyyaml[${PYTHON_USEDEP}]
236 - !app-admin/awscli-bin
237 -"
238 -BDEPEND="
239 - test? (
240 - dev-python/pytest-forked[${PYTHON_USEDEP}]
241 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
242 - )
243 -"
244 -
245 -distutils_enable_tests pytest
246 -
247 -src_prepare() {
248 - # do not rely on bundled deps in botocore (sic!)
249 - find -name '*.py' -exec sed -i \
250 - -e 's:from botocore[.]vendored import:import:' \
251 - -e 's:from botocore[.]vendored[.]:from :' \
252 - {} + || die
253 - # strip overzealous upper bounds on requirements
254 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
255 - distutils-r1_src_prepare
256 -}
257 -
258 -python_test() {
259 - # integration tests require AWS credentials and Internet access
260 - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
261 -}
262 -
263 -python_install_all() {
264 - newbashcomp bin/aws_bash_completer aws
265 -
266 - insinto /usr/share/zsh/site-functions
267 - newins bin/aws_zsh_completer.sh _aws
268 -
269 - distutils-r1_python_install_all
270 -
271 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
272 -}
273
274 diff --git a/app-admin/awscli/awscli-1.25.15-r1.ebuild b/app-admin/awscli/awscli-1.25.15-r1.ebuild
275 deleted file mode 100644
276 index 9f176fa05cc8..000000000000
277 --- a/app-admin/awscli/awscli-1.25.15-r1.ebuild
278 +++ /dev/null
279 @@ -1,72 +0,0 @@
280 -# Copyright 1999-2022 Gentoo Authors
281 -# Distributed under the terms of the GNU General Public License v2
282 -
283 -EAPI=8
284 -
285 -DISTUTILS_USE_PEP517=setuptools
286 -PYTHON_COMPAT=( python3_{8..10} )
287 -
288 -inherit bash-completion-r1 distutils-r1 multiprocessing
289 -
290 -MY_P=aws-cli-${PV}
291 -DESCRIPTION="Universal Command Line Environment for AWS"
292 -HOMEPAGE="
293 - https://github.com/aws/aws-cli/
294 - https://pypi.org/project/awscli/
295 -"
296 -SRC_URI="
297 - https://github.com/aws/aws-cli/archive/${PV}.tar.gz
298 - -> ${MY_P}.gh.tar.gz
299 -"
300 -S=${WORKDIR}/${MY_P}
301 -
302 -LICENSE="Apache-2.0"
303 -SLOT="0"
304 -KEYWORDS="~amd64 ~arm64 ~x86"
305 -
306 -# botocore is x.(y+2).z
307 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
308 -RDEPEND="
309 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
310 - dev-python/colorama[${PYTHON_USEDEP}]
311 - dev-python/docutils[${PYTHON_USEDEP}]
312 - dev-python/rsa[${PYTHON_USEDEP}]
313 - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
314 - dev-python/pyyaml[${PYTHON_USEDEP}]
315 - !app-admin/awscli-bin
316 -"
317 -BDEPEND="
318 - test? (
319 - dev-python/pytest-forked[${PYTHON_USEDEP}]
320 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
321 - )
322 -"
323 -
324 -distutils_enable_tests pytest
325 -
326 -src_prepare() {
327 - # do not rely on bundled deps in botocore (sic!)
328 - find -name '*.py' -exec sed -i \
329 - -e 's:from botocore[.]vendored import:import:' \
330 - -e 's:from botocore[.]vendored[.]:from :' \
331 - {} + || die
332 - # strip overzealous upper bounds on requirements
333 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
334 - distutils-r1_src_prepare
335 -}
336 -
337 -python_test() {
338 - # integration tests require AWS credentials and Internet access
339 - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
340 -}
341 -
342 -python_install_all() {
343 - newbashcomp bin/aws_bash_completer aws
344 -
345 - insinto /usr/share/zsh/site-functions
346 - newins bin/aws_zsh_completer.sh _aws
347 -
348 - distutils-r1_python_install_all
349 -
350 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
351 -}
352
353 diff --git a/app-admin/awscli/awscli-1.25.16-r1.ebuild b/app-admin/awscli/awscli-1.25.16-r1.ebuild
354 deleted file mode 100644
355 index 9f176fa05cc8..000000000000
356 --- a/app-admin/awscli/awscli-1.25.16-r1.ebuild
357 +++ /dev/null
358 @@ -1,72 +0,0 @@
359 -# Copyright 1999-2022 Gentoo Authors
360 -# Distributed under the terms of the GNU General Public License v2
361 -
362 -EAPI=8
363 -
364 -DISTUTILS_USE_PEP517=setuptools
365 -PYTHON_COMPAT=( python3_{8..10} )
366 -
367 -inherit bash-completion-r1 distutils-r1 multiprocessing
368 -
369 -MY_P=aws-cli-${PV}
370 -DESCRIPTION="Universal Command Line Environment for AWS"
371 -HOMEPAGE="
372 - https://github.com/aws/aws-cli/
373 - https://pypi.org/project/awscli/
374 -"
375 -SRC_URI="
376 - https://github.com/aws/aws-cli/archive/${PV}.tar.gz
377 - -> ${MY_P}.gh.tar.gz
378 -"
379 -S=${WORKDIR}/${MY_P}
380 -
381 -LICENSE="Apache-2.0"
382 -SLOT="0"
383 -KEYWORDS="~amd64 ~arm64 ~x86"
384 -
385 -# botocore is x.(y+2).z
386 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
387 -RDEPEND="
388 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
389 - dev-python/colorama[${PYTHON_USEDEP}]
390 - dev-python/docutils[${PYTHON_USEDEP}]
391 - dev-python/rsa[${PYTHON_USEDEP}]
392 - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
393 - dev-python/pyyaml[${PYTHON_USEDEP}]
394 - !app-admin/awscli-bin
395 -"
396 -BDEPEND="
397 - test? (
398 - dev-python/pytest-forked[${PYTHON_USEDEP}]
399 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
400 - )
401 -"
402 -
403 -distutils_enable_tests pytest
404 -
405 -src_prepare() {
406 - # do not rely on bundled deps in botocore (sic!)
407 - find -name '*.py' -exec sed -i \
408 - -e 's:from botocore[.]vendored import:import:' \
409 - -e 's:from botocore[.]vendored[.]:from :' \
410 - {} + || die
411 - # strip overzealous upper bounds on requirements
412 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
413 - distutils-r1_src_prepare
414 -}
415 -
416 -python_test() {
417 - # integration tests require AWS credentials and Internet access
418 - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
419 -}
420 -
421 -python_install_all() {
422 - newbashcomp bin/aws_bash_completer aws
423 -
424 - insinto /usr/share/zsh/site-functions
425 - newins bin/aws_zsh_completer.sh _aws
426 -
427 - distutils-r1_python_install_all
428 -
429 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
430 -}
431
432 diff --git a/app-admin/awscli/awscli-1.25.17-r1.ebuild b/app-admin/awscli/awscli-1.25.17-r1.ebuild
433 deleted file mode 100644
434 index 9f176fa05cc8..000000000000
435 --- a/app-admin/awscli/awscli-1.25.17-r1.ebuild
436 +++ /dev/null
437 @@ -1,72 +0,0 @@
438 -# Copyright 1999-2022 Gentoo Authors
439 -# Distributed under the terms of the GNU General Public License v2
440 -
441 -EAPI=8
442 -
443 -DISTUTILS_USE_PEP517=setuptools
444 -PYTHON_COMPAT=( python3_{8..10} )
445 -
446 -inherit bash-completion-r1 distutils-r1 multiprocessing
447 -
448 -MY_P=aws-cli-${PV}
449 -DESCRIPTION="Universal Command Line Environment for AWS"
450 -HOMEPAGE="
451 - https://github.com/aws/aws-cli/
452 - https://pypi.org/project/awscli/
453 -"
454 -SRC_URI="
455 - https://github.com/aws/aws-cli/archive/${PV}.tar.gz
456 - -> ${MY_P}.gh.tar.gz
457 -"
458 -S=${WORKDIR}/${MY_P}
459 -
460 -LICENSE="Apache-2.0"
461 -SLOT="0"
462 -KEYWORDS="~amd64 ~arm64 ~x86"
463 -
464 -# botocore is x.(y+2).z
465 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
466 -RDEPEND="
467 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
468 - dev-python/colorama[${PYTHON_USEDEP}]
469 - dev-python/docutils[${PYTHON_USEDEP}]
470 - dev-python/rsa[${PYTHON_USEDEP}]
471 - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
472 - dev-python/pyyaml[${PYTHON_USEDEP}]
473 - !app-admin/awscli-bin
474 -"
475 -BDEPEND="
476 - test? (
477 - dev-python/pytest-forked[${PYTHON_USEDEP}]
478 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
479 - )
480 -"
481 -
482 -distutils_enable_tests pytest
483 -
484 -src_prepare() {
485 - # do not rely on bundled deps in botocore (sic!)
486 - find -name '*.py' -exec sed -i \
487 - -e 's:from botocore[.]vendored import:import:' \
488 - -e 's:from botocore[.]vendored[.]:from :' \
489 - {} + || die
490 - # strip overzealous upper bounds on requirements
491 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
492 - distutils-r1_src_prepare
493 -}
494 -
495 -python_test() {
496 - # integration tests require AWS credentials and Internet access
497 - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
498 -}
499 -
500 -python_install_all() {
501 - newbashcomp bin/aws_bash_completer aws
502 -
503 - insinto /usr/share/zsh/site-functions
504 - newins bin/aws_zsh_completer.sh _aws
505 -
506 - distutils-r1_python_install_all
507 -
508 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
509 -}
510
511 diff --git a/app-admin/awscli/awscli-1.25.18-r1.ebuild b/app-admin/awscli/awscli-1.25.18-r1.ebuild
512 deleted file mode 100644
513 index 9f176fa05cc8..000000000000
514 --- a/app-admin/awscli/awscli-1.25.18-r1.ebuild
515 +++ /dev/null
516 @@ -1,72 +0,0 @@
517 -# Copyright 1999-2022 Gentoo Authors
518 -# Distributed under the terms of the GNU General Public License v2
519 -
520 -EAPI=8
521 -
522 -DISTUTILS_USE_PEP517=setuptools
523 -PYTHON_COMPAT=( python3_{8..10} )
524 -
525 -inherit bash-completion-r1 distutils-r1 multiprocessing
526 -
527 -MY_P=aws-cli-${PV}
528 -DESCRIPTION="Universal Command Line Environment for AWS"
529 -HOMEPAGE="
530 - https://github.com/aws/aws-cli/
531 - https://pypi.org/project/awscli/
532 -"
533 -SRC_URI="
534 - https://github.com/aws/aws-cli/archive/${PV}.tar.gz
535 - -> ${MY_P}.gh.tar.gz
536 -"
537 -S=${WORKDIR}/${MY_P}
538 -
539 -LICENSE="Apache-2.0"
540 -SLOT="0"
541 -KEYWORDS="~amd64 ~arm64 ~x86"
542 -
543 -# botocore is x.(y+2).z
544 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
545 -RDEPEND="
546 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
547 - dev-python/colorama[${PYTHON_USEDEP}]
548 - dev-python/docutils[${PYTHON_USEDEP}]
549 - dev-python/rsa[${PYTHON_USEDEP}]
550 - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
551 - dev-python/pyyaml[${PYTHON_USEDEP}]
552 - !app-admin/awscli-bin
553 -"
554 -BDEPEND="
555 - test? (
556 - dev-python/pytest-forked[${PYTHON_USEDEP}]
557 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
558 - )
559 -"
560 -
561 -distutils_enable_tests pytest
562 -
563 -src_prepare() {
564 - # do not rely on bundled deps in botocore (sic!)
565 - find -name '*.py' -exec sed -i \
566 - -e 's:from botocore[.]vendored import:import:' \
567 - -e 's:from botocore[.]vendored[.]:from :' \
568 - {} + || die
569 - # strip overzealous upper bounds on requirements
570 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
571 - distutils-r1_src_prepare
572 -}
573 -
574 -python_test() {
575 - # integration tests require AWS credentials and Internet access
576 - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
577 -}
578 -
579 -python_install_all() {
580 - newbashcomp bin/aws_bash_completer aws
581 -
582 - insinto /usr/share/zsh/site-functions
583 - newins bin/aws_zsh_completer.sh _aws
584 -
585 - distutils-r1_python_install_all
586 -
587 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
588 -}