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, 26 Apr 2022 16:32:36
Message-Id: 1650990642.cad12c6bc16b1f154a015da52d320fa208178125.mgorny@gentoo
1 commit: cad12c6bc16b1f154a015da52d320fa208178125
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 26 16:30:42 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 26 16:30:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cad12c6b
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 | 12 ------
13 app-admin/awscli/awscli-1.22.100.ebuild | 66 ---------------------------------
14 app-admin/awscli/awscli-1.22.77.ebuild | 66 ---------------------------------
15 app-admin/awscli/awscli-1.22.82.ebuild | 66 ---------------------------------
16 app-admin/awscli/awscli-1.22.87.ebuild | 66 ---------------------------------
17 app-admin/awscli/awscli-1.22.90.ebuild | 66 ---------------------------------
18 app-admin/awscli/awscli-1.22.91.ebuild | 66 ---------------------------------
19 app-admin/awscli/awscli-1.22.92.ebuild | 66 ---------------------------------
20 app-admin/awscli/awscli-1.22.93.ebuild | 66 ---------------------------------
21 app-admin/awscli/awscli-1.22.94.ebuild | 66 ---------------------------------
22 app-admin/awscli/awscli-1.22.96.ebuild | 66 ---------------------------------
23 app-admin/awscli/awscli-1.22.98.ebuild | 66 ---------------------------------
24 app-admin/awscli/awscli-1.22.99.ebuild | 66 ---------------------------------
25 13 files changed, 804 deletions(-)
26
27 diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
28 index e9e6c3279d17..e56e112c856f 100644
29 --- a/app-admin/awscli/Manifest
30 +++ b/app-admin/awscli/Manifest
31 @@ -1,15 +1,3 @@
32 DIST aws-cli-1.23.0.gh.tar.gz 2197192 BLAKE2B 414646dc2e4ea5638185ab53e78e8de4403ff10084ce15ebbf5c67249722226769cd0eb02892ffb9bae5440956200417eb74393c6f393ec52a313fc55d9960a2 SHA512 27380033b02e88c6d022e8c33f0e4339e3c67b00cd2b7e92620ef2581e1ff8f55b55123aa4d4a24028c941f6ad60a0fe3e8f6d14d5a970163a97a2adb9ae93d6
33 -DIST awscli-1.22.100.tar.gz 2196386 BLAKE2B 36f5b4df2111251fa78f2b83def150fd266b558006e9627b5a5b5e86318eedc160a5d2c5b906535c967ca1dbef8637619b5c0f8b7b8c88ef5f192c38e974c54b SHA512 6d8ecc2cd55e27e0eb7c23bd4633e0c3b6151b1a3df8db2557eb3010d9413a8561a736cd77b9d4745c9fb45269bd85800f17d9b6ba8abb2f25521b677e111329
34 DIST awscli-1.22.101.tar.gz 2196746 BLAKE2B 590938e722e9dff00bcdb4a266f7063bca4e890f5db5e52b56ed710f5777c6e9de3cfe1423cee9ae2cea74d624bdd665cd8af487aec1ba4e650279c700540545 SHA512 ab99b95c5252c48a7a1d10adb053c56e27139e35bb512ce854e90a433e2d028aed2a88f72e518b0f723dea147919961e7cc7f5d980342206e629f750b0fe77ec
35 -DIST awscli-1.22.77.tar.gz 2179996 BLAKE2B fec49002841fa634bd2b7ae72f534bda875d69169179bbeb85eac18f2d9e9102121b6c0d73d8c7132ac0a6b8e5a8a39cea258d90c15f90b29b44d12ed509cfd1 SHA512 0fa89b6a2dd9dfc7e7be713c10b7470ad8fe8877a7fa9712510254cfbef36771f9e2541adfef9366e13e2273a373c2b88730572f7f1ad79c19f67e57c17e6631
36 -DIST awscli-1.22.82.tar.gz 2182473 BLAKE2B 0d73e62f7c394c1ac77f6b011e2303d9b48b8fd6d874360aef6b2fc4378feb8f9fa04b88e9c1ee8cf0cb5fb7d1884d4a08eee64093c151de274c1aa50777ebf3 SHA512 195061199fa3ed24b5be2a22a5d0ee2891bfb616239aaf54e5aa8715b3374e68edad613ea6e6b71a165e501b5a009856993259de3ac57f14ff3cd2a39453ec38
37 -DIST awscli-1.22.87.tar.gz 2185493 BLAKE2B 5d274e0c9483b22e664ad6de8710c04cc99f854b7c1efdac6dd4164deab47dc55d35520b34b276f8b4de1ee8b1ed10205b1806a31fc776d17b289a5e29277016 SHA512 c117fb8f89680836206f678637fb480ffd06db2225533bff75686eb8c1bd6e450297adb11863247441eeed67744b13930c0f62afce1dd12527d06d4e2eb58a4b
38 -DIST awscli-1.22.90.tar.gz 2186538 BLAKE2B 16b1942ee9fa65240a1b8b045b8e3e8659cc299a4cf52a876dae5cdc28088e7d6380c7961934fec590481aab5e71f60d08b21aac620a4485aa5872402c696549 SHA512 ef45718ebc2460e431f5177919a9d2e3de12dd68c9043b27f83ffb589672594fe7116ceed3b5e2fd62d502557a965cd0a3baf4af4de58c4a3176e39ba96e7076
39 -DIST awscli-1.22.91.tar.gz 2186925 BLAKE2B e7f6b4a5dce1b0f2752621628a28c7af75ce175b268c1b87a6516ad4bbc83738afdbef52d23e050febd3c351006aad2ecec9ce6d3052454b4f9352d3d5cde143 SHA512 b14e1d2da753ded2e90d72619ab205d9af6ec561cf01a8cbb09931a70338e50a8efe4555633f695ab4a486670e31e48ee1eba13e3943a728502e3aa0783f4c51
40 -DIST awscli-1.22.92.tar.gz 2187466 BLAKE2B 570e2fbb3efa0cf1664acbe6cd995799b98142ccea4fb36a967e3b3a77da4947295b4c0c9376a6c8780c0c9109ebe2e1a5e24dfd6cfb758960a6df24b8296f0c SHA512 022b9c12a71eaf62a6bea30df33d9f30ee309c77690cb6b08b770e987adf3e5cf8581b0a097c0f4466c73e82d1daacc42cd73eff48390ef3c5ca3cc49bc37a23
41 -DIST awscli-1.22.93.tar.gz 2187925 BLAKE2B c4b13aada04aea6b320c9b93c83cce11a4081e6b13cb7e3a83f2ee2ba651de4dbf636cfaefeee049a5ab91519bbfa6bbea37bd5a0a06a84979684bbf7c90c65c SHA512 c13d363ffff11fe30d3b78966caebb9026bcdbb4a6b9eb6e641de4955f9f360b6a4ecae25e1315d3e4943ea341f0f4c3be2aacf5849be3906d1fb0b0a9102490
42 -DIST awscli-1.22.94.tar.gz 2194607 BLAKE2B 985ce46ac8c3a12abc983fda4d424dbfa5c5da26c5552af9895079bc1aaa925e7f0c35f469f6b7f917007e162ce340adc68e4ae1c79f72c673bdf965ee550cfa SHA512 d34ad97d50de64591f0239de94b81d2ab77f8f4e284a356abe684bcd4c4d8f4a2d5e47d67e7b59322898d4f5b3503991eb550a424f894001aec547fe07e58923
43 -DIST awscli-1.22.96.tar.gz 2195648 BLAKE2B 57793e65d63151b150015ef90784140a9d473618849500d81bcb94582c5bc7a66b52337148b3f5c4c6b7196d2ab302fa0592dda3d83f2ff3d4fe845d687d18cf SHA512 71fb2bbc3586868566996cb807d01e582d181d96e52754c7052fc93040124ac7a73813f10fb1b660458772155aaa4f0a4294a583d429717e0bf1f6b785f5b963
44 DIST awscli-1.22.97.tar.gz 2193983 BLAKE2B f2e0efbb2332d4c405d5e97ba35426424d932a013114492890018d3419349e23aa3c8301f6c29bd8eaa662145b07ceaa30c22e41aad38012ca307400075600ca SHA512 00426aab19fcdf3241850b09d4d5dd6a1460e3ec9baa37cf203068dc6ca0fddd4fe3de7e4e93e8e6539608351777e00692bb8b9d2c362ceeacc55071cd53f422
45 -DIST awscli-1.22.98.tar.gz 2195040 BLAKE2B 08af6d73a9a719d358bbe60f0d7194ff80c2574d9ca4fb5f3ba0d050a63773aa97077784434f89d502aabe6b67c2aa328e9d291c0204038789f59fd78b8b4965 SHA512 2522e6b0f1b8fca8974ab06d69863b2a286c42e4d0b8939c6580b945beae1bc9d74f65f1de714c46ef4bb1ad154d4cbf37e88b05458961cd6bf6953474358b60
46 -DIST awscli-1.22.99.tar.gz 2195677 BLAKE2B f52b429a7ed984fe9fb9020361b21663189c5cadf873d333cf98c255aeeb7c6acdfb533ab995b3326efbf50948d3c4fc028fc256596601380d98ed54f157c208 SHA512 61a0901cad71eeba4d7b7ea24538e4b7455a844c64dfe61c40cb54f1b03122faf3d632ffd533f347ce0f9cdb29996c45d7df5c09ab158b38759ac2e55d3ab07d
47
48 diff --git a/app-admin/awscli/awscli-1.22.100.ebuild b/app-admin/awscli/awscli-1.22.100.ebuild
49 deleted file mode 100644
50 index 2040c8cb81d2..000000000000
51 --- a/app-admin/awscli/awscli-1.22.100.ebuild
52 +++ /dev/null
53 @@ -1,66 +0,0 @@
54 -# Copyright 1999-2022 Gentoo Authors
55 -# Distributed under the terms of the GNU General Public License v2
56 -
57 -EAPI=8
58 -
59 -DISTUTILS_USE_PEP517=setuptools
60 -PYTHON_COMPAT=( python3_{8..10} )
61 -
62 -inherit bash-completion-r1 distutils-r1 multiprocessing
63 -
64 -DESCRIPTION="Universal Command Line Environment for AWS"
65 -HOMEPAGE="https://pypi.org/project/awscli/"
66 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
67 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
68 -S="${WORKDIR}/aws-cli-${PV}"
69 -
70 -LICENSE="Apache-2.0"
71 -SLOT="0"
72 -KEYWORDS="~amd64 ~arm64 ~x86"
73 -
74 -# awscli 1.22.55 → botocore 1.24.0
75 -# so botocore is x.(y+2).(z-55)
76 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
77 -RDEPEND="
78 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
79 - dev-python/colorama[${PYTHON_USEDEP}]
80 - dev-python/docutils[${PYTHON_USEDEP}]
81 - dev-python/rsa[${PYTHON_USEDEP}]
82 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
83 - dev-python/pyyaml[${PYTHON_USEDEP}]
84 -"
85 -BDEPEND="
86 - test? (
87 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
88 - )
89 -"
90 -
91 -distutils_enable_tests pytest
92 -
93 -src_prepare() {
94 - # do not rely on bundled deps in botocore (sic!)
95 - find -name '*.py' -exec sed -i \
96 - -e 's:from botocore[.]vendored import:import:' \
97 - -e 's:from botocore[.]vendored[.]:from :' \
98 - {} + || die
99 - # strip overzealous upper bounds on requirements
100 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
101 - distutils-r1_src_prepare
102 -}
103 -
104 -python_test() {
105 - # integration tests require AWS credentials and Internet access
106 - epytest tests/{functional,unit} \
107 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
108 -}
109 -
110 -python_install_all() {
111 - newbashcomp bin/aws_bash_completer aws
112 -
113 - insinto /usr/share/zsh/site-functions
114 - newins bin/aws_zsh_completer.sh _aws
115 -
116 - distutils-r1_python_install_all
117 -
118 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
119 -}
120
121 diff --git a/app-admin/awscli/awscli-1.22.77.ebuild b/app-admin/awscli/awscli-1.22.77.ebuild
122 deleted file mode 100644
123 index 78fdd937eb64..000000000000
124 --- a/app-admin/awscli/awscli-1.22.77.ebuild
125 +++ /dev/null
126 @@ -1,66 +0,0 @@
127 -# Copyright 1999-2022 Gentoo Authors
128 -# Distributed under the terms of the GNU General Public License v2
129 -
130 -EAPI=8
131 -
132 -DISTUTILS_USE_PEP517=setuptools
133 -PYTHON_COMPAT=( python3_{8..10} )
134 -
135 -inherit bash-completion-r1 distutils-r1 multiprocessing
136 -
137 -DESCRIPTION="Universal Command Line Environment for AWS"
138 -HOMEPAGE="https://pypi.org/project/awscli/"
139 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
140 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
141 -S="${WORKDIR}/aws-cli-${PV}"
142 -
143 -LICENSE="Apache-2.0"
144 -SLOT="0"
145 -KEYWORDS="amd64 ~arm64 x86"
146 -
147 -# awscli 1.22.55 → botocore 1.24.0
148 -# so botocore is x.(y+2).(z-55)
149 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
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.4.0[${PYTHON_USEDEP}]
156 - dev-python/pyyaml[${PYTHON_USEDEP}]
157 -"
158 -BDEPEND="
159 - test? (
160 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
161 - )
162 -"
163 -
164 -distutils_enable_tests pytest
165 -
166 -src_prepare() {
167 - # do not rely on bundled deps in botocore (sic!)
168 - find -name '*.py' -exec sed -i \
169 - -e 's:from botocore[.]vendored import:import:' \
170 - -e 's:from botocore[.]vendored[.]:from :' \
171 - {} + || die
172 - # strip overzealous upper bounds on requirements
173 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
174 - distutils-r1_src_prepare
175 -}
176 -
177 -python_test() {
178 - # integration tests require AWS credentials and Internet access
179 - epytest tests/{functional,unit} \
180 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
181 -}
182 -
183 -python_install_all() {
184 - newbashcomp bin/aws_bash_completer aws
185 -
186 - insinto /usr/share/zsh/site-functions
187 - newins bin/aws_zsh_completer.sh _aws
188 -
189 - distutils-r1_python_install_all
190 -
191 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
192 -}
193
194 diff --git a/app-admin/awscli/awscli-1.22.82.ebuild b/app-admin/awscli/awscli-1.22.82.ebuild
195 deleted file mode 100644
196 index 2040c8cb81d2..000000000000
197 --- a/app-admin/awscli/awscli-1.22.82.ebuild
198 +++ /dev/null
199 @@ -1,66 +0,0 @@
200 -# Copyright 1999-2022 Gentoo Authors
201 -# Distributed under the terms of the GNU General Public License v2
202 -
203 -EAPI=8
204 -
205 -DISTUTILS_USE_PEP517=setuptools
206 -PYTHON_COMPAT=( python3_{8..10} )
207 -
208 -inherit bash-completion-r1 distutils-r1 multiprocessing
209 -
210 -DESCRIPTION="Universal Command Line Environment for AWS"
211 -HOMEPAGE="https://pypi.org/project/awscli/"
212 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
213 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
214 -S="${WORKDIR}/aws-cli-${PV}"
215 -
216 -LICENSE="Apache-2.0"
217 -SLOT="0"
218 -KEYWORDS="~amd64 ~arm64 ~x86"
219 -
220 -# awscli 1.22.55 → botocore 1.24.0
221 -# so botocore is x.(y+2).(z-55)
222 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
223 -RDEPEND="
224 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
225 - dev-python/colorama[${PYTHON_USEDEP}]
226 - dev-python/docutils[${PYTHON_USEDEP}]
227 - dev-python/rsa[${PYTHON_USEDEP}]
228 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
229 - dev-python/pyyaml[${PYTHON_USEDEP}]
230 -"
231 -BDEPEND="
232 - test? (
233 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
234 - )
235 -"
236 -
237 -distutils_enable_tests pytest
238 -
239 -src_prepare() {
240 - # do not rely on bundled deps in botocore (sic!)
241 - find -name '*.py' -exec sed -i \
242 - -e 's:from botocore[.]vendored import:import:' \
243 - -e 's:from botocore[.]vendored[.]:from :' \
244 - {} + || die
245 - # strip overzealous upper bounds on requirements
246 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
247 - distutils-r1_src_prepare
248 -}
249 -
250 -python_test() {
251 - # integration tests require AWS credentials and Internet access
252 - epytest tests/{functional,unit} \
253 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
254 -}
255 -
256 -python_install_all() {
257 - newbashcomp bin/aws_bash_completer aws
258 -
259 - insinto /usr/share/zsh/site-functions
260 - newins bin/aws_zsh_completer.sh _aws
261 -
262 - distutils-r1_python_install_all
263 -
264 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
265 -}
266
267 diff --git a/app-admin/awscli/awscli-1.22.87.ebuild b/app-admin/awscli/awscli-1.22.87.ebuild
268 deleted file mode 100644
269 index 2040c8cb81d2..000000000000
270 --- a/app-admin/awscli/awscli-1.22.87.ebuild
271 +++ /dev/null
272 @@ -1,66 +0,0 @@
273 -# Copyright 1999-2022 Gentoo Authors
274 -# Distributed under the terms of the GNU General Public License v2
275 -
276 -EAPI=8
277 -
278 -DISTUTILS_USE_PEP517=setuptools
279 -PYTHON_COMPAT=( python3_{8..10} )
280 -
281 -inherit bash-completion-r1 distutils-r1 multiprocessing
282 -
283 -DESCRIPTION="Universal Command Line Environment for AWS"
284 -HOMEPAGE="https://pypi.org/project/awscli/"
285 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
286 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
287 -S="${WORKDIR}/aws-cli-${PV}"
288 -
289 -LICENSE="Apache-2.0"
290 -SLOT="0"
291 -KEYWORDS="~amd64 ~arm64 ~x86"
292 -
293 -# awscli 1.22.55 → botocore 1.24.0
294 -# so botocore is x.(y+2).(z-55)
295 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
296 -RDEPEND="
297 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
298 - dev-python/colorama[${PYTHON_USEDEP}]
299 - dev-python/docutils[${PYTHON_USEDEP}]
300 - dev-python/rsa[${PYTHON_USEDEP}]
301 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
302 - dev-python/pyyaml[${PYTHON_USEDEP}]
303 -"
304 -BDEPEND="
305 - test? (
306 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
307 - )
308 -"
309 -
310 -distutils_enable_tests pytest
311 -
312 -src_prepare() {
313 - # do not rely on bundled deps in botocore (sic!)
314 - find -name '*.py' -exec sed -i \
315 - -e 's:from botocore[.]vendored import:import:' \
316 - -e 's:from botocore[.]vendored[.]:from :' \
317 - {} + || die
318 - # strip overzealous upper bounds on requirements
319 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
320 - distutils-r1_src_prepare
321 -}
322 -
323 -python_test() {
324 - # integration tests require AWS credentials and Internet access
325 - epytest tests/{functional,unit} \
326 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
327 -}
328 -
329 -python_install_all() {
330 - newbashcomp bin/aws_bash_completer aws
331 -
332 - insinto /usr/share/zsh/site-functions
333 - newins bin/aws_zsh_completer.sh _aws
334 -
335 - distutils-r1_python_install_all
336 -
337 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
338 -}
339
340 diff --git a/app-admin/awscli/awscli-1.22.90.ebuild b/app-admin/awscli/awscli-1.22.90.ebuild
341 deleted file mode 100644
342 index 2040c8cb81d2..000000000000
343 --- a/app-admin/awscli/awscli-1.22.90.ebuild
344 +++ /dev/null
345 @@ -1,66 +0,0 @@
346 -# Copyright 1999-2022 Gentoo Authors
347 -# Distributed under the terms of the GNU General Public License v2
348 -
349 -EAPI=8
350 -
351 -DISTUTILS_USE_PEP517=setuptools
352 -PYTHON_COMPAT=( python3_{8..10} )
353 -
354 -inherit bash-completion-r1 distutils-r1 multiprocessing
355 -
356 -DESCRIPTION="Universal Command Line Environment for AWS"
357 -HOMEPAGE="https://pypi.org/project/awscli/"
358 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
359 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
360 -S="${WORKDIR}/aws-cli-${PV}"
361 -
362 -LICENSE="Apache-2.0"
363 -SLOT="0"
364 -KEYWORDS="~amd64 ~arm64 ~x86"
365 -
366 -# awscli 1.22.55 → botocore 1.24.0
367 -# so botocore is x.(y+2).(z-55)
368 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
369 -RDEPEND="
370 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
371 - dev-python/colorama[${PYTHON_USEDEP}]
372 - dev-python/docutils[${PYTHON_USEDEP}]
373 - dev-python/rsa[${PYTHON_USEDEP}]
374 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
375 - dev-python/pyyaml[${PYTHON_USEDEP}]
376 -"
377 -BDEPEND="
378 - test? (
379 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
380 - )
381 -"
382 -
383 -distutils_enable_tests pytest
384 -
385 -src_prepare() {
386 - # do not rely on bundled deps in botocore (sic!)
387 - find -name '*.py' -exec sed -i \
388 - -e 's:from botocore[.]vendored import:import:' \
389 - -e 's:from botocore[.]vendored[.]:from :' \
390 - {} + || die
391 - # strip overzealous upper bounds on requirements
392 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
393 - distutils-r1_src_prepare
394 -}
395 -
396 -python_test() {
397 - # integration tests require AWS credentials and Internet access
398 - epytest tests/{functional,unit} \
399 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
400 -}
401 -
402 -python_install_all() {
403 - newbashcomp bin/aws_bash_completer aws
404 -
405 - insinto /usr/share/zsh/site-functions
406 - newins bin/aws_zsh_completer.sh _aws
407 -
408 - distutils-r1_python_install_all
409 -
410 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
411 -}
412
413 diff --git a/app-admin/awscli/awscli-1.22.91.ebuild b/app-admin/awscli/awscli-1.22.91.ebuild
414 deleted file mode 100644
415 index 2040c8cb81d2..000000000000
416 --- a/app-admin/awscli/awscli-1.22.91.ebuild
417 +++ /dev/null
418 @@ -1,66 +0,0 @@
419 -# Copyright 1999-2022 Gentoo Authors
420 -# Distributed under the terms of the GNU General Public License v2
421 -
422 -EAPI=8
423 -
424 -DISTUTILS_USE_PEP517=setuptools
425 -PYTHON_COMPAT=( python3_{8..10} )
426 -
427 -inherit bash-completion-r1 distutils-r1 multiprocessing
428 -
429 -DESCRIPTION="Universal Command Line Environment for AWS"
430 -HOMEPAGE="https://pypi.org/project/awscli/"
431 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
432 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
433 -S="${WORKDIR}/aws-cli-${PV}"
434 -
435 -LICENSE="Apache-2.0"
436 -SLOT="0"
437 -KEYWORDS="~amd64 ~arm64 ~x86"
438 -
439 -# awscli 1.22.55 → botocore 1.24.0
440 -# so botocore is x.(y+2).(z-55)
441 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
442 -RDEPEND="
443 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
444 - dev-python/colorama[${PYTHON_USEDEP}]
445 - dev-python/docutils[${PYTHON_USEDEP}]
446 - dev-python/rsa[${PYTHON_USEDEP}]
447 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
448 - dev-python/pyyaml[${PYTHON_USEDEP}]
449 -"
450 -BDEPEND="
451 - test? (
452 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
453 - )
454 -"
455 -
456 -distutils_enable_tests pytest
457 -
458 -src_prepare() {
459 - # do not rely on bundled deps in botocore (sic!)
460 - find -name '*.py' -exec sed -i \
461 - -e 's:from botocore[.]vendored import:import:' \
462 - -e 's:from botocore[.]vendored[.]:from :' \
463 - {} + || die
464 - # strip overzealous upper bounds on requirements
465 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
466 - distutils-r1_src_prepare
467 -}
468 -
469 -python_test() {
470 - # integration tests require AWS credentials and Internet access
471 - epytest tests/{functional,unit} \
472 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
473 -}
474 -
475 -python_install_all() {
476 - newbashcomp bin/aws_bash_completer aws
477 -
478 - insinto /usr/share/zsh/site-functions
479 - newins bin/aws_zsh_completer.sh _aws
480 -
481 - distutils-r1_python_install_all
482 -
483 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
484 -}
485
486 diff --git a/app-admin/awscli/awscli-1.22.92.ebuild b/app-admin/awscli/awscli-1.22.92.ebuild
487 deleted file mode 100644
488 index 2040c8cb81d2..000000000000
489 --- a/app-admin/awscli/awscli-1.22.92.ebuild
490 +++ /dev/null
491 @@ -1,66 +0,0 @@
492 -# Copyright 1999-2022 Gentoo Authors
493 -# Distributed under the terms of the GNU General Public License v2
494 -
495 -EAPI=8
496 -
497 -DISTUTILS_USE_PEP517=setuptools
498 -PYTHON_COMPAT=( python3_{8..10} )
499 -
500 -inherit bash-completion-r1 distutils-r1 multiprocessing
501 -
502 -DESCRIPTION="Universal Command Line Environment for AWS"
503 -HOMEPAGE="https://pypi.org/project/awscli/"
504 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
505 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
506 -S="${WORKDIR}/aws-cli-${PV}"
507 -
508 -LICENSE="Apache-2.0"
509 -SLOT="0"
510 -KEYWORDS="~amd64 ~arm64 ~x86"
511 -
512 -# awscli 1.22.55 → botocore 1.24.0
513 -# so botocore is x.(y+2).(z-55)
514 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
515 -RDEPEND="
516 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
517 - dev-python/colorama[${PYTHON_USEDEP}]
518 - dev-python/docutils[${PYTHON_USEDEP}]
519 - dev-python/rsa[${PYTHON_USEDEP}]
520 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
521 - dev-python/pyyaml[${PYTHON_USEDEP}]
522 -"
523 -BDEPEND="
524 - test? (
525 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
526 - )
527 -"
528 -
529 -distutils_enable_tests pytest
530 -
531 -src_prepare() {
532 - # do not rely on bundled deps in botocore (sic!)
533 - find -name '*.py' -exec sed -i \
534 - -e 's:from botocore[.]vendored import:import:' \
535 - -e 's:from botocore[.]vendored[.]:from :' \
536 - {} + || die
537 - # strip overzealous upper bounds on requirements
538 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
539 - distutils-r1_src_prepare
540 -}
541 -
542 -python_test() {
543 - # integration tests require AWS credentials and Internet access
544 - epytest tests/{functional,unit} \
545 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
546 -}
547 -
548 -python_install_all() {
549 - newbashcomp bin/aws_bash_completer aws
550 -
551 - insinto /usr/share/zsh/site-functions
552 - newins bin/aws_zsh_completer.sh _aws
553 -
554 - distutils-r1_python_install_all
555 -
556 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
557 -}
558
559 diff --git a/app-admin/awscli/awscli-1.22.93.ebuild b/app-admin/awscli/awscli-1.22.93.ebuild
560 deleted file mode 100644
561 index 2040c8cb81d2..000000000000
562 --- a/app-admin/awscli/awscli-1.22.93.ebuild
563 +++ /dev/null
564 @@ -1,66 +0,0 @@
565 -# Copyright 1999-2022 Gentoo Authors
566 -# Distributed under the terms of the GNU General Public License v2
567 -
568 -EAPI=8
569 -
570 -DISTUTILS_USE_PEP517=setuptools
571 -PYTHON_COMPAT=( python3_{8..10} )
572 -
573 -inherit bash-completion-r1 distutils-r1 multiprocessing
574 -
575 -DESCRIPTION="Universal Command Line Environment for AWS"
576 -HOMEPAGE="https://pypi.org/project/awscli/"
577 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
578 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
579 -S="${WORKDIR}/aws-cli-${PV}"
580 -
581 -LICENSE="Apache-2.0"
582 -SLOT="0"
583 -KEYWORDS="~amd64 ~arm64 ~x86"
584 -
585 -# awscli 1.22.55 → botocore 1.24.0
586 -# so botocore is x.(y+2).(z-55)
587 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
588 -RDEPEND="
589 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
590 - dev-python/colorama[${PYTHON_USEDEP}]
591 - dev-python/docutils[${PYTHON_USEDEP}]
592 - dev-python/rsa[${PYTHON_USEDEP}]
593 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
594 - dev-python/pyyaml[${PYTHON_USEDEP}]
595 -"
596 -BDEPEND="
597 - test? (
598 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
599 - )
600 -"
601 -
602 -distutils_enable_tests pytest
603 -
604 -src_prepare() {
605 - # do not rely on bundled deps in botocore (sic!)
606 - find -name '*.py' -exec sed -i \
607 - -e 's:from botocore[.]vendored import:import:' \
608 - -e 's:from botocore[.]vendored[.]:from :' \
609 - {} + || die
610 - # strip overzealous upper bounds on requirements
611 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
612 - distutils-r1_src_prepare
613 -}
614 -
615 -python_test() {
616 - # integration tests require AWS credentials and Internet access
617 - epytest tests/{functional,unit} \
618 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
619 -}
620 -
621 -python_install_all() {
622 - newbashcomp bin/aws_bash_completer aws
623 -
624 - insinto /usr/share/zsh/site-functions
625 - newins bin/aws_zsh_completer.sh _aws
626 -
627 - distutils-r1_python_install_all
628 -
629 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
630 -}
631
632 diff --git a/app-admin/awscli/awscli-1.22.94.ebuild b/app-admin/awscli/awscli-1.22.94.ebuild
633 deleted file mode 100644
634 index 2040c8cb81d2..000000000000
635 --- a/app-admin/awscli/awscli-1.22.94.ebuild
636 +++ /dev/null
637 @@ -1,66 +0,0 @@
638 -# Copyright 1999-2022 Gentoo Authors
639 -# Distributed under the terms of the GNU General Public License v2
640 -
641 -EAPI=8
642 -
643 -DISTUTILS_USE_PEP517=setuptools
644 -PYTHON_COMPAT=( python3_{8..10} )
645 -
646 -inherit bash-completion-r1 distutils-r1 multiprocessing
647 -
648 -DESCRIPTION="Universal Command Line Environment for AWS"
649 -HOMEPAGE="https://pypi.org/project/awscli/"
650 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
651 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
652 -S="${WORKDIR}/aws-cli-${PV}"
653 -
654 -LICENSE="Apache-2.0"
655 -SLOT="0"
656 -KEYWORDS="~amd64 ~arm64 ~x86"
657 -
658 -# awscli 1.22.55 → botocore 1.24.0
659 -# so botocore is x.(y+2).(z-55)
660 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
661 -RDEPEND="
662 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
663 - dev-python/colorama[${PYTHON_USEDEP}]
664 - dev-python/docutils[${PYTHON_USEDEP}]
665 - dev-python/rsa[${PYTHON_USEDEP}]
666 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
667 - dev-python/pyyaml[${PYTHON_USEDEP}]
668 -"
669 -BDEPEND="
670 - test? (
671 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
672 - )
673 -"
674 -
675 -distutils_enable_tests pytest
676 -
677 -src_prepare() {
678 - # do not rely on bundled deps in botocore (sic!)
679 - find -name '*.py' -exec sed -i \
680 - -e 's:from botocore[.]vendored import:import:' \
681 - -e 's:from botocore[.]vendored[.]:from :' \
682 - {} + || die
683 - # strip overzealous upper bounds on requirements
684 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
685 - distutils-r1_src_prepare
686 -}
687 -
688 -python_test() {
689 - # integration tests require AWS credentials and Internet access
690 - epytest tests/{functional,unit} \
691 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
692 -}
693 -
694 -python_install_all() {
695 - newbashcomp bin/aws_bash_completer aws
696 -
697 - insinto /usr/share/zsh/site-functions
698 - newins bin/aws_zsh_completer.sh _aws
699 -
700 - distutils-r1_python_install_all
701 -
702 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
703 -}
704
705 diff --git a/app-admin/awscli/awscli-1.22.96.ebuild b/app-admin/awscli/awscli-1.22.96.ebuild
706 deleted file mode 100644
707 index 2040c8cb81d2..000000000000
708 --- a/app-admin/awscli/awscli-1.22.96.ebuild
709 +++ /dev/null
710 @@ -1,66 +0,0 @@
711 -# Copyright 1999-2022 Gentoo Authors
712 -# Distributed under the terms of the GNU General Public License v2
713 -
714 -EAPI=8
715 -
716 -DISTUTILS_USE_PEP517=setuptools
717 -PYTHON_COMPAT=( python3_{8..10} )
718 -
719 -inherit bash-completion-r1 distutils-r1 multiprocessing
720 -
721 -DESCRIPTION="Universal Command Line Environment for AWS"
722 -HOMEPAGE="https://pypi.org/project/awscli/"
723 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
724 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
725 -S="${WORKDIR}/aws-cli-${PV}"
726 -
727 -LICENSE="Apache-2.0"
728 -SLOT="0"
729 -KEYWORDS="~amd64 ~arm64 ~x86"
730 -
731 -# awscli 1.22.55 → botocore 1.24.0
732 -# so botocore is x.(y+2).(z-55)
733 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
734 -RDEPEND="
735 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
736 - dev-python/colorama[${PYTHON_USEDEP}]
737 - dev-python/docutils[${PYTHON_USEDEP}]
738 - dev-python/rsa[${PYTHON_USEDEP}]
739 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
740 - dev-python/pyyaml[${PYTHON_USEDEP}]
741 -"
742 -BDEPEND="
743 - test? (
744 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
745 - )
746 -"
747 -
748 -distutils_enable_tests pytest
749 -
750 -src_prepare() {
751 - # do not rely on bundled deps in botocore (sic!)
752 - find -name '*.py' -exec sed -i \
753 - -e 's:from botocore[.]vendored import:import:' \
754 - -e 's:from botocore[.]vendored[.]:from :' \
755 - {} + || die
756 - # strip overzealous upper bounds on requirements
757 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
758 - distutils-r1_src_prepare
759 -}
760 -
761 -python_test() {
762 - # integration tests require AWS credentials and Internet access
763 - epytest tests/{functional,unit} \
764 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
765 -}
766 -
767 -python_install_all() {
768 - newbashcomp bin/aws_bash_completer aws
769 -
770 - insinto /usr/share/zsh/site-functions
771 - newins bin/aws_zsh_completer.sh _aws
772 -
773 - distutils-r1_python_install_all
774 -
775 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
776 -}
777
778 diff --git a/app-admin/awscli/awscli-1.22.98.ebuild b/app-admin/awscli/awscli-1.22.98.ebuild
779 deleted file mode 100644
780 index 2040c8cb81d2..000000000000
781 --- a/app-admin/awscli/awscli-1.22.98.ebuild
782 +++ /dev/null
783 @@ -1,66 +0,0 @@
784 -# Copyright 1999-2022 Gentoo Authors
785 -# Distributed under the terms of the GNU General Public License v2
786 -
787 -EAPI=8
788 -
789 -DISTUTILS_USE_PEP517=setuptools
790 -PYTHON_COMPAT=( python3_{8..10} )
791 -
792 -inherit bash-completion-r1 distutils-r1 multiprocessing
793 -
794 -DESCRIPTION="Universal Command Line Environment for AWS"
795 -HOMEPAGE="https://pypi.org/project/awscli/"
796 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
797 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
798 -S="${WORKDIR}/aws-cli-${PV}"
799 -
800 -LICENSE="Apache-2.0"
801 -SLOT="0"
802 -KEYWORDS="~amd64 ~arm64 ~x86"
803 -
804 -# awscli 1.22.55 → botocore 1.24.0
805 -# so botocore is x.(y+2).(z-55)
806 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
807 -RDEPEND="
808 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
809 - dev-python/colorama[${PYTHON_USEDEP}]
810 - dev-python/docutils[${PYTHON_USEDEP}]
811 - dev-python/rsa[${PYTHON_USEDEP}]
812 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
813 - dev-python/pyyaml[${PYTHON_USEDEP}]
814 -"
815 -BDEPEND="
816 - test? (
817 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
818 - )
819 -"
820 -
821 -distutils_enable_tests pytest
822 -
823 -src_prepare() {
824 - # do not rely on bundled deps in botocore (sic!)
825 - find -name '*.py' -exec sed -i \
826 - -e 's:from botocore[.]vendored import:import:' \
827 - -e 's:from botocore[.]vendored[.]:from :' \
828 - {} + || die
829 - # strip overzealous upper bounds on requirements
830 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
831 - distutils-r1_src_prepare
832 -}
833 -
834 -python_test() {
835 - # integration tests require AWS credentials and Internet access
836 - epytest tests/{functional,unit} \
837 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
838 -}
839 -
840 -python_install_all() {
841 - newbashcomp bin/aws_bash_completer aws
842 -
843 - insinto /usr/share/zsh/site-functions
844 - newins bin/aws_zsh_completer.sh _aws
845 -
846 - distutils-r1_python_install_all
847 -
848 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
849 -}
850
851 diff --git a/app-admin/awscli/awscli-1.22.99.ebuild b/app-admin/awscli/awscli-1.22.99.ebuild
852 deleted file mode 100644
853 index 2040c8cb81d2..000000000000
854 --- a/app-admin/awscli/awscli-1.22.99.ebuild
855 +++ /dev/null
856 @@ -1,66 +0,0 @@
857 -# Copyright 1999-2022 Gentoo Authors
858 -# Distributed under the terms of the GNU General Public License v2
859 -
860 -EAPI=8
861 -
862 -DISTUTILS_USE_PEP517=setuptools
863 -PYTHON_COMPAT=( python3_{8..10} )
864 -
865 -inherit bash-completion-r1 distutils-r1 multiprocessing
866 -
867 -DESCRIPTION="Universal Command Line Environment for AWS"
868 -HOMEPAGE="https://pypi.org/project/awscli/"
869 -#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
870 -SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
871 -S="${WORKDIR}/aws-cli-${PV}"
872 -
873 -LICENSE="Apache-2.0"
874 -SLOT="0"
875 -KEYWORDS="~amd64 ~arm64 ~x86"
876 -
877 -# awscli 1.22.55 → botocore 1.24.0
878 -# so botocore is x.(y+2).(z-55)
879 -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
880 -RDEPEND="
881 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
882 - dev-python/colorama[${PYTHON_USEDEP}]
883 - dev-python/docutils[${PYTHON_USEDEP}]
884 - dev-python/rsa[${PYTHON_USEDEP}]
885 - >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
886 - dev-python/pyyaml[${PYTHON_USEDEP}]
887 -"
888 -BDEPEND="
889 - test? (
890 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
891 - )
892 -"
893 -
894 -distutils_enable_tests pytest
895 -
896 -src_prepare() {
897 - # do not rely on bundled deps in botocore (sic!)
898 - find -name '*.py' -exec sed -i \
899 - -e 's:from botocore[.]vendored import:import:' \
900 - -e 's:from botocore[.]vendored[.]:from :' \
901 - {} + || die
902 - # strip overzealous upper bounds on requirements
903 - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
904 - distutils-r1_src_prepare
905 -}
906 -
907 -python_test() {
908 - # integration tests require AWS credentials and Internet access
909 - epytest tests/{functional,unit} \
910 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
911 -}
912 -
913 -python_install_all() {
914 - newbashcomp bin/aws_bash_completer aws
915 -
916 - insinto /usr/share/zsh/site-functions
917 - newins bin/aws_zsh_completer.sh _aws
918 -
919 - distutils-r1_python_install_all
920 -
921 - rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
922 -}