1 |
commit: 0f10bf68c044ba9dbc7e45cc6634346d04ee4a1f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 14 06:47:30 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 14 08:08:00 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f10bf68 |
7 |
|
8 |
app-admin/awscli: Bump to 1.22.35 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
app-admin/awscli/Manifest | 1 + |
13 |
app-admin/awscli/awscli-1.22.35.ebuild | 58 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest |
17 |
index cf9eae40cbde..963ab4de3217 100644 |
18 |
--- a/app-admin/awscli/Manifest |
19 |
+++ b/app-admin/awscli/Manifest |
20 |
@@ -8,4 +8,5 @@ DIST awscli-1.22.31.tar.gz 2134102 BLAKE2B e1918352146b3176c8fc60cc6338a69b04a28 |
21 |
DIST awscli-1.22.32.tar.gz 2135177 BLAKE2B 1e99a887e3b90c8fa81547677b4827f50afdad26136a02f225c66702f2f705ee140616cb3ebf407fc4c9bfd242df5cdefe35cf582c565ce1715fde229246173d SHA512 2df81763fbd2314fffe392b35e61f55451063d440a9aa8a62e36977faa49b808d2c0db9bed71c1d73696e53797d8f8f689942e9dd4636a4b6aec3e8f1f16297c |
22 |
DIST awscli-1.22.33.tar.gz 2146397 BLAKE2B d78f92b077141d7204b2e3c7b2eda589e4430f633c469eefa10f59e2b801d67fc833dcffd55efed379136ea050dfe03f72ef3061e1e3e98a372e61d44f0879cd SHA512 a3474eace16aa90017d985d6f9fc4d927ed27e727bb2e4bbfeda48f0be7d63c9d3648e95904252739a2a94a5d5822c855e2b6b840dad3b6c88da273ec92c9bb7 |
23 |
DIST awscli-1.22.34.tar.gz 2146588 BLAKE2B 794fc2b579126e9c37eaca6aeb8f750cf91769e05ef7222b579e286ef6248d05d49e372abb5af63e1827f804127bfbd78cfe767b715a7f907e26e9c0af6f08a2 SHA512 5fc5f4f929fb64b494422db794cbd4dd2e8adf3d0a3436bc2368a2e9d036bac42e29beab13ee5f00c46b97bc875dbb3f1a7af684006a9dd96be7fcc61ff282fc |
24 |
+DIST awscli-1.22.35.tar.gz 2147435 BLAKE2B 24fdb6d273dfeddeb7ef8adb15fad843a25edae0cc6dfd37465c294421de6cda0c0c0d49c931f5c2b28ac337d44c3be63f6fd15e7ce84ed493baa0a5c5aa8cc7 SHA512 64f297981987f8f6ab75c43f645624f1794b411f82885e3784c3dd55da0e0ed98ab6395edea7319cbc2c7a320451a6722bd558431a3acb1b7aaf94c2521b4c2d |
25 |
DIST awscli-1.22.5.tar.gz 2111679 BLAKE2B 970e472e8de43664d060023fdab9f54ce848c5655d8aa417efeae1b1efb52989fd021817521db9dc9cd64580cabbf0c30f3d0178034bdb1edf41feebbc690f46 SHA512 9177fe9da0fb8e9e28777bbf8f2c3fe089a08851b57a49fecefab43417fff187584638d17394289bf6df3d18d9052fd958bd3fbc8064327120af04a0cbe30494 |
26 |
|
27 |
diff --git a/app-admin/awscli/awscli-1.22.35.ebuild b/app-admin/awscli/awscli-1.22.35.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..5327b8227ea2 |
30 |
--- /dev/null |
31 |
+++ b/app-admin/awscli/awscli-1.22.35.ebuild |
32 |
@@ -0,0 +1,58 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+inherit bash-completion-r1 distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Universal Command Line Environment for AWS" |
42 |
+HOMEPAGE="https://pypi.org/project/awscli/" |
43 |
+#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
44 |
+SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+S="${WORKDIR}/aws-cli-${PV}" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
50 |
+ |
51 |
+# botocore is x.(y+1).z |
52 |
+BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)" |
53 |
+RDEPEND=" |
54 |
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
55 |
+ dev-python/colorama[${PYTHON_USEDEP}] |
56 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
57 |
+ dev-python/rsa[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
59 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
60 |
+" |
61 |
+ |
62 |
+distutils_enable_tests --install pytest |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ # do not rely on bundled deps in botocore (sic!) |
66 |
+ find -name '*.py' -exec sed -i \ |
67 |
+ -e 's:from botocore[.]vendored import:import:' \ |
68 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
69 |
+ {} + || die |
70 |
+ # strip overzealous upper bounds on requirements |
71 |
+ sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die |
72 |
+ distutils-r1_src_prepare |
73 |
+} |
74 |
+ |
75 |
+python_test() { |
76 |
+ distutils_install_for_testing |
77 |
+ # integration tests require AWS credentials and Internet access |
78 |
+ epytest tests/{functional,unit} |
79 |
+} |
80 |
+ |
81 |
+python_install_all() { |
82 |
+ newbashcomp bin/aws_bash_completer aws |
83 |
+ |
84 |
+ insinto /usr/share/zsh/site-functions |
85 |
+ newins bin/aws_zsh_completer.sh _aws |
86 |
+ |
87 |
+ distutils-r1_python_install_all |
88 |
+ |
89 |
+ rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
90 |
+} |