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