1 |
commit: f02ce80869028a9d470b1a42d1467d896c54cdb4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 21 14:34:28 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 21 15:37:44 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f02ce808 |
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.14.ebuild | 56 -------------------------------- |
14 |
app-admin/awscli/awscli-1.22.24.ebuild | 58 ---------------------------------- |
15 |
app-admin/awscli/awscli-1.22.25.ebuild | 58 ---------------------------------- |
16 |
app-admin/awscli/awscli-1.22.26.ebuild | 58 ---------------------------------- |
17 |
app-admin/awscli/awscli-1.22.29.ebuild | 58 ---------------------------------- |
18 |
app-admin/awscli/awscli-1.22.32.ebuild | 58 ---------------------------------- |
19 |
app-admin/awscli/awscli-1.22.33.ebuild | 58 ---------------------------------- |
20 |
app-admin/awscli/awscli-1.22.34.ebuild | 58 ---------------------------------- |
21 |
app-admin/awscli/awscli-1.22.35.ebuild | 58 ---------------------------------- |
22 |
app-admin/awscli/awscli-1.22.38.ebuild | 58 ---------------------------------- |
23 |
app-admin/awscli/awscli-1.22.39.ebuild | 58 ---------------------------------- |
24 |
app-admin/awscli/awscli-1.22.5.ebuild | 56 -------------------------------- |
25 |
13 files changed, 704 deletions(-) |
26 |
|
27 |
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest |
28 |
index d95b058205b4..36df83345a97 100644 |
29 |
--- a/app-admin/awscli/Manifest |
30 |
+++ b/app-admin/awscli/Manifest |
31 |
@@ -1,16 +1,4 @@ |
32 |
-DIST awscli-1.22.14.tar.gz 2120655 BLAKE2B ffba1bea0574830e6eb3e343b5d83a308e19b557ddde981066b93008062c0702bfba47b7ff7ddc86d4f148606cce8089e81525c54a11eef23906ef1df6303af7 SHA512 0585d8f4842b23065a14cd1f73a7ee810d705ab4d2480591ebf13b640d7501ec784fb2000cdc685cbc6c4e996b7d68763ed79d2122bd61e07a0f97822c925d12 |
33 |
DIST awscli-1.22.23.tar.gz 2128226 BLAKE2B b572d21d2ba226871fd84eb33d44e65c3f5c074a75bbfc0b35101bb6861b29262a1b9f0349f5c6663fd101dbfb648767f2baaae3a50220a1d2559dbb0b9b2626 SHA512 884de216931e812bf432c9f80967841db6da4cdb67f0dd25848225a08af770041d7a9e59b982615c53064f689dddbd96b5041e10adefa7cf3a18baa5fbbb7b4f |
34 |
-DIST awscli-1.22.24.tar.gz 2128390 BLAKE2B 6b23a629a66e6f962b953fdc89ab1e81530806ba6120ae92022c8227e61f31aba53cea880d94b26d81ee4a7b62c57b39e45fdbd3e5ce1b9a929111ecc4b759b6 SHA512 846b5c0aa4121cd5975cadfa6a3800118b2fa3616d80dde7676043aa57142ae092debb1eb35f159db580104a03b20e2e02f57d73d7bad9f17f9931dab5b51435 |
35 |
-DIST awscli-1.22.25.tar.gz 2130417 BLAKE2B 1c150feb135d662cbae1e51cd0cd41744472d8a33ff84948ef1a1d6e49ea36ec5e9d85a6f8176d928dc3d1a74961bf6116e4bb01e4256c7cf01059bfb7e3db66 SHA512 0055805213057247fad6a13cb9cd9a90796723411999a55aa7bcd9f7b014709127654313877833a1257a14a2a61770232d142943c5dfae91ee1d9de91efd81d5 |
36 |
-DIST awscli-1.22.26.tar.gz 2131318 BLAKE2B 87651dc3a75bf0ca57142fb394b90ff3f60fbde724b7f6586c213fbf03169d5f4638133362b925a32235e518d7c8b56dea54a0bd224d4562a482e6303c7f81fb SHA512 276a137a3826922dc56316c59f46b1a741f57b5037a0a6345ece3732d31715e3fbf36faaa09b8969b161be2d54ef106c0cfd7bd6c3a3a31a540b8b42f9cf364c |
37 |
-DIST awscli-1.22.29.tar.gz 2132978 BLAKE2B 67dd83bfd9799c3a49bc2439b29b581e21cd57c6d4c93f8b3073bfd83b0d6ebbc95abc074b6257407f03b2f98253ef099dd1a2a853c093338b2435a17bf9d02e SHA512 61b2117125031e945a2aaa4d20325d8cee0a56d7b5cdb9726f0d951b1bd0eedefc6264be8a1a890c9dfa4869500222a15a9b62f2935cf59f168bdd3d0022fba0 |
38 |
DIST awscli-1.22.31.tar.gz 2134102 BLAKE2B e1918352146b3176c8fc60cc6338a69b04a28023bb46c6c4a9af6cfdf1304a3c4813dfa798a990123052c761f64929b07d7e25d13f04d9e8bafdeedc04a6e28e SHA512 57a18437aa7780861257499b810c72c49dda7d9db391f3b5ac8c8509c153075e216e1dabaa67486b8ae08e008fafe400b865a20d32c43136d6af987a315cfb9c |
39 |
-DIST awscli-1.22.32.tar.gz 2135177 BLAKE2B 1e99a887e3b90c8fa81547677b4827f50afdad26136a02f225c66702f2f705ee140616cb3ebf407fc4c9bfd242df5cdefe35cf582c565ce1715fde229246173d SHA512 2df81763fbd2314fffe392b35e61f55451063d440a9aa8a62e36977faa49b808d2c0db9bed71c1d73696e53797d8f8f689942e9dd4636a4b6aec3e8f1f16297c |
40 |
-DIST awscli-1.22.33.tar.gz 2146397 BLAKE2B d78f92b077141d7204b2e3c7b2eda589e4430f633c469eefa10f59e2b801d67fc833dcffd55efed379136ea050dfe03f72ef3061e1e3e98a372e61d44f0879cd SHA512 a3474eace16aa90017d985d6f9fc4d927ed27e727bb2e4bbfeda48f0be7d63c9d3648e95904252739a2a94a5d5822c855e2b6b840dad3b6c88da273ec92c9bb7 |
41 |
-DIST awscli-1.22.34.tar.gz 2146588 BLAKE2B 794fc2b579126e9c37eaca6aeb8f750cf91769e05ef7222b579e286ef6248d05d49e372abb5af63e1827f804127bfbd78cfe767b715a7f907e26e9c0af6f08a2 SHA512 5fc5f4f929fb64b494422db794cbd4dd2e8adf3d0a3436bc2368a2e9d036bac42e29beab13ee5f00c46b97bc875dbb3f1a7af684006a9dd96be7fcc61ff282fc |
42 |
-DIST awscli-1.22.35.tar.gz 2147435 BLAKE2B 24fdb6d273dfeddeb7ef8adb15fad843a25edae0cc6dfd37465c294421de6cda0c0c0d49c931f5c2b28ac337d44c3be63f6fd15e7ce84ed493baa0a5c5aa8cc7 SHA512 64f297981987f8f6ab75c43f645624f1794b411f82885e3784c3dd55da0e0ed98ab6395edea7319cbc2c7a320451a6722bd558431a3acb1b7aaf94c2521b4c2d |
43 |
DIST awscli-1.22.37.tar.gz 2148283 BLAKE2B 0355bac3b0710af5ce6938a59c1e93115fb109f5aa6b05fe7bd2b5341a11c9e4bf35b826addaa1a7f8e404fd58c15cd2056802c192abe6d5acfc4ff4facd42fc SHA512 3cb1acead139329774565a5aed818eb2bc1e444627d6448c1c31eb431a6aae1e07af273c8b24a1910522764d5898946629197606e0b2762fb89d1bc163641d73 |
44 |
-DIST awscli-1.22.38.tar.gz 2148993 BLAKE2B 5adeb94f6edcb679a00dbae8708893a50c302ef7eec049573b478103dbe50194f62bf3486e2d1e2c0d5b09ba0f08b7d988e5c2c2c70056394751beae944213e2 SHA512 4aa071bd692fbdceb6e06dcf99d7306dd26971d993a487a6ce908864411c06e01085b8ea1a8acea1bc1994dafa1bcb72f92bb43863e2b584a16b17209057c06f |
45 |
-DIST awscli-1.22.39.tar.gz 2149309 BLAKE2B 9c9c65aba965f4f44c4b76a707727163695a8b713ac9dbd215d46a2f8ea173205e1444442f2d221754e280c15b7bcdecf17e52e16074681b5803895f9a5571d7 SHA512 eadf59b201edc2e82ab5c7c03b14f57aeec892a2e76c1e718f77b40d43a945cb4ab6169630b942f11663032a96637461a8f7946f27c55fe225802372d7853f48 |
46 |
DIST awscli-1.22.40.tar.gz 2150034 BLAKE2B a03c28f05d80102fc76bafe1d535e2c8907e063c1066e4b5badb006620608c2e174851a673c77a6c0571aba39f9e29036f7d28fd1c4804e950964c08624b9b72 SHA512 3a0097296c22222daa9288972435bb0ed4b410b4f463a49cc67ff4dbb1de29b3a8b638ec337b5746a751605500ef424d5261f1da9d361cd38a4442857a3da78c |
47 |
-DIST awscli-1.22.5.tar.gz 2111679 BLAKE2B 970e472e8de43664d060023fdab9f54ce848c5655d8aa417efeae1b1efb52989fd021817521db9dc9cd64580cabbf0c30f3d0178034bdb1edf41feebbc690f46 SHA512 9177fe9da0fb8e9e28777bbf8f2c3fe089a08851b57a49fecefab43417fff187584638d17394289bf6df3d18d9052fd958bd3fbc8064327120af04a0cbe30494 |
48 |
|
49 |
diff --git a/app-admin/awscli/awscli-1.22.14.ebuild b/app-admin/awscli/awscli-1.22.14.ebuild |
50 |
deleted file mode 100644 |
51 |
index d4b09dbaa2ec..000000000000 |
52 |
--- a/app-admin/awscli/awscli-1.22.14.ebuild |
53 |
+++ /dev/null |
54 |
@@ -1,56 +0,0 @@ |
55 |
-# Copyright 1999-2021 Gentoo Authors |
56 |
-# Distributed under the terms of the GNU General Public License v2 |
57 |
- |
58 |
-EAPI=8 |
59 |
- |
60 |
-PYTHON_COMPAT=( python3_{8..10} ) |
61 |
-inherit bash-completion-r1 distutils-r1 |
62 |
- |
63 |
-DESCRIPTION="Universal Command Line Environment for AWS" |
64 |
-HOMEPAGE="https://pypi.org/project/awscli/" |
65 |
-#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
66 |
-SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
67 |
-S="${WORKDIR}/aws-cli-${PV}" |
68 |
- |
69 |
-LICENSE="Apache-2.0" |
70 |
-SLOT="0" |
71 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
72 |
- |
73 |
-# botocore is x.(y+1).z |
74 |
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)" |
75 |
-RDEPEND=" |
76 |
- >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
77 |
- dev-python/colorama[${PYTHON_USEDEP}] |
78 |
- dev-python/docutils[${PYTHON_USEDEP}] |
79 |
- dev-python/rsa[${PYTHON_USEDEP}] |
80 |
- >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
81 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
82 |
-" |
83 |
- |
84 |
-distutils_enable_tests --install pytest |
85 |
- |
86 |
-src_prepare() { |
87 |
- # do not rely on bundled deps in botocore (sic!) |
88 |
- find -name '*.py' -exec sed -i \ |
89 |
- -e 's:from botocore[.]vendored import:import:' \ |
90 |
- -e 's:from botocore[.]vendored[.]:from :' \ |
91 |
- {} + || die |
92 |
- distutils-r1_src_prepare |
93 |
-} |
94 |
- |
95 |
-python_test() { |
96 |
- distutils_install_for_testing |
97 |
- # integration tests require AWS credentials and Internet access |
98 |
- epytest tests/{functional,unit} |
99 |
-} |
100 |
- |
101 |
-python_install_all() { |
102 |
- newbashcomp bin/aws_bash_completer aws |
103 |
- |
104 |
- insinto /usr/share/zsh/site-functions |
105 |
- newins bin/aws_zsh_completer.sh _aws |
106 |
- |
107 |
- distutils-r1_python_install_all |
108 |
- |
109 |
- rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
110 |
-} |
111 |
|
112 |
diff --git a/app-admin/awscli/awscli-1.22.24.ebuild b/app-admin/awscli/awscli-1.22.24.ebuild |
113 |
deleted file mode 100644 |
114 |
index 85073515ab9a..000000000000 |
115 |
--- a/app-admin/awscli/awscli-1.22.24.ebuild |
116 |
+++ /dev/null |
117 |
@@ -1,58 +0,0 @@ |
118 |
-# Copyright 1999-2021 Gentoo Authors |
119 |
-# Distributed under the terms of the GNU General Public License v2 |
120 |
- |
121 |
-EAPI=8 |
122 |
- |
123 |
-PYTHON_COMPAT=( python3_{8..10} ) |
124 |
-inherit bash-completion-r1 distutils-r1 |
125 |
- |
126 |
-DESCRIPTION="Universal Command Line Environment for AWS" |
127 |
-HOMEPAGE="https://pypi.org/project/awscli/" |
128 |
-#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
129 |
-SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
130 |
-S="${WORKDIR}/aws-cli-${PV}" |
131 |
- |
132 |
-LICENSE="Apache-2.0" |
133 |
-SLOT="0" |
134 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
135 |
- |
136 |
-# botocore is x.(y+1).z |
137 |
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)" |
138 |
-RDEPEND=" |
139 |
- >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
140 |
- dev-python/colorama[${PYTHON_USEDEP}] |
141 |
- dev-python/docutils[${PYTHON_USEDEP}] |
142 |
- dev-python/rsa[${PYTHON_USEDEP}] |
143 |
- >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
144 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
145 |
-" |
146 |
- |
147 |
-distutils_enable_tests --install pytest |
148 |
- |
149 |
-src_prepare() { |
150 |
- # do not rely on bundled deps in botocore (sic!) |
151 |
- find -name '*.py' -exec sed -i \ |
152 |
- -e 's:from botocore[.]vendored import:import:' \ |
153 |
- -e 's:from botocore[.]vendored[.]:from :' \ |
154 |
- {} + || die |
155 |
- # strip overzealous upper bounds on requirements |
156 |
- sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die |
157 |
- distutils-r1_src_prepare |
158 |
-} |
159 |
- |
160 |
-python_test() { |
161 |
- distutils_install_for_testing |
162 |
- # integration tests require AWS credentials and Internet access |
163 |
- epytest tests/{functional,unit} |
164 |
-} |
165 |
- |
166 |
-python_install_all() { |
167 |
- newbashcomp bin/aws_bash_completer aws |
168 |
- |
169 |
- insinto /usr/share/zsh/site-functions |
170 |
- newins bin/aws_zsh_completer.sh _aws |
171 |
- |
172 |
- distutils-r1_python_install_all |
173 |
- |
174 |
- rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
175 |
-} |
176 |
|
177 |
diff --git a/app-admin/awscli/awscli-1.22.25.ebuild b/app-admin/awscli/awscli-1.22.25.ebuild |
178 |
deleted file mode 100644 |
179 |
index 85073515ab9a..000000000000 |
180 |
--- a/app-admin/awscli/awscli-1.22.25.ebuild |
181 |
+++ /dev/null |
182 |
@@ -1,58 +0,0 @@ |
183 |
-# Copyright 1999-2021 Gentoo Authors |
184 |
-# Distributed under the terms of the GNU General Public License v2 |
185 |
- |
186 |
-EAPI=8 |
187 |
- |
188 |
-PYTHON_COMPAT=( python3_{8..10} ) |
189 |
-inherit bash-completion-r1 distutils-r1 |
190 |
- |
191 |
-DESCRIPTION="Universal Command Line Environment for AWS" |
192 |
-HOMEPAGE="https://pypi.org/project/awscli/" |
193 |
-#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
194 |
-SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
195 |
-S="${WORKDIR}/aws-cli-${PV}" |
196 |
- |
197 |
-LICENSE="Apache-2.0" |
198 |
-SLOT="0" |
199 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
200 |
- |
201 |
-# botocore is x.(y+1).z |
202 |
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)" |
203 |
-RDEPEND=" |
204 |
- >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
205 |
- dev-python/colorama[${PYTHON_USEDEP}] |
206 |
- dev-python/docutils[${PYTHON_USEDEP}] |
207 |
- dev-python/rsa[${PYTHON_USEDEP}] |
208 |
- >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
209 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
210 |
-" |
211 |
- |
212 |
-distutils_enable_tests --install pytest |
213 |
- |
214 |
-src_prepare() { |
215 |
- # do not rely on bundled deps in botocore (sic!) |
216 |
- find -name '*.py' -exec sed -i \ |
217 |
- -e 's:from botocore[.]vendored import:import:' \ |
218 |
- -e 's:from botocore[.]vendored[.]:from :' \ |
219 |
- {} + || die |
220 |
- # strip overzealous upper bounds on requirements |
221 |
- sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die |
222 |
- distutils-r1_src_prepare |
223 |
-} |
224 |
- |
225 |
-python_test() { |
226 |
- distutils_install_for_testing |
227 |
- # integration tests require AWS credentials and Internet access |
228 |
- epytest tests/{functional,unit} |
229 |
-} |
230 |
- |
231 |
-python_install_all() { |
232 |
- newbashcomp bin/aws_bash_completer aws |
233 |
- |
234 |
- insinto /usr/share/zsh/site-functions |
235 |
- newins bin/aws_zsh_completer.sh _aws |
236 |
- |
237 |
- distutils-r1_python_install_all |
238 |
- |
239 |
- rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
240 |
-} |
241 |
|
242 |
diff --git a/app-admin/awscli/awscli-1.22.26.ebuild b/app-admin/awscli/awscli-1.22.26.ebuild |
243 |
deleted file mode 100644 |
244 |
index 85073515ab9a..000000000000 |
245 |
--- a/app-admin/awscli/awscli-1.22.26.ebuild |
246 |
+++ /dev/null |
247 |
@@ -1,58 +0,0 @@ |
248 |
-# Copyright 1999-2021 Gentoo Authors |
249 |
-# Distributed under the terms of the GNU General Public License v2 |
250 |
- |
251 |
-EAPI=8 |
252 |
- |
253 |
-PYTHON_COMPAT=( python3_{8..10} ) |
254 |
-inherit bash-completion-r1 distutils-r1 |
255 |
- |
256 |
-DESCRIPTION="Universal Command Line Environment for AWS" |
257 |
-HOMEPAGE="https://pypi.org/project/awscli/" |
258 |
-#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
259 |
-SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
260 |
-S="${WORKDIR}/aws-cli-${PV}" |
261 |
- |
262 |
-LICENSE="Apache-2.0" |
263 |
-SLOT="0" |
264 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
265 |
- |
266 |
-# botocore is x.(y+1).z |
267 |
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)" |
268 |
-RDEPEND=" |
269 |
- >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
270 |
- dev-python/colorama[${PYTHON_USEDEP}] |
271 |
- dev-python/docutils[${PYTHON_USEDEP}] |
272 |
- dev-python/rsa[${PYTHON_USEDEP}] |
273 |
- >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
274 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
275 |
-" |
276 |
- |
277 |
-distutils_enable_tests --install pytest |
278 |
- |
279 |
-src_prepare() { |
280 |
- # do not rely on bundled deps in botocore (sic!) |
281 |
- find -name '*.py' -exec sed -i \ |
282 |
- -e 's:from botocore[.]vendored import:import:' \ |
283 |
- -e 's:from botocore[.]vendored[.]:from :' \ |
284 |
- {} + || die |
285 |
- # strip overzealous upper bounds on requirements |
286 |
- sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die |
287 |
- distutils-r1_src_prepare |
288 |
-} |
289 |
- |
290 |
-python_test() { |
291 |
- distutils_install_for_testing |
292 |
- # integration tests require AWS credentials and Internet access |
293 |
- epytest tests/{functional,unit} |
294 |
-} |
295 |
- |
296 |
-python_install_all() { |
297 |
- newbashcomp bin/aws_bash_completer aws |
298 |
- |
299 |
- insinto /usr/share/zsh/site-functions |
300 |
- newins bin/aws_zsh_completer.sh _aws |
301 |
- |
302 |
- distutils-r1_python_install_all |
303 |
- |
304 |
- rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
305 |
-} |
306 |
|
307 |
diff --git a/app-admin/awscli/awscli-1.22.29.ebuild b/app-admin/awscli/awscli-1.22.29.ebuild |
308 |
deleted file mode 100644 |
309 |
index 5327b8227ea2..000000000000 |
310 |
--- a/app-admin/awscli/awscli-1.22.29.ebuild |
311 |
+++ /dev/null |
312 |
@@ -1,58 +0,0 @@ |
313 |
-# Copyright 1999-2022 Gentoo Authors |
314 |
-# Distributed under the terms of the GNU General Public License v2 |
315 |
- |
316 |
-EAPI=8 |
317 |
- |
318 |
-PYTHON_COMPAT=( python3_{8..10} ) |
319 |
-inherit bash-completion-r1 distutils-r1 |
320 |
- |
321 |
-DESCRIPTION="Universal Command Line Environment for AWS" |
322 |
-HOMEPAGE="https://pypi.org/project/awscli/" |
323 |
-#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
324 |
-SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
325 |
-S="${WORKDIR}/aws-cli-${PV}" |
326 |
- |
327 |
-LICENSE="Apache-2.0" |
328 |
-SLOT="0" |
329 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
330 |
- |
331 |
-# botocore is x.(y+1).z |
332 |
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)" |
333 |
-RDEPEND=" |
334 |
- >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
335 |
- dev-python/colorama[${PYTHON_USEDEP}] |
336 |
- dev-python/docutils[${PYTHON_USEDEP}] |
337 |
- dev-python/rsa[${PYTHON_USEDEP}] |
338 |
- >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
339 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
340 |
-" |
341 |
- |
342 |
-distutils_enable_tests --install pytest |
343 |
- |
344 |
-src_prepare() { |
345 |
- # do not rely on bundled deps in botocore (sic!) |
346 |
- find -name '*.py' -exec sed -i \ |
347 |
- -e 's:from botocore[.]vendored import:import:' \ |
348 |
- -e 's:from botocore[.]vendored[.]:from :' \ |
349 |
- {} + || die |
350 |
- # strip overzealous upper bounds on requirements |
351 |
- sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die |
352 |
- distutils-r1_src_prepare |
353 |
-} |
354 |
- |
355 |
-python_test() { |
356 |
- distutils_install_for_testing |
357 |
- # integration tests require AWS credentials and Internet access |
358 |
- epytest tests/{functional,unit} |
359 |
-} |
360 |
- |
361 |
-python_install_all() { |
362 |
- newbashcomp bin/aws_bash_completer aws |
363 |
- |
364 |
- insinto /usr/share/zsh/site-functions |
365 |
- newins bin/aws_zsh_completer.sh _aws |
366 |
- |
367 |
- distutils-r1_python_install_all |
368 |
- |
369 |
- rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
370 |
-} |
371 |
|
372 |
diff --git a/app-admin/awscli/awscli-1.22.32.ebuild b/app-admin/awscli/awscli-1.22.32.ebuild |
373 |
deleted file mode 100644 |
374 |
index 5327b8227ea2..000000000000 |
375 |
--- a/app-admin/awscli/awscli-1.22.32.ebuild |
376 |
+++ /dev/null |
377 |
@@ -1,58 +0,0 @@ |
378 |
-# Copyright 1999-2022 Gentoo Authors |
379 |
-# Distributed under the terms of the GNU General Public License v2 |
380 |
- |
381 |
-EAPI=8 |
382 |
- |
383 |
-PYTHON_COMPAT=( python3_{8..10} ) |
384 |
-inherit bash-completion-r1 distutils-r1 |
385 |
- |
386 |
-DESCRIPTION="Universal Command Line Environment for AWS" |
387 |
-HOMEPAGE="https://pypi.org/project/awscli/" |
388 |
-#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
389 |
-SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
390 |
-S="${WORKDIR}/aws-cli-${PV}" |
391 |
- |
392 |
-LICENSE="Apache-2.0" |
393 |
-SLOT="0" |
394 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
395 |
- |
396 |
-# botocore is x.(y+1).z |
397 |
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)" |
398 |
-RDEPEND=" |
399 |
- >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
400 |
- dev-python/colorama[${PYTHON_USEDEP}] |
401 |
- dev-python/docutils[${PYTHON_USEDEP}] |
402 |
- dev-python/rsa[${PYTHON_USEDEP}] |
403 |
- >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
404 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
405 |
-" |
406 |
- |
407 |
-distutils_enable_tests --install pytest |
408 |
- |
409 |
-src_prepare() { |
410 |
- # do not rely on bundled deps in botocore (sic!) |
411 |
- find -name '*.py' -exec sed -i \ |
412 |
- -e 's:from botocore[.]vendored import:import:' \ |
413 |
- -e 's:from botocore[.]vendored[.]:from :' \ |
414 |
- {} + || die |
415 |
- # strip overzealous upper bounds on requirements |
416 |
- sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die |
417 |
- distutils-r1_src_prepare |
418 |
-} |
419 |
- |
420 |
-python_test() { |
421 |
- distutils_install_for_testing |
422 |
- # integration tests require AWS credentials and Internet access |
423 |
- epytest tests/{functional,unit} |
424 |
-} |
425 |
- |
426 |
-python_install_all() { |
427 |
- newbashcomp bin/aws_bash_completer aws |
428 |
- |
429 |
- insinto /usr/share/zsh/site-functions |
430 |
- newins bin/aws_zsh_completer.sh _aws |
431 |
- |
432 |
- distutils-r1_python_install_all |
433 |
- |
434 |
- rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
435 |
-} |
436 |
|
437 |
diff --git a/app-admin/awscli/awscli-1.22.33.ebuild b/app-admin/awscli/awscli-1.22.33.ebuild |
438 |
deleted file mode 100644 |
439 |
index 5327b8227ea2..000000000000 |
440 |
--- a/app-admin/awscli/awscli-1.22.33.ebuild |
441 |
+++ /dev/null |
442 |
@@ -1,58 +0,0 @@ |
443 |
-# Copyright 1999-2022 Gentoo Authors |
444 |
-# Distributed under the terms of the GNU General Public License v2 |
445 |
- |
446 |
-EAPI=8 |
447 |
- |
448 |
-PYTHON_COMPAT=( python3_{8..10} ) |
449 |
-inherit bash-completion-r1 distutils-r1 |
450 |
- |
451 |
-DESCRIPTION="Universal Command Line Environment for AWS" |
452 |
-HOMEPAGE="https://pypi.org/project/awscli/" |
453 |
-#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
454 |
-SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
455 |
-S="${WORKDIR}/aws-cli-${PV}" |
456 |
- |
457 |
-LICENSE="Apache-2.0" |
458 |
-SLOT="0" |
459 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
460 |
- |
461 |
-# botocore is x.(y+1).z |
462 |
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)" |
463 |
-RDEPEND=" |
464 |
- >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
465 |
- dev-python/colorama[${PYTHON_USEDEP}] |
466 |
- dev-python/docutils[${PYTHON_USEDEP}] |
467 |
- dev-python/rsa[${PYTHON_USEDEP}] |
468 |
- >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
469 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
470 |
-" |
471 |
- |
472 |
-distutils_enable_tests --install pytest |
473 |
- |
474 |
-src_prepare() { |
475 |
- # do not rely on bundled deps in botocore (sic!) |
476 |
- find -name '*.py' -exec sed -i \ |
477 |
- -e 's:from botocore[.]vendored import:import:' \ |
478 |
- -e 's:from botocore[.]vendored[.]:from :' \ |
479 |
- {} + || die |
480 |
- # strip overzealous upper bounds on requirements |
481 |
- sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die |
482 |
- distutils-r1_src_prepare |
483 |
-} |
484 |
- |
485 |
-python_test() { |
486 |
- distutils_install_for_testing |
487 |
- # integration tests require AWS credentials and Internet access |
488 |
- epytest tests/{functional,unit} |
489 |
-} |
490 |
- |
491 |
-python_install_all() { |
492 |
- newbashcomp bin/aws_bash_completer aws |
493 |
- |
494 |
- insinto /usr/share/zsh/site-functions |
495 |
- newins bin/aws_zsh_completer.sh _aws |
496 |
- |
497 |
- distutils-r1_python_install_all |
498 |
- |
499 |
- rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
500 |
-} |
501 |
|
502 |
diff --git a/app-admin/awscli/awscli-1.22.34.ebuild b/app-admin/awscli/awscli-1.22.34.ebuild |
503 |
deleted file mode 100644 |
504 |
index 5327b8227ea2..000000000000 |
505 |
--- a/app-admin/awscli/awscli-1.22.34.ebuild |
506 |
+++ /dev/null |
507 |
@@ -1,58 +0,0 @@ |
508 |
-# Copyright 1999-2022 Gentoo Authors |
509 |
-# Distributed under the terms of the GNU General Public License v2 |
510 |
- |
511 |
-EAPI=8 |
512 |
- |
513 |
-PYTHON_COMPAT=( python3_{8..10} ) |
514 |
-inherit bash-completion-r1 distutils-r1 |
515 |
- |
516 |
-DESCRIPTION="Universal Command Line Environment for AWS" |
517 |
-HOMEPAGE="https://pypi.org/project/awscli/" |
518 |
-#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
519 |
-SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
520 |
-S="${WORKDIR}/aws-cli-${PV}" |
521 |
- |
522 |
-LICENSE="Apache-2.0" |
523 |
-SLOT="0" |
524 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
525 |
- |
526 |
-# botocore is x.(y+1).z |
527 |
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)" |
528 |
-RDEPEND=" |
529 |
- >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
530 |
- dev-python/colorama[${PYTHON_USEDEP}] |
531 |
- dev-python/docutils[${PYTHON_USEDEP}] |
532 |
- dev-python/rsa[${PYTHON_USEDEP}] |
533 |
- >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
534 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
535 |
-" |
536 |
- |
537 |
-distutils_enable_tests --install pytest |
538 |
- |
539 |
-src_prepare() { |
540 |
- # do not rely on bundled deps in botocore (sic!) |
541 |
- find -name '*.py' -exec sed -i \ |
542 |
- -e 's:from botocore[.]vendored import:import:' \ |
543 |
- -e 's:from botocore[.]vendored[.]:from :' \ |
544 |
- {} + || die |
545 |
- # strip overzealous upper bounds on requirements |
546 |
- sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die |
547 |
- distutils-r1_src_prepare |
548 |
-} |
549 |
- |
550 |
-python_test() { |
551 |
- distutils_install_for_testing |
552 |
- # integration tests require AWS credentials and Internet access |
553 |
- epytest tests/{functional,unit} |
554 |
-} |
555 |
- |
556 |
-python_install_all() { |
557 |
- newbashcomp bin/aws_bash_completer aws |
558 |
- |
559 |
- insinto /usr/share/zsh/site-functions |
560 |
- newins bin/aws_zsh_completer.sh _aws |
561 |
- |
562 |
- distutils-r1_python_install_all |
563 |
- |
564 |
- rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
565 |
-} |
566 |
|
567 |
diff --git a/app-admin/awscli/awscli-1.22.35.ebuild b/app-admin/awscli/awscli-1.22.35.ebuild |
568 |
deleted file mode 100644 |
569 |
index 5327b8227ea2..000000000000 |
570 |
--- a/app-admin/awscli/awscli-1.22.35.ebuild |
571 |
+++ /dev/null |
572 |
@@ -1,58 +0,0 @@ |
573 |
-# Copyright 1999-2022 Gentoo Authors |
574 |
-# Distributed under the terms of the GNU General Public License v2 |
575 |
- |
576 |
-EAPI=8 |
577 |
- |
578 |
-PYTHON_COMPAT=( python3_{8..10} ) |
579 |
-inherit bash-completion-r1 distutils-r1 |
580 |
- |
581 |
-DESCRIPTION="Universal Command Line Environment for AWS" |
582 |
-HOMEPAGE="https://pypi.org/project/awscli/" |
583 |
-#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
584 |
-SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
585 |
-S="${WORKDIR}/aws-cli-${PV}" |
586 |
- |
587 |
-LICENSE="Apache-2.0" |
588 |
-SLOT="0" |
589 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
590 |
- |
591 |
-# botocore is x.(y+1).z |
592 |
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)" |
593 |
-RDEPEND=" |
594 |
- >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
595 |
- dev-python/colorama[${PYTHON_USEDEP}] |
596 |
- dev-python/docutils[${PYTHON_USEDEP}] |
597 |
- dev-python/rsa[${PYTHON_USEDEP}] |
598 |
- >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
599 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
600 |
-" |
601 |
- |
602 |
-distutils_enable_tests --install 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 |
- distutils_install_for_testing |
617 |
- # integration tests require AWS credentials and Internet access |
618 |
- epytest tests/{functional,unit} |
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.38.ebuild b/app-admin/awscli/awscli-1.22.38.ebuild |
633 |
deleted file mode 100644 |
634 |
index 1f3430af8a9f..000000000000 |
635 |
--- a/app-admin/awscli/awscli-1.22.38.ebuild |
636 |
+++ /dev/null |
637 |
@@ -1,58 +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 |
-inherit bash-completion-r1 distutils-r1 |
646 |
- |
647 |
-DESCRIPTION="Universal Command Line Environment for AWS" |
648 |
-HOMEPAGE="https://pypi.org/project/awscli/" |
649 |
-#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
650 |
-SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
651 |
-S="${WORKDIR}/aws-cli-${PV}" |
652 |
- |
653 |
-LICENSE="Apache-2.0" |
654 |
-SLOT="0" |
655 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
656 |
- |
657 |
-# botocore is x.(y+1).z |
658 |
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)" |
659 |
-RDEPEND=" |
660 |
- >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
661 |
- dev-python/colorama[${PYTHON_USEDEP}] |
662 |
- dev-python/docutils[${PYTHON_USEDEP}] |
663 |
- dev-python/rsa[${PYTHON_USEDEP}] |
664 |
- >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
665 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
666 |
-" |
667 |
- |
668 |
-distutils_enable_tests pytest |
669 |
- |
670 |
-src_prepare() { |
671 |
- # do not rely on bundled deps in botocore (sic!) |
672 |
- find -name '*.py' -exec sed -i \ |
673 |
- -e 's:from botocore[.]vendored import:import:' \ |
674 |
- -e 's:from botocore[.]vendored[.]:from :' \ |
675 |
- {} + || die |
676 |
- # strip overzealous upper bounds on requirements |
677 |
- sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die |
678 |
- distutils-r1_src_prepare |
679 |
-} |
680 |
- |
681 |
-python_test() { |
682 |
- # integration tests require AWS credentials and Internet access |
683 |
- epytest tests/{functional,unit} |
684 |
-} |
685 |
- |
686 |
-python_install_all() { |
687 |
- newbashcomp bin/aws_bash_completer aws |
688 |
- |
689 |
- insinto /usr/share/zsh/site-functions |
690 |
- newins bin/aws_zsh_completer.sh _aws |
691 |
- |
692 |
- distutils-r1_python_install_all |
693 |
- |
694 |
- rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
695 |
-} |
696 |
|
697 |
diff --git a/app-admin/awscli/awscli-1.22.39.ebuild b/app-admin/awscli/awscli-1.22.39.ebuild |
698 |
deleted file mode 100644 |
699 |
index 1f3430af8a9f..000000000000 |
700 |
--- a/app-admin/awscli/awscli-1.22.39.ebuild |
701 |
+++ /dev/null |
702 |
@@ -1,58 +0,0 @@ |
703 |
-# Copyright 1999-2022 Gentoo Authors |
704 |
-# Distributed under the terms of the GNU General Public License v2 |
705 |
- |
706 |
-EAPI=8 |
707 |
- |
708 |
-DISTUTILS_USE_PEP517=setuptools |
709 |
-PYTHON_COMPAT=( python3_{8..10} ) |
710 |
-inherit bash-completion-r1 distutils-r1 |
711 |
- |
712 |
-DESCRIPTION="Universal Command Line Environment for AWS" |
713 |
-HOMEPAGE="https://pypi.org/project/awscli/" |
714 |
-#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
715 |
-SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
716 |
-S="${WORKDIR}/aws-cli-${PV}" |
717 |
- |
718 |
-LICENSE="Apache-2.0" |
719 |
-SLOT="0" |
720 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
721 |
- |
722 |
-# botocore is x.(y+1).z |
723 |
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)" |
724 |
-RDEPEND=" |
725 |
- >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
726 |
- dev-python/colorama[${PYTHON_USEDEP}] |
727 |
- dev-python/docutils[${PYTHON_USEDEP}] |
728 |
- dev-python/rsa[${PYTHON_USEDEP}] |
729 |
- >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
730 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
731 |
-" |
732 |
- |
733 |
-distutils_enable_tests pytest |
734 |
- |
735 |
-src_prepare() { |
736 |
- # do not rely on bundled deps in botocore (sic!) |
737 |
- find -name '*.py' -exec sed -i \ |
738 |
- -e 's:from botocore[.]vendored import:import:' \ |
739 |
- -e 's:from botocore[.]vendored[.]:from :' \ |
740 |
- {} + || die |
741 |
- # strip overzealous upper bounds on requirements |
742 |
- sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die |
743 |
- distutils-r1_src_prepare |
744 |
-} |
745 |
- |
746 |
-python_test() { |
747 |
- # integration tests require AWS credentials and Internet access |
748 |
- epytest tests/{functional,unit} |
749 |
-} |
750 |
- |
751 |
-python_install_all() { |
752 |
- newbashcomp bin/aws_bash_completer aws |
753 |
- |
754 |
- insinto /usr/share/zsh/site-functions |
755 |
- newins bin/aws_zsh_completer.sh _aws |
756 |
- |
757 |
- distutils-r1_python_install_all |
758 |
- |
759 |
- rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
760 |
-} |
761 |
|
762 |
diff --git a/app-admin/awscli/awscli-1.22.5.ebuild b/app-admin/awscli/awscli-1.22.5.ebuild |
763 |
deleted file mode 100644 |
764 |
index 4e4639900e37..000000000000 |
765 |
--- a/app-admin/awscli/awscli-1.22.5.ebuild |
766 |
+++ /dev/null |
767 |
@@ -1,56 +0,0 @@ |
768 |
-# Copyright 1999-2021 Gentoo Authors |
769 |
-# Distributed under the terms of the GNU General Public License v2 |
770 |
- |
771 |
-EAPI=8 |
772 |
- |
773 |
-PYTHON_COMPAT=( python3_{8..10} ) |
774 |
-inherit bash-completion-r1 distutils-r1 |
775 |
- |
776 |
-DESCRIPTION="Universal Command Line Environment for AWS" |
777 |
-HOMEPAGE="https://pypi.org/project/awscli/" |
778 |
-#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
779 |
-SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
780 |
-S="${WORKDIR}/aws-cli-${PV}" |
781 |
- |
782 |
-LICENSE="Apache-2.0" |
783 |
-SLOT="0" |
784 |
-KEYWORDS="amd64 ~arm64 x86" |
785 |
- |
786 |
-# botocore is x.(y+1).z |
787 |
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)" |
788 |
-RDEPEND=" |
789 |
- >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
790 |
- dev-python/colorama[${PYTHON_USEDEP}] |
791 |
- dev-python/docutils[${PYTHON_USEDEP}] |
792 |
- dev-python/rsa[${PYTHON_USEDEP}] |
793 |
- >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
794 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
795 |
-" |
796 |
- |
797 |
-distutils_enable_tests --install pytest |
798 |
- |
799 |
-src_prepare() { |
800 |
- # do not rely on bundled deps in botocore (sic!) |
801 |
- find -name '*.py' -exec sed -i \ |
802 |
- -e 's:from botocore[.]vendored import:import:' \ |
803 |
- -e 's:from botocore[.]vendored[.]:from :' \ |
804 |
- {} + || die |
805 |
- distutils-r1_src_prepare |
806 |
-} |
807 |
- |
808 |
-python_test() { |
809 |
- distutils_install_for_testing |
810 |
- # integration tests require AWS credentials and Internet access |
811 |
- epytest tests/{functional,unit} |
812 |
-} |
813 |
- |
814 |
-python_install_all() { |
815 |
- newbashcomp bin/aws_bash_completer aws |
816 |
- |
817 |
- insinto /usr/share/zsh/site-functions |
818 |
- newins bin/aws_zsh_completer.sh _aws |
819 |
- |
820 |
- distutils-r1_python_install_all |
821 |
- |
822 |
- rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
823 |
-} |