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