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: Tue, 29 Nov 2022 07:17:13
Message-Id: 1669706155.7466fcbdff15a1feacb1ce61277b0e0829ca8be2.mgorny@gentoo
1 commit: 7466fcbdff15a1feacb1ce61277b0e0829ca8be2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 29 07:15:55 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 29 07:15:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7466fcbd
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 | 6 ---
13 app-admin/awscli/awscli-1.26.5.ebuild | 72 ------------------------------
14 app-admin/awscli/awscli-1.27.12.ebuild | 80 ----------------------------------
15 app-admin/awscli/awscli-1.27.13.ebuild | 80 ----------------------------------
16 app-admin/awscli/awscli-1.27.14.ebuild | 80 ----------------------------------
17 app-admin/awscli/awscli-1.27.15.ebuild | 80 ----------------------------------
18 app-admin/awscli/awscli-1.27.17.ebuild | 80 ----------------------------------
19 7 files changed, 478 deletions(-)
20
21 diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
22 index 0f0dce3ab8bb..9fddbf2132bd 100644
23 --- a/app-admin/awscli/Manifest
24 +++ b/app-admin/awscli/Manifest
25 @@ -1,10 +1,4 @@
26 -DIST aws-cli-1.26.5.gh.tar.gz 2294226 BLAKE2B 5c52d77679dcb999626751a7aa9abe3d81a1ee49584ea928ffe7e1fbc8ab33ec02d1385b4fea1d888e4cc11eabce73901389d1fd5fe9d365369f303da09b49c6 SHA512 3c1f6b43bef84060b8d3d7a7d848189e2ec0471e93340a04456f7fe70902722cac59a864db00b9a522ac14fd787ac415403982fd40facbab51a21ef11070b71e
27 DIST aws-cli-1.27.11.gh.tar.gz 2303984 BLAKE2B f773a631bd2f172697a013e11765307edfac0957f7bff7d05e74c326239491c03629859b5d7b4ec85a831e28acd47cbbf4a2393c8ae512fbf393142cfb7ca13d SHA512 ad9eee70eb95d2c9c71978425e96b80a42569efca6e20c5caeb6af7b27aa893b3bfe68fed8e13b18e20626c4cd9599e8efe93dacde5bcc5c347b815376819ea5
28 -DIST aws-cli-1.27.12.gh.tar.gz 2306806 BLAKE2B b94c5ae753754ff66897263883942043fa659cef95b5eb6c4e8edee8249b0cf1010d4490a4a46b477052ad14398f5d034285ff2e21428369b1ab4b425bb75cca SHA512 104cf99cc5bee3261b04a0c11681dfe8a18ffce6d1a4b8502983f6c754cce5b7d7e9b7f1dfd314ff06ccc4d8aa81f47cc335cbdfe81b6e19e7a08bad7cf14b02
29 -DIST aws-cli-1.27.13.gh.tar.gz 2308435 BLAKE2B 7b9ec88744417d9b3416f85d26100ab7e07a5373ada8aab004ff0411ff1aededfe21376b4843708a7b861bcf0d47fd5182e8423fcb1a041d1f16380532514a3c SHA512 0888cede49de91790dbd8eedf0b9ec96da10c05d06f939ab0cac983ca24c5f4e2dd8d2f3c11e5543c15c04c86f2bfb0fc49f9d29fe42149a2e3c1e2e04266089
30 -DIST aws-cli-1.27.14.gh.tar.gz 2309344 BLAKE2B dc29dbc89ca963f7dee116b815652c846a643b8415807a32460e86eb9a863470f985bcfcb7f228ce78682b351d14e29234dabc426556f4c7f8863ceec9c55347 SHA512 a97e104c8a45983f52a802d1b1cd55a89f95b1bd3ec5760905404e3f94946c2efe24de70a411d1e943a9ba07671f8114dbb05c216d3d52d1876c05f5e73093cd
31 -DIST aws-cli-1.27.15.gh.tar.gz 2309456 BLAKE2B 17ef8924b61c578462de2ad1eb8e46d16d55a49cc14ca1fa21fd895fa019bcd22bc2eadea498902fd9d440b2d441902c9a78c2b3687aa3cc636894360bdb74b3 SHA512 2e76d318c88bd344ad5336472d6ef1c8231e61b00cfd52f7051bc272966ea1d374584b0f35984441963f7b0d55d74377c3bb4ce60372751d2f2d00043747da72
32 DIST aws-cli-1.27.16.gh.tar.gz 2309698 BLAKE2B b81d5b1dcc8219a977bfc3cfa41053c12ff8cc363bcb8e3afd9b206d69240a7b4f5ef742d2e74cf21f46bc3a36271a516bf15e1ca34272ad64b4b1dc0c67e4e2 SHA512 1570b82cb2e6cbfb14754b539840b12a606c7a81490bb45239c851757b8e3ac694b41c5842a0b0df825d355d6d6182c6fd6b3c3f26e1c7070150814959c52260
33 -DIST aws-cli-1.27.17.gh.tar.gz 2311030 BLAKE2B d51b0e4279f24e234e09e3401cb3e9a710eb7b6e4295c48eda726c4a3fd3bfba61fe8387106d815d45878fbd897aebafbfa7f8c1035211faefedd4ac057caac7 SHA512 649834169bd1d5069544bccac22ed3ce54eaef839ac0de353127fb8e5a33f72d253e8cfd504aa1bfee06bad82f79a8342defea2178ffe6158dddd4e906497f17
34 DIST aws-cli-1.27.18.gh.tar.gz 2313270 BLAKE2B 2f5dc87a2e306d024c03b6cc175736798a28fe5b125aba7e6af9fe1297e44e37fae6990df216cf58c6cdf47ac7b5fc583bed9d5125df063f328544286f4f0f82 SHA512 6f5b0b333af0f842d940cc80f0c18c55feb06c7a4cc609c2db8332126f7e868ccff6f84bfd031bf8d590ca38be9aa258527433e6fab9d63de6a96c64ae740ca2
35 DIST aws-cli-1.27.8.gh.tar.gz 2301766 BLAKE2B 1873d92b8d2f6d3f29a65b4177927a1a14034da71dbc95ff6abf3f49df6cf3ee192412eeea15be14c8cf9fca0a5603f2c76b80b280f4feb95e661055abcd8b60 SHA512 e53828cac1b3e10e2ddd45312d71cdb748216dbc37c3e9833e7a1320b236c3bef6a13204a38b946d9182430f169fca1ddc77d3d06c1c2c6e05978dc61f675168
36
37 diff --git a/app-admin/awscli/awscli-1.26.5.ebuild b/app-admin/awscli/awscli-1.26.5.ebuild
38 deleted file mode 100644
39 index 8c90510a11c4..000000000000
40 --- a/app-admin/awscli/awscli-1.26.5.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..11} )
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 ~riscv 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.27.12.ebuild b/app-admin/awscli/awscli-1.27.12.ebuild
117 deleted file mode 100644
118 index 9bcb01ac11e2..000000000000
119 --- a/app-admin/awscli/awscli-1.27.12.ebuild
120 +++ /dev/null
121 @@ -1,80 +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_{10..11} )
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 ~riscv ~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 - local EPYTEST_DESELECT=(
181 - # TODO
182 - tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
183 - tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
184 - tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
185 - tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
186 - )
187 -
188 - # integration tests require AWS credentials and Internet access
189 - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
190 -}
191 -
192 -python_install_all() {
193 - newbashcomp bin/aws_bash_completer aws
194 -
195 - insinto /usr/share/zsh/site-functions
196 - newins bin/aws_zsh_completer.sh _aws
197 -
198 - distutils-r1_python_install_all
199 -
200 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
201 -}
202
203 diff --git a/app-admin/awscli/awscli-1.27.13.ebuild b/app-admin/awscli/awscli-1.27.13.ebuild
204 deleted file mode 100644
205 index 9bcb01ac11e2..000000000000
206 --- a/app-admin/awscli/awscli-1.27.13.ebuild
207 +++ /dev/null
208 @@ -1,80 +0,0 @@
209 -# Copyright 1999-2022 Gentoo Authors
210 -# Distributed under the terms of the GNU General Public License v2
211 -
212 -EAPI=8
213 -
214 -DISTUTILS_USE_PEP517=setuptools
215 -PYTHON_COMPAT=( python3_{10..11} )
216 -
217 -inherit bash-completion-r1 distutils-r1 multiprocessing
218 -
219 -MY_P=aws-cli-${PV}
220 -DESCRIPTION="Universal Command Line Environment for AWS"
221 -HOMEPAGE="
222 - https://github.com/aws/aws-cli/
223 - https://pypi.org/project/awscli/
224 -"
225 -SRC_URI="
226 - https://github.com/aws/aws-cli/archive/${PV}.tar.gz
227 - -> ${MY_P}.gh.tar.gz
228 -"
229 -S=${WORKDIR}/${MY_P}
230 -
231 -LICENSE="Apache-2.0"
232 -SLOT="0"
233 -KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
234 -
235 -# botocore is x.(y+2).z
236 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
237 -RDEPEND="
238 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
239 - dev-python/colorama[${PYTHON_USEDEP}]
240 - dev-python/docutils[${PYTHON_USEDEP}]
241 - dev-python/rsa[${PYTHON_USEDEP}]
242 - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
243 - dev-python/pyyaml[${PYTHON_USEDEP}]
244 - !app-admin/awscli-bin
245 -"
246 -BDEPEND="
247 - test? (
248 - dev-python/pytest-forked[${PYTHON_USEDEP}]
249 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
250 - )
251 -"
252 -
253 -distutils_enable_tests pytest
254 -
255 -src_prepare() {
256 - # do not rely on bundled deps in botocore (sic!)
257 - find -name '*.py' -exec sed -i \
258 - -e 's:from botocore[.]vendored import:import:' \
259 - -e 's:from botocore[.]vendored[.]:from :' \
260 - {} + || die
261 - # strip overzealous upper bounds on requirements
262 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
263 - distutils-r1_src_prepare
264 -}
265 -
266 -python_test() {
267 - local EPYTEST_DESELECT=(
268 - # TODO
269 - tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
270 - tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
271 - tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
272 - tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
273 - )
274 -
275 - # integration tests require AWS credentials and Internet access
276 - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
277 -}
278 -
279 -python_install_all() {
280 - newbashcomp bin/aws_bash_completer aws
281 -
282 - insinto /usr/share/zsh/site-functions
283 - newins bin/aws_zsh_completer.sh _aws
284 -
285 - distutils-r1_python_install_all
286 -
287 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
288 -}
289
290 diff --git a/app-admin/awscli/awscli-1.27.14.ebuild b/app-admin/awscli/awscli-1.27.14.ebuild
291 deleted file mode 100644
292 index 9bcb01ac11e2..000000000000
293 --- a/app-admin/awscli/awscli-1.27.14.ebuild
294 +++ /dev/null
295 @@ -1,80 +0,0 @@
296 -# Copyright 1999-2022 Gentoo Authors
297 -# Distributed under the terms of the GNU General Public License v2
298 -
299 -EAPI=8
300 -
301 -DISTUTILS_USE_PEP517=setuptools
302 -PYTHON_COMPAT=( python3_{10..11} )
303 -
304 -inherit bash-completion-r1 distutils-r1 multiprocessing
305 -
306 -MY_P=aws-cli-${PV}
307 -DESCRIPTION="Universal Command Line Environment for AWS"
308 -HOMEPAGE="
309 - https://github.com/aws/aws-cli/
310 - https://pypi.org/project/awscli/
311 -"
312 -SRC_URI="
313 - https://github.com/aws/aws-cli/archive/${PV}.tar.gz
314 - -> ${MY_P}.gh.tar.gz
315 -"
316 -S=${WORKDIR}/${MY_P}
317 -
318 -LICENSE="Apache-2.0"
319 -SLOT="0"
320 -KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
321 -
322 -# botocore is x.(y+2).z
323 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
324 -RDEPEND="
325 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
326 - dev-python/colorama[${PYTHON_USEDEP}]
327 - dev-python/docutils[${PYTHON_USEDEP}]
328 - dev-python/rsa[${PYTHON_USEDEP}]
329 - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
330 - dev-python/pyyaml[${PYTHON_USEDEP}]
331 - !app-admin/awscli-bin
332 -"
333 -BDEPEND="
334 - test? (
335 - dev-python/pytest-forked[${PYTHON_USEDEP}]
336 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
337 - )
338 -"
339 -
340 -distutils_enable_tests pytest
341 -
342 -src_prepare() {
343 - # do not rely on bundled deps in botocore (sic!)
344 - find -name '*.py' -exec sed -i \
345 - -e 's:from botocore[.]vendored import:import:' \
346 - -e 's:from botocore[.]vendored[.]:from :' \
347 - {} + || die
348 - # strip overzealous upper bounds on requirements
349 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
350 - distutils-r1_src_prepare
351 -}
352 -
353 -python_test() {
354 - local EPYTEST_DESELECT=(
355 - # TODO
356 - tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
357 - tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
358 - tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
359 - tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
360 - )
361 -
362 - # integration tests require AWS credentials and Internet access
363 - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
364 -}
365 -
366 -python_install_all() {
367 - newbashcomp bin/aws_bash_completer aws
368 -
369 - insinto /usr/share/zsh/site-functions
370 - newins bin/aws_zsh_completer.sh _aws
371 -
372 - distutils-r1_python_install_all
373 -
374 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
375 -}
376
377 diff --git a/app-admin/awscli/awscli-1.27.15.ebuild b/app-admin/awscli/awscli-1.27.15.ebuild
378 deleted file mode 100644
379 index 9bcb01ac11e2..000000000000
380 --- a/app-admin/awscli/awscli-1.27.15.ebuild
381 +++ /dev/null
382 @@ -1,80 +0,0 @@
383 -# Copyright 1999-2022 Gentoo Authors
384 -# Distributed under the terms of the GNU General Public License v2
385 -
386 -EAPI=8
387 -
388 -DISTUTILS_USE_PEP517=setuptools
389 -PYTHON_COMPAT=( python3_{10..11} )
390 -
391 -inherit bash-completion-r1 distutils-r1 multiprocessing
392 -
393 -MY_P=aws-cli-${PV}
394 -DESCRIPTION="Universal Command Line Environment for AWS"
395 -HOMEPAGE="
396 - https://github.com/aws/aws-cli/
397 - https://pypi.org/project/awscli/
398 -"
399 -SRC_URI="
400 - https://github.com/aws/aws-cli/archive/${PV}.tar.gz
401 - -> ${MY_P}.gh.tar.gz
402 -"
403 -S=${WORKDIR}/${MY_P}
404 -
405 -LICENSE="Apache-2.0"
406 -SLOT="0"
407 -KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
408 -
409 -# botocore is x.(y+2).z
410 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
411 -RDEPEND="
412 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
413 - dev-python/colorama[${PYTHON_USEDEP}]
414 - dev-python/docutils[${PYTHON_USEDEP}]
415 - dev-python/rsa[${PYTHON_USEDEP}]
416 - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
417 - dev-python/pyyaml[${PYTHON_USEDEP}]
418 - !app-admin/awscli-bin
419 -"
420 -BDEPEND="
421 - test? (
422 - dev-python/pytest-forked[${PYTHON_USEDEP}]
423 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
424 - )
425 -"
426 -
427 -distutils_enable_tests pytest
428 -
429 -src_prepare() {
430 - # do not rely on bundled deps in botocore (sic!)
431 - find -name '*.py' -exec sed -i \
432 - -e 's:from botocore[.]vendored import:import:' \
433 - -e 's:from botocore[.]vendored[.]:from :' \
434 - {} + || die
435 - # strip overzealous upper bounds on requirements
436 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
437 - distutils-r1_src_prepare
438 -}
439 -
440 -python_test() {
441 - local EPYTEST_DESELECT=(
442 - # TODO
443 - tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
444 - tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
445 - tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
446 - tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
447 - )
448 -
449 - # integration tests require AWS credentials and Internet access
450 - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
451 -}
452 -
453 -python_install_all() {
454 - newbashcomp bin/aws_bash_completer aws
455 -
456 - insinto /usr/share/zsh/site-functions
457 - newins bin/aws_zsh_completer.sh _aws
458 -
459 - distutils-r1_python_install_all
460 -
461 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
462 -}
463
464 diff --git a/app-admin/awscli/awscli-1.27.17.ebuild b/app-admin/awscli/awscli-1.27.17.ebuild
465 deleted file mode 100644
466 index 9bcb01ac11e2..000000000000
467 --- a/app-admin/awscli/awscli-1.27.17.ebuild
468 +++ /dev/null
469 @@ -1,80 +0,0 @@
470 -# Copyright 1999-2022 Gentoo Authors
471 -# Distributed under the terms of the GNU General Public License v2
472 -
473 -EAPI=8
474 -
475 -DISTUTILS_USE_PEP517=setuptools
476 -PYTHON_COMPAT=( python3_{10..11} )
477 -
478 -inherit bash-completion-r1 distutils-r1 multiprocessing
479 -
480 -MY_P=aws-cli-${PV}
481 -DESCRIPTION="Universal Command Line Environment for AWS"
482 -HOMEPAGE="
483 - https://github.com/aws/aws-cli/
484 - https://pypi.org/project/awscli/
485 -"
486 -SRC_URI="
487 - https://github.com/aws/aws-cli/archive/${PV}.tar.gz
488 - -> ${MY_P}.gh.tar.gz
489 -"
490 -S=${WORKDIR}/${MY_P}
491 -
492 -LICENSE="Apache-2.0"
493 -SLOT="0"
494 -KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
495 -
496 -# botocore is x.(y+2).z
497 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
498 -RDEPEND="
499 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
500 - dev-python/colorama[${PYTHON_USEDEP}]
501 - dev-python/docutils[${PYTHON_USEDEP}]
502 - dev-python/rsa[${PYTHON_USEDEP}]
503 - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
504 - dev-python/pyyaml[${PYTHON_USEDEP}]
505 - !app-admin/awscli-bin
506 -"
507 -BDEPEND="
508 - test? (
509 - dev-python/pytest-forked[${PYTHON_USEDEP}]
510 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
511 - )
512 -"
513 -
514 -distutils_enable_tests pytest
515 -
516 -src_prepare() {
517 - # do not rely on bundled deps in botocore (sic!)
518 - find -name '*.py' -exec sed -i \
519 - -e 's:from botocore[.]vendored import:import:' \
520 - -e 's:from botocore[.]vendored[.]:from :' \
521 - {} + || die
522 - # strip overzealous upper bounds on requirements
523 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
524 - distutils-r1_src_prepare
525 -}
526 -
527 -python_test() {
528 - local EPYTEST_DESELECT=(
529 - # TODO
530 - tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
531 - tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
532 - tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
533 - tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
534 - )
535 -
536 - # integration tests require AWS credentials and Internet access
537 - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
538 -}
539 -
540 -python_install_all() {
541 - newbashcomp bin/aws_bash_completer aws
542 -
543 - insinto /usr/share/zsh/site-functions
544 - newins bin/aws_zsh_completer.sh _aws
545 -
546 - distutils-r1_python_install_all
547 -
548 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
549 -}