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: Fri, 16 Jul 2021 06:54:37
Message-Id: 1626418462.ac223c389c70bd3ced192f77c9abac99e71278c4.mgorny@gentoo
1 commit: ac223c389c70bd3ced192f77c9abac99e71278c4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 16 06:17:33 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 16 06:54:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac223c38
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.19.105.ebuild | 58 ---------------------------------
14 app-admin/awscli/awscli-1.19.106.ebuild | 58 ---------------------------------
15 app-admin/awscli/awscli-1.19.107.ebuild | 58 ---------------------------------
16 app-admin/awscli/awscli-1.19.108.ebuild | 58 ---------------------------------
17 app-admin/awscli/awscli-1.19.109.ebuild | 58 ---------------------------------
18 app-admin/awscli/awscli-1.19.110.ebuild | 58 ---------------------------------
19 app-admin/awscli/awscli-1.19.111.ebuild | 58 ---------------------------------
20 8 files changed, 413 deletions(-)
21
22 diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
23 index 95b52dc19f4..71007d5fdf7 100644
24 --- a/app-admin/awscli/Manifest
25 +++ b/app-admin/awscli/Manifest
26 @@ -1,10 +1,3 @@
27 DIST awscli-1.19.104.tar.gz 2024567 BLAKE2B 82662ffe6a05dd329210ff84962e1ad37ece63a8f964c3c6bb293f53fea3af151bb088150260b3b279730871b7e962f2c580385b21a56a8bc2f86b437fab92d4 SHA512 444e533219e23b5151bab29d2d65deb8de9008b883b08ae553dd322b3f4e96d3836fedabc7be0393303ea146a0b8ad8220d4f4de458bca00303dc0798e543840
28 -DIST awscli-1.19.105.tar.gz 2024530 BLAKE2B 8d05c41aa76338f30edf8640923250fa3d3954e942243552338837ec163f987c583573269d94a63f47f48fbb0beab4c6265e9197b465563374e4afb45ae20843 SHA512 73207ca67d490df705022844e6d025d051a276698204fcf82171e0075f5db2c347de0634cffc48fbd210314d66fd79c61d4129003ddbd6db698adc710fbb2068
29 -DIST awscli-1.19.106.tar.gz 2025184 BLAKE2B ee1006df7feef7ca3dcae3625a5e318dd1d5ed70a3c0c30fffd431fa41713f1932d2750edd2fd251513eaa631f93c6c9d4ab2e0bb052f246b5b13e48c355646a SHA512 404b7d14622f1250f3cc5ea290dd796fb99aeb141101ca55bb672375d09fb4fccb67c2d926f0a3f7e5efc4c48022197a0de20e59590d4758e5fe0975c63f2bb5
30 -DIST awscli-1.19.107.tar.gz 2025880 BLAKE2B bbb307072a63a9722496aaae52c2f9fbc2743b8a4fdc2fffdb2b4e9b6be9013868a2130211ef9ab427bc2180ad1d19209fd6411d8cde26a5f02db7f3c643297b SHA512 69ebd9f3397230a7c49ef551258b38e8c66b370f70a8e050fa9c721dd5ebca3a9e0da70c2804417eba4e68bd7620fa2d2802d007369e5cd0bee49bfc512b7853
31 -DIST awscli-1.19.108.tar.gz 2026311 BLAKE2B 7404fb3010fa122bf210133667696df0e83c0c5d5adc717b75995cd95077f4ebcdd53375e687dce7d52eb1ef264110302f049897c18b7856be9d5e5a24f50ff3 SHA512 f061de7c7cc926f3fc5dc41a33068c8d575e1027f50099c148e80b5be55497508b44b11821e7f675e73bbcbfef12539e4d73afcd6a849d6ad7fc4f72b857b4d7
32 -DIST awscli-1.19.109.tar.gz 2026658 BLAKE2B 3ec642d44057795519e9e94ce73a6b26b42976018355f029ad7ec5fd6515497c725aad5872b3e061ff15cb7263823577bb3dfd1f43c3f1617ee996c982e722b0 SHA512 71c419359a12b159b06a7f769dbaaea8d5be0de4b71fb002bf3dd4c26810354038fc1057155235b26ad43b3af258e141c139cc84654e11650aa33d013381a192
33 -DIST awscli-1.19.110.tar.gz 2026742 BLAKE2B 6f45530050d234125a806bc2be48ba8d9c46db0a4180cf62ff4cfc9352d1ed118b82bcb814df91afb3ef1065fd1d6549ef2cd8b54775890b9bf52a472e91cedc SHA512 f5fc4e0d8ff8fa91c5e5ea95a79e84fa6de5d5ba0a12e9e2c29e6703cddf4bb63a1e501d9fc1e46945ea79e1980c95c68d959dde66edb89d63e9b9984994804d
34 -DIST awscli-1.19.111.tar.gz 2027361 BLAKE2B 8d7efd009483fe897719d1dae50a5e67e8bb4b76ccf1f3dad7632905a7e0fa15382d55275d0a371aeeefadb47204a635ad255660fc134af827d8bb0c39cf0130 SHA512 0faeb58a761ac7ebbef383bf38d28ffd8a2735b0f2a101f4100f1b302ce1df4848f851d3bdfbb1eb2b95ebaed5144d42c3a728528f3ea3c65150fbea071fc9d3
35 DIST awscli-1.19.112.tar.gz 2028010 BLAKE2B c5f973a2a0cf002038cdc46d0760f5e5fad942b1383f21819459d51fd3e3a17617e23d45d284345fac1760a812ffc81842068e8517bb500559a330ea8183968e SHA512 4ad9e960826baa057a2e72ddc2afce1012b766b5f691236435347c3e4ce210ee0b14003c16615262ec707d0c65b7f7f71a15fcf80a0fdfefb21ab6a28cfb1d55
36 DIST awscli-1.19.97.tar.gz 2020143 BLAKE2B 2dac6f59a04a958b09e0f8b7d056583015762df78ed1349b55c6301d3189e1100bd8ab98445ded3ccc0ddbf1148ddf0475086704f123b0db1ccfd1cacb6b4680 SHA512 4e4e0f34ba02819232427f7571a4b10d22b167788d758c9ac43749607ea7a4c498259fcc5c69fb32d66faffc535a5b3045006168b64506f2b0f9fbbaa804e387
37
38 diff --git a/app-admin/awscli/awscli-1.19.105.ebuild b/app-admin/awscli/awscli-1.19.105.ebuild
39 deleted file mode 100644
40 index ff429f8d3a3..00000000000
41 --- a/app-admin/awscli/awscli-1.19.105.ebuild
42 +++ /dev/null
43 @@ -1,58 +0,0 @@
44 -# Copyright 1999-2021 Gentoo Authors
45 -# Distributed under the terms of the GNU General Public License v2
46 -
47 -EAPI="7"
48 -
49 -PYTHON_COMPAT=( python3_{8..10} )
50 -
51 -inherit bash-completion-r1 distutils-r1
52 -
53 -DESCRIPTION="Universal Command Line Environment for AWS"
54 -HOMEPAGE="https://pypi.org/project/awscli/"
55 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
56 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
57 -S="${WORKDIR}/aws-cli-${PV}"
58 -
59 -LICENSE="Apache-2.0"
60 -SLOT="0"
61 -KEYWORDS="~amd64 ~arm64 ~x86"
62 -
63 -# botocore is x.(y+1).z
64 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
65 -RDEPEND="
66 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
67 - dev-python/colorama[${PYTHON_USEDEP}]
68 - dev-python/docutils[${PYTHON_USEDEP}]
69 - dev-python/rsa[${PYTHON_USEDEP}]
70 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
71 - dev-python/pyyaml[${PYTHON_USEDEP}]
72 -"
73 -BDEPEND="
74 - test? (
75 - dev-python/mock[${PYTHON_USEDEP}]
76 - )
77 -"
78 -
79 -distutils_enable_tests --install nose
80 -
81 -PATCHES=(
82 - "${FILESDIR}"/awscli-1.19.47-py39.patch
83 -)
84 -
85 -python_test() {
86 - distutils_install_for_testing
87 - # integration tests require AWS credentials and Internet access
88 - nosetests -v tests/{functional,unit} ||
89 - die "Tests failed for ${EPYTHON}"
90 -}
91 -
92 -python_install_all() {
93 - newbashcomp bin/aws_bash_completer aws
94 -
95 - insinto /usr/share/zsh/site-functions
96 - newins bin/aws_zsh_completer.sh _aws
97 -
98 - distutils-r1_python_install_all
99 -
100 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
101 -}
102
103 diff --git a/app-admin/awscli/awscli-1.19.106.ebuild b/app-admin/awscli/awscli-1.19.106.ebuild
104 deleted file mode 100644
105 index ff429f8d3a3..00000000000
106 --- a/app-admin/awscli/awscli-1.19.106.ebuild
107 +++ /dev/null
108 @@ -1,58 +0,0 @@
109 -# Copyright 1999-2021 Gentoo Authors
110 -# Distributed under the terms of the GNU General Public License v2
111 -
112 -EAPI="7"
113 -
114 -PYTHON_COMPAT=( python3_{8..10} )
115 -
116 -inherit bash-completion-r1 distutils-r1
117 -
118 -DESCRIPTION="Universal Command Line Environment for AWS"
119 -HOMEPAGE="https://pypi.org/project/awscli/"
120 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
121 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
122 -S="${WORKDIR}/aws-cli-${PV}"
123 -
124 -LICENSE="Apache-2.0"
125 -SLOT="0"
126 -KEYWORDS="~amd64 ~arm64 ~x86"
127 -
128 -# botocore is x.(y+1).z
129 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
130 -RDEPEND="
131 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
132 - dev-python/colorama[${PYTHON_USEDEP}]
133 - dev-python/docutils[${PYTHON_USEDEP}]
134 - dev-python/rsa[${PYTHON_USEDEP}]
135 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
136 - dev-python/pyyaml[${PYTHON_USEDEP}]
137 -"
138 -BDEPEND="
139 - test? (
140 - dev-python/mock[${PYTHON_USEDEP}]
141 - )
142 -"
143 -
144 -distutils_enable_tests --install nose
145 -
146 -PATCHES=(
147 - "${FILESDIR}"/awscli-1.19.47-py39.patch
148 -)
149 -
150 -python_test() {
151 - distutils_install_for_testing
152 - # integration tests require AWS credentials and Internet access
153 - nosetests -v tests/{functional,unit} ||
154 - die "Tests failed for ${EPYTHON}"
155 -}
156 -
157 -python_install_all() {
158 - newbashcomp bin/aws_bash_completer aws
159 -
160 - insinto /usr/share/zsh/site-functions
161 - newins bin/aws_zsh_completer.sh _aws
162 -
163 - distutils-r1_python_install_all
164 -
165 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
166 -}
167
168 diff --git a/app-admin/awscli/awscli-1.19.107.ebuild b/app-admin/awscli/awscli-1.19.107.ebuild
169 deleted file mode 100644
170 index ff429f8d3a3..00000000000
171 --- a/app-admin/awscli/awscli-1.19.107.ebuild
172 +++ /dev/null
173 @@ -1,58 +0,0 @@
174 -# Copyright 1999-2021 Gentoo Authors
175 -# Distributed under the terms of the GNU General Public License v2
176 -
177 -EAPI="7"
178 -
179 -PYTHON_COMPAT=( python3_{8..10} )
180 -
181 -inherit bash-completion-r1 distutils-r1
182 -
183 -DESCRIPTION="Universal Command Line Environment for AWS"
184 -HOMEPAGE="https://pypi.org/project/awscli/"
185 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
186 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
187 -S="${WORKDIR}/aws-cli-${PV}"
188 -
189 -LICENSE="Apache-2.0"
190 -SLOT="0"
191 -KEYWORDS="~amd64 ~arm64 ~x86"
192 -
193 -# botocore is x.(y+1).z
194 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
195 -RDEPEND="
196 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
197 - dev-python/colorama[${PYTHON_USEDEP}]
198 - dev-python/docutils[${PYTHON_USEDEP}]
199 - dev-python/rsa[${PYTHON_USEDEP}]
200 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
201 - dev-python/pyyaml[${PYTHON_USEDEP}]
202 -"
203 -BDEPEND="
204 - test? (
205 - dev-python/mock[${PYTHON_USEDEP}]
206 - )
207 -"
208 -
209 -distutils_enable_tests --install nose
210 -
211 -PATCHES=(
212 - "${FILESDIR}"/awscli-1.19.47-py39.patch
213 -)
214 -
215 -python_test() {
216 - distutils_install_for_testing
217 - # integration tests require AWS credentials and Internet access
218 - nosetests -v tests/{functional,unit} ||
219 - die "Tests failed for ${EPYTHON}"
220 -}
221 -
222 -python_install_all() {
223 - newbashcomp bin/aws_bash_completer aws
224 -
225 - insinto /usr/share/zsh/site-functions
226 - newins bin/aws_zsh_completer.sh _aws
227 -
228 - distutils-r1_python_install_all
229 -
230 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
231 -}
232
233 diff --git a/app-admin/awscli/awscli-1.19.108.ebuild b/app-admin/awscli/awscli-1.19.108.ebuild
234 deleted file mode 100644
235 index ff429f8d3a3..00000000000
236 --- a/app-admin/awscli/awscli-1.19.108.ebuild
237 +++ /dev/null
238 @@ -1,58 +0,0 @@
239 -# Copyright 1999-2021 Gentoo Authors
240 -# Distributed under the terms of the GNU General Public License v2
241 -
242 -EAPI="7"
243 -
244 -PYTHON_COMPAT=( python3_{8..10} )
245 -
246 -inherit bash-completion-r1 distutils-r1
247 -
248 -DESCRIPTION="Universal Command Line Environment for AWS"
249 -HOMEPAGE="https://pypi.org/project/awscli/"
250 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
251 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
252 -S="${WORKDIR}/aws-cli-${PV}"
253 -
254 -LICENSE="Apache-2.0"
255 -SLOT="0"
256 -KEYWORDS="~amd64 ~arm64 ~x86"
257 -
258 -# botocore is x.(y+1).z
259 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
260 -RDEPEND="
261 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
262 - dev-python/colorama[${PYTHON_USEDEP}]
263 - dev-python/docutils[${PYTHON_USEDEP}]
264 - dev-python/rsa[${PYTHON_USEDEP}]
265 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
266 - dev-python/pyyaml[${PYTHON_USEDEP}]
267 -"
268 -BDEPEND="
269 - test? (
270 - dev-python/mock[${PYTHON_USEDEP}]
271 - )
272 -"
273 -
274 -distutils_enable_tests --install nose
275 -
276 -PATCHES=(
277 - "${FILESDIR}"/awscli-1.19.47-py39.patch
278 -)
279 -
280 -python_test() {
281 - distutils_install_for_testing
282 - # integration tests require AWS credentials and Internet access
283 - nosetests -v tests/{functional,unit} ||
284 - die "Tests failed for ${EPYTHON}"
285 -}
286 -
287 -python_install_all() {
288 - newbashcomp bin/aws_bash_completer aws
289 -
290 - insinto /usr/share/zsh/site-functions
291 - newins bin/aws_zsh_completer.sh _aws
292 -
293 - distutils-r1_python_install_all
294 -
295 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
296 -}
297
298 diff --git a/app-admin/awscli/awscli-1.19.109.ebuild b/app-admin/awscli/awscli-1.19.109.ebuild
299 deleted file mode 100644
300 index ff429f8d3a3..00000000000
301 --- a/app-admin/awscli/awscli-1.19.109.ebuild
302 +++ /dev/null
303 @@ -1,58 +0,0 @@
304 -# Copyright 1999-2021 Gentoo Authors
305 -# Distributed under the terms of the GNU General Public License v2
306 -
307 -EAPI="7"
308 -
309 -PYTHON_COMPAT=( python3_{8..10} )
310 -
311 -inherit bash-completion-r1 distutils-r1
312 -
313 -DESCRIPTION="Universal Command Line Environment for AWS"
314 -HOMEPAGE="https://pypi.org/project/awscli/"
315 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
316 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
317 -S="${WORKDIR}/aws-cli-${PV}"
318 -
319 -LICENSE="Apache-2.0"
320 -SLOT="0"
321 -KEYWORDS="~amd64 ~arm64 ~x86"
322 -
323 -# botocore is x.(y+1).z
324 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
325 -RDEPEND="
326 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
327 - dev-python/colorama[${PYTHON_USEDEP}]
328 - dev-python/docutils[${PYTHON_USEDEP}]
329 - dev-python/rsa[${PYTHON_USEDEP}]
330 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
331 - dev-python/pyyaml[${PYTHON_USEDEP}]
332 -"
333 -BDEPEND="
334 - test? (
335 - dev-python/mock[${PYTHON_USEDEP}]
336 - )
337 -"
338 -
339 -distutils_enable_tests --install nose
340 -
341 -PATCHES=(
342 - "${FILESDIR}"/awscli-1.19.47-py39.patch
343 -)
344 -
345 -python_test() {
346 - distutils_install_for_testing
347 - # integration tests require AWS credentials and Internet access
348 - nosetests -v tests/{functional,unit} ||
349 - die "Tests failed for ${EPYTHON}"
350 -}
351 -
352 -python_install_all() {
353 - newbashcomp bin/aws_bash_completer aws
354 -
355 - insinto /usr/share/zsh/site-functions
356 - newins bin/aws_zsh_completer.sh _aws
357 -
358 - distutils-r1_python_install_all
359 -
360 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
361 -}
362
363 diff --git a/app-admin/awscli/awscli-1.19.110.ebuild b/app-admin/awscli/awscli-1.19.110.ebuild
364 deleted file mode 100644
365 index ff429f8d3a3..00000000000
366 --- a/app-admin/awscli/awscli-1.19.110.ebuild
367 +++ /dev/null
368 @@ -1,58 +0,0 @@
369 -# Copyright 1999-2021 Gentoo Authors
370 -# Distributed under the terms of the GNU General Public License v2
371 -
372 -EAPI="7"
373 -
374 -PYTHON_COMPAT=( python3_{8..10} )
375 -
376 -inherit bash-completion-r1 distutils-r1
377 -
378 -DESCRIPTION="Universal Command Line Environment for AWS"
379 -HOMEPAGE="https://pypi.org/project/awscli/"
380 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
381 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
382 -S="${WORKDIR}/aws-cli-${PV}"
383 -
384 -LICENSE="Apache-2.0"
385 -SLOT="0"
386 -KEYWORDS="~amd64 ~arm64 ~x86"
387 -
388 -# botocore is x.(y+1).z
389 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
390 -RDEPEND="
391 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
392 - dev-python/colorama[${PYTHON_USEDEP}]
393 - dev-python/docutils[${PYTHON_USEDEP}]
394 - dev-python/rsa[${PYTHON_USEDEP}]
395 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
396 - dev-python/pyyaml[${PYTHON_USEDEP}]
397 -"
398 -BDEPEND="
399 - test? (
400 - dev-python/mock[${PYTHON_USEDEP}]
401 - )
402 -"
403 -
404 -distutils_enable_tests --install nose
405 -
406 -PATCHES=(
407 - "${FILESDIR}"/awscli-1.19.47-py39.patch
408 -)
409 -
410 -python_test() {
411 - distutils_install_for_testing
412 - # integration tests require AWS credentials and Internet access
413 - nosetests -v tests/{functional,unit} ||
414 - die "Tests failed for ${EPYTHON}"
415 -}
416 -
417 -python_install_all() {
418 - newbashcomp bin/aws_bash_completer aws
419 -
420 - insinto /usr/share/zsh/site-functions
421 - newins bin/aws_zsh_completer.sh _aws
422 -
423 - distutils-r1_python_install_all
424 -
425 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
426 -}
427
428 diff --git a/app-admin/awscli/awscli-1.19.111.ebuild b/app-admin/awscli/awscli-1.19.111.ebuild
429 deleted file mode 100644
430 index ff429f8d3a3..00000000000
431 --- a/app-admin/awscli/awscli-1.19.111.ebuild
432 +++ /dev/null
433 @@ -1,58 +0,0 @@
434 -# Copyright 1999-2021 Gentoo Authors
435 -# Distributed under the terms of the GNU General Public License v2
436 -
437 -EAPI="7"
438 -
439 -PYTHON_COMPAT=( python3_{8..10} )
440 -
441 -inherit bash-completion-r1 distutils-r1
442 -
443 -DESCRIPTION="Universal Command Line Environment for AWS"
444 -HOMEPAGE="https://pypi.org/project/awscli/"
445 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
446 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
447 -S="${WORKDIR}/aws-cli-${PV}"
448 -
449 -LICENSE="Apache-2.0"
450 -SLOT="0"
451 -KEYWORDS="~amd64 ~arm64 ~x86"
452 -
453 -# botocore is x.(y+1).z
454 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
455 -RDEPEND="
456 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
457 - dev-python/colorama[${PYTHON_USEDEP}]
458 - dev-python/docutils[${PYTHON_USEDEP}]
459 - dev-python/rsa[${PYTHON_USEDEP}]
460 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
461 - dev-python/pyyaml[${PYTHON_USEDEP}]
462 -"
463 -BDEPEND="
464 - test? (
465 - dev-python/mock[${PYTHON_USEDEP}]
466 - )
467 -"
468 -
469 -distutils_enable_tests --install nose
470 -
471 -PATCHES=(
472 - "${FILESDIR}"/awscli-1.19.47-py39.patch
473 -)
474 -
475 -python_test() {
476 - distutils_install_for_testing
477 - # integration tests require AWS credentials and Internet access
478 - nosetests -v tests/{functional,unit} ||
479 - die "Tests failed for ${EPYTHON}"
480 -}
481 -
482 -python_install_all() {
483 - newbashcomp bin/aws_bash_completer aws
484 -
485 - insinto /usr/share/zsh/site-functions
486 - newins bin/aws_zsh_completer.sh _aws
487 -
488 - distutils-r1_python_install_all
489 -
490 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
491 -}