1 |
commit: 03aa6497bf4c77956eddb0759c03f394dc16153d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 26 07:04:50 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 26 09:01:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03aa6497 |
7 |
|
8 |
app-admin/awscli: Bump to 1.24.8 |
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.8.ebuild | 71 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 72 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest |
17 |
index 1ada30dc28dd..948adb279c07 100644 |
18 |
--- a/app-admin/awscli/Manifest |
19 |
+++ b/app-admin/awscli/Manifest |
20 |
@@ -7,3 +7,4 @@ DIST aws-cli-1.24.4.gh.tar.gz 2215845 BLAKE2B 9b95b53feba4d61e44276c7ee1587a45f9 |
21 |
DIST aws-cli-1.24.5.gh.tar.gz 2215786 BLAKE2B db9077cfe3cf561109dea9ce1395f9d5bbe25b9dd28675e20d56c1fee3ad17e4befdce61cb81f217bb32d85b326ca4069f97482b9670f9653a850fd90fd135f7 SHA512 1cb4fcf37ccc6e7c3dfb211a9bc6687172f4052c6dae307e1a8451947078794973a3fd8382824ca2be650ee5b898b1f8d9bc27e2b403a2c51fea17b319bd366d |
22 |
DIST aws-cli-1.24.6.gh.tar.gz 2216124 BLAKE2B 584c1b5f6bc76f565346734b3d1b5a877f0f91085f959712c6310a2609ab3089191a7f89755763422b55a6b0e6e1549d818cdb7ed2bbf1c0e7e4e4d60279e515 SHA512 dcfff4a5308d33dc91fd0569b0045842e59776d496e6a39d734c0ed082e127470e672059c1443785b1d563eb6722c775ba9ecafb6bab17d423fc7db6dba243a0 |
23 |
DIST aws-cli-1.24.7.gh.tar.gz 2216941 BLAKE2B 132c5e1bf0ba26f5a1b25bdfaa24138d4b664d98c35edb33061513859fb52817b6fd0d3e8a18331621134f2e222bfd087f2ed30f4b23ee4960dbd5a5762decc4 SHA512 0f87ab2312171efc99fd4666c0d8935a9bb88d6ad1653ddf3a071d3ba5b36f69bbef1fe24f32c63d5e0991281cd15a9312a1f2827ad23da472aa23f58fe67b3d |
24 |
+DIST aws-cli-1.24.8.gh.tar.gz 2218012 BLAKE2B 1b2459045646524fac28ab792554e20dd1dc73acc121f155e25a1ad99d56a269d083f4b96ac059e3ab32752b225db6afccff55d58cdf8a7a29ff4f60d16e5cb0 SHA512 2c9bc27516ea9bfc369b2c76052a9dc2e1776675d240b3bf5050a5db6ad4cb98ddb69cb56243b0e7451e4dc202e44dedb8ea4ba798763b87780b89f1d7775583 |
25 |
|
26 |
diff --git a/app-admin/awscli/awscli-1.24.8.ebuild b/app-admin/awscli/awscli-1.24.8.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..acabee851193 |
29 |
--- /dev/null |
30 |
+++ b/app-admin/awscli/awscli-1.24.8.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 |
+} |