1 |
commit: 50604ff8a197215eea3406555b443a738b0cdd4b |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 26 16:09:12 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 26 16:33:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50604ff8 |
7 |
|
8 |
app-admin/awscli: add 1.25.60 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
app-admin/awscli/Manifest | 1 + |
13 |
app-admin/awscli/awscli-1.25.60.ebuild | 72 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 73 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest |
17 |
index 84a3ec872a6d..7b8c1c58ebbf 100644 |
18 |
--- a/app-admin/awscli/Manifest |
19 |
+++ b/app-admin/awscli/Manifest |
20 |
@@ -13,3 +13,4 @@ DIST aws-cli-1.25.56.gh.tar.gz 2252989 BLAKE2B a082d42bd9ebaa858a3464bf885ba86a6 |
21 |
DIST aws-cli-1.25.57.gh.tar.gz 2255779 BLAKE2B dddfd580d8af048111001151f3a28470d41026e21d4e9d3ec04972cc2d865c1670e306070114017911949ee8044a2a7840aa25374992721fc77fb045eb2cb9b0 SHA512 2b477f760ddba30a1d0f40dfc289ed84a96cf25a989cf5bc06a6e6432399f202f4418d8554f5892123e2b8a406f99ed2a5137204ba5f65d438a451badf0188be |
22 |
DIST aws-cli-1.25.58.gh.tar.gz 2256521 BLAKE2B 752581d8e6cf82fa5a77f8b530d1d267f55888f0843affb580420267393d81e259e945bd527441be0a5973abeee29dfdd544750c9571b3ea9cd1caa0e4cfe72b SHA512 28a041e2c703723de972763965c25ad639a03eaa72c3e487d75c9471386eb35baa16eea775f623adc74675784830f9d1acdb060800e4eafd1be0c317bcca99b5 |
23 |
DIST aws-cli-1.25.59.gh.tar.gz 2256634 BLAKE2B 0fd3dbd2b3f59ee32d3e9d11c529184be54192057e273ed79a1d0e4871673f1318d3ef779d13067e162d334119f7c859c8b175a513095e7252bcf6bfb1a15675 SHA512 1f59362da22f542ec8af3e91343857f37922bca25f7e554bce66926e58a29fc63bfcd7308e8784e5bb69f8f8e032fe501502b6ab60798224b090f79d7170c17e |
24 |
+DIST aws-cli-1.25.60.gh.tar.gz 2257567 BLAKE2B 368925e5dfd5b9fa3ab6c7a34c1f8e8312946df790534874a67aa248e81fc2defc5825e35a871d326e00acec31d5ec6a9c87fe1eff5925d489a8a87df7c059c5 SHA512 559c5cdb3cc1c0c94d77d97b7a7e4d2764a301c7ceaf0a557769629aed1ee9db0952669a265e0a54b828e5de39e320b9e4ad0b591868cfe17f8033a8eb8c4a9e |
25 |
|
26 |
diff --git a/app-admin/awscli/awscli-1.25.60.ebuild b/app-admin/awscli/awscli-1.25.60.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..9f176fa05cc8 |
29 |
--- /dev/null |
30 |
+++ b/app-admin/awscli/awscli-1.25.60.ebuild |
31 |
@@ -0,0 +1,72 @@ |
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.6.0[${PYTHON_USEDEP}] |
66 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
67 |
+ !app-admin/awscli-bin |
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 |
+} |