1 |
commit: a25b90d8ff6139c3ff83342433207dbe62120dd1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 28 06:39:15 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 08:13:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a25b90d8 |
7 |
|
8 |
app-admin/awscli: Bump to 1.23.2 |
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.23.2.ebuild | 71 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 72 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest |
17 |
index d92d99735dac..6a21e73b043f 100644 |
18 |
--- a/app-admin/awscli/Manifest |
19 |
+++ b/app-admin/awscli/Manifest |
20 |
@@ -1,4 +1,5 @@ |
21 |
DIST aws-cli-1.23.0.gh.tar.gz 2197192 BLAKE2B 414646dc2e4ea5638185ab53e78e8de4403ff10084ce15ebbf5c67249722226769cd0eb02892ffb9bae5440956200417eb74393c6f393ec52a313fc55d9960a2 SHA512 27380033b02e88c6d022e8c33f0e4339e3c67b00cd2b7e92620ef2581e1ff8f55b55123aa4d4a24028c941f6ad60a0fe3e8f6d14d5a970163a97a2adb9ae93d6 |
22 |
DIST aws-cli-1.23.1.gh.tar.gz 2197883 BLAKE2B 1e43b70319d58e689e2ccad38e0b6177c870888c798966a34837f93c340e39b2ac5d351a38e8bed830312931b5764ea6b390a50da9735864dce61a1666da7899 SHA512 a105f8fcfdd36467cc0f328c70a505458c228f69735b23306042944618fbb508efc061c671f7eb743efd13acbe5e4b6ee96205ff14b7f98685fa3f81b3958f9f |
23 |
+DIST aws-cli-1.23.2.gh.tar.gz 2199816 BLAKE2B 7aef7ea7efb2b37b8d63fd64b2e86129d7588aa1d9b2a34d243cf99564be8dee282c4e48e08e900d0988dfe08eaa8af08cb7e79dee235354efb216db5bcb9996 SHA512 04c6324f02afe187c93827433184fbe0d2b82add88488becdcaedb904ddb10332dc93e0c995ef9467216ac19955318bdd9f128022aaa63245bc361ad2061bdc9 |
24 |
DIST awscli-1.22.101.tar.gz 2196746 BLAKE2B 590938e722e9dff00bcdb4a266f7063bca4e890f5db5e52b56ed710f5777c6e9de3cfe1423cee9ae2cea74d624bdd665cd8af487aec1ba4e650279c700540545 SHA512 ab99b95c5252c48a7a1d10adb053c56e27139e35bb512ce854e90a433e2d028aed2a88f72e518b0f723dea147919961e7cc7f5d980342206e629f750b0fe77ec |
25 |
DIST awscli-1.22.97.tar.gz 2193983 BLAKE2B f2e0efbb2332d4c405d5e97ba35426424d932a013114492890018d3419349e23aa3c8301f6c29bd8eaa662145b07ceaa30c22e41aad38012ca307400075600ca SHA512 00426aab19fcdf3241850b09d4d5dd6a1460e3ec9baa37cf203068dc6ca0fddd4fe3de7e4e93e8e6539608351777e00692bb8b9d2c362ceeacc55071cd53f422 |
26 |
|
27 |
diff --git a/app-admin/awscli/awscli-1.23.2.ebuild b/app-admin/awscli/awscli-1.23.2.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..c9a5eb0d75aa |
30 |
--- /dev/null |
31 |
+++ b/app-admin/awscli/awscli-1.23.2.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.4.0[${PYTHON_USEDEP}] |
67 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
68 |
+" |
69 |
+BDEPEND=" |
70 |
+ test? ( |
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} \ |
91 |
+ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
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 |
+} |