1 |
commit: b88c96917a45549621ac50a1bf9b6a2ac03ad22e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 8 07:47:30 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 8 08:56:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b88c9691 |
7 |
|
8 |
app-admin/awscli: Bump to 1.22.91 |
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.91.ebuild | 66 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 67 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest |
17 |
index b88a37455c54..61eda4bad920 100644 |
18 |
--- a/app-admin/awscli/Manifest |
19 |
+++ b/app-admin/awscli/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST awscli-1.22.77.tar.gz 2179996 BLAKE2B fec49002841fa634bd2b7ae72f534bda875d6 |
21 |
DIST awscli-1.22.82.tar.gz 2182473 BLAKE2B 0d73e62f7c394c1ac77f6b011e2303d9b48b8fd6d874360aef6b2fc4378feb8f9fa04b88e9c1ee8cf0cb5fb7d1884d4a08eee64093c151de274c1aa50777ebf3 SHA512 195061199fa3ed24b5be2a22a5d0ee2891bfb616239aaf54e5aa8715b3374e68edad613ea6e6b71a165e501b5a009856993259de3ac57f14ff3cd2a39453ec38 |
22 |
DIST awscli-1.22.87.tar.gz 2185493 BLAKE2B 5d274e0c9483b22e664ad6de8710c04cc99f854b7c1efdac6dd4164deab47dc55d35520b34b276f8b4de1ee8b1ed10205b1806a31fc776d17b289a5e29277016 SHA512 c117fb8f89680836206f678637fb480ffd06db2225533bff75686eb8c1bd6e450297adb11863247441eeed67744b13930c0f62afce1dd12527d06d4e2eb58a4b |
23 |
DIST awscli-1.22.90.tar.gz 2186538 BLAKE2B 16b1942ee9fa65240a1b8b045b8e3e8659cc299a4cf52a876dae5cdc28088e7d6380c7961934fec590481aab5e71f60d08b21aac620a4485aa5872402c696549 SHA512 ef45718ebc2460e431f5177919a9d2e3de12dd68c9043b27f83ffb589672594fe7116ceed3b5e2fd62d502557a965cd0a3baf4af4de58c4a3176e39ba96e7076 |
24 |
+DIST awscli-1.22.91.tar.gz 2186925 BLAKE2B e7f6b4a5dce1b0f2752621628a28c7af75ce175b268c1b87a6516ad4bbc83738afdbef52d23e050febd3c351006aad2ecec9ce6d3052454b4f9352d3d5cde143 SHA512 b14e1d2da753ded2e90d72619ab205d9af6ec561cf01a8cbb09931a70338e50a8efe4555633f695ab4a486670e31e48ee1eba13e3943a728502e3aa0783f4c51 |
25 |
|
26 |
diff --git a/app-admin/awscli/awscli-1.22.91.ebuild b/app-admin/awscli/awscli-1.22.91.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..2040c8cb81d2 |
29 |
--- /dev/null |
30 |
+++ b/app-admin/awscli/awscli-1.22.91.ebuild |
31 |
@@ -0,0 +1,66 @@ |
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 |
+DESCRIPTION="Universal Command Line Environment for AWS" |
43 |
+HOMEPAGE="https://pypi.org/project/awscli/" |
44 |
+#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
45 |
+SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+S="${WORKDIR}/aws-cli-${PV}" |
47 |
+ |
48 |
+LICENSE="Apache-2.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
51 |
+ |
52 |
+# awscli 1.22.55 → botocore 1.24.0 |
53 |
+# so botocore is x.(y+2).(z-55) |
54 |
+BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))" |
55 |
+RDEPEND=" |
56 |
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
57 |
+ dev-python/colorama[${PYTHON_USEDEP}] |
58 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
59 |
+ dev-python/rsa[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
61 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+BDEPEND=" |
64 |
+ test? ( |
65 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
66 |
+ ) |
67 |
+" |
68 |
+ |
69 |
+distutils_enable_tests pytest |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ # do not rely on bundled deps in botocore (sic!) |
73 |
+ find -name '*.py' -exec sed -i \ |
74 |
+ -e 's:from botocore[.]vendored import:import:' \ |
75 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
76 |
+ {} + || die |
77 |
+ # strip overzealous upper bounds on requirements |
78 |
+ sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die |
79 |
+ distutils-r1_src_prepare |
80 |
+} |
81 |
+ |
82 |
+python_test() { |
83 |
+ # integration tests require AWS credentials and Internet access |
84 |
+ epytest tests/{functional,unit} \ |
85 |
+ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
86 |
+} |
87 |
+ |
88 |
+python_install_all() { |
89 |
+ newbashcomp bin/aws_bash_completer aws |
90 |
+ |
91 |
+ insinto /usr/share/zsh/site-functions |
92 |
+ newins bin/aws_zsh_completer.sh _aws |
93 |
+ |
94 |
+ distutils-r1_python_install_all |
95 |
+ |
96 |
+ rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
97 |
+} |