1 |
commit: f56b0d5ed4df661455636ec7ff6d20a4c0d5a077 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 17 05:05:45 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 17 06:54:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f56b0d5e |
7 |
|
8 |
app-admin/awscli: Bump to 1.24.1 |
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.24.1.ebuild | 71 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 72 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest |
17 |
index 761a379998a2..3423bb6ccc12 100644 |
18 |
--- a/app-admin/awscli/Manifest |
19 |
+++ b/app-admin/awscli/Manifest |
20 |
@@ -7,3 +7,4 @@ DIST aws-cli-1.23.7.gh.tar.gz 2201704 BLAKE2B 4c97a7bfc09c794afebd7c770bc1dcc98a |
21 |
DIST aws-cli-1.23.8.gh.tar.gz 2201989 BLAKE2B 59651082736c71a08085eab047056d949e908a42ca0f3af15d666cb3b7e5d21d1770622d8121c366489451e51349f19324c36542f24013ede33306989840fe57 SHA512 a58ab507302fb9631983fb31d1b877f5af8856493f04e6c5c18cbb883a60247393e4ce62f1231908fc774d2f74c691086bc8e21af96524e82595489b5cf1d195 |
22 |
DIST aws-cli-1.23.9.gh.tar.gz 2204177 BLAKE2B 6f3b975ffa10b027a4ccd07bb27ec9a9c0b1e5151fe2e33685c6eb15eafd551afde3a619e7b2f60cf42328b5f53ff0de2c2e41f1c105807e13fa77ebe957d5cb SHA512 75e9222bc3fb26c2f8c5cbe7c32ee06a48163517e14d23e8432178af8a702e26444cee78336703a1bfa7f6963d7fd05cf2581d887382daf1650cfb9c8bc2eeb8 |
23 |
DIST aws-cli-1.24.0.gh.tar.gz 2206596 BLAKE2B 5b73eca17e16dec43bfdee4271fc29f3dd7194c2de6cc27d00ec3fab5f0dc968b46312a490eb6b53760ceb12370a247f95f0a1b433d3e16b09f09c6d594c51a0 SHA512 d9c5778352d9ca787db305905214fc7b71b5bbc36ee0de4815bbc7d0bcac549c11e5b480090f5fac904aa8bf7735850a3151912abdceb225bd4a998100f48a3d |
24 |
+DIST aws-cli-1.24.1.gh.tar.gz 2213336 BLAKE2B 2d442ac650b524c8b52be2288aefa76693221a3becbbc752d1add748d731887cbac6b96b0a30e48587714e31d399830fef848598b2104e749de40a52e96917d5 SHA512 097ac7b3d64f017ca5c3c979ed5bc191860cb7431cc9eea81e4f9f760f8760e4884ea04d3c93fbc839f1d0c03c3431c3041f32508026f869b27e25c280ef458b |
25 |
|
26 |
diff --git a/app-admin/awscli/awscli-1.24.1.ebuild b/app-admin/awscli/awscli-1.24.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..acabee851193 |
29 |
--- /dev/null |
30 |
+++ b/app-admin/awscli/awscli-1.24.1.ebuild |
31 |
@@ -0,0 +1,71 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+ |
40 |
+inherit bash-completion-r1 distutils-r1 multiprocessing |
41 |
+ |
42 |
+MY_P=aws-cli-${PV} |
43 |
+DESCRIPTION="Universal Command Line Environment for AWS" |
44 |
+HOMEPAGE=" |
45 |
+ https://github.com/aws/aws-cli/ |
46 |
+ https://pypi.org/project/awscli/ |
47 |
+" |
48 |
+SRC_URI=" |
49 |
+ https://github.com/aws/aws-cli/archive/${PV}.tar.gz |
50 |
+ -> ${MY_P}.gh.tar.gz |
51 |
+" |
52 |
+S=${WORKDIR}/${MY_P} |
53 |
+ |
54 |
+LICENSE="Apache-2.0" |
55 |
+SLOT="0" |
56 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
57 |
+ |
58 |
+# botocore is x.(y+2).z |
59 |
+BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)" |
60 |
+RDEPEND=" |
61 |
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
62 |
+ dev-python/colorama[${PYTHON_USEDEP}] |
63 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
64 |
+ dev-python/rsa[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
66 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
67 |
+" |
68 |
+BDEPEND=" |
69 |
+ test? ( |
70 |
+ dev-python/pytest-forked[${PYTHON_USEDEP}] |
71 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
72 |
+ ) |
73 |
+" |
74 |
+ |
75 |
+distutils_enable_tests pytest |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ # do not rely on bundled deps in botocore (sic!) |
79 |
+ find -name '*.py' -exec sed -i \ |
80 |
+ -e 's:from botocore[.]vendored import:import:' \ |
81 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
82 |
+ {} + || die |
83 |
+ # strip overzealous upper bounds on requirements |
84 |
+ sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die |
85 |
+ distutils-r1_src_prepare |
86 |
+} |
87 |
+ |
88 |
+python_test() { |
89 |
+ # integration tests require AWS credentials and Internet access |
90 |
+ epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked |
91 |
+} |
92 |
+ |
93 |
+python_install_all() { |
94 |
+ newbashcomp bin/aws_bash_completer aws |
95 |
+ |
96 |
+ insinto /usr/share/zsh/site-functions |
97 |
+ newins bin/aws_zsh_completer.sh _aws |
98 |
+ |
99 |
+ distutils-r1_python_install_all |
100 |
+ |
101 |
+ rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
102 |
+} |