1 |
commit: 6e44b9d3a7b9e7c15cc52cf9c93a8f839c2240c4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 29 07:43:19 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 29 08:33:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e44b9d3 |
7 |
|
8 |
app-admin/awscli: Bump to 1.22.83 |
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.83.ebuild | 66 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 67 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest |
17 |
index ca33ea69001a..8a6d06e87ea3 100644 |
18 |
--- a/app-admin/awscli/Manifest |
19 |
+++ b/app-admin/awscli/Manifest |
20 |
@@ -4,3 +4,4 @@ DIST awscli-1.22.77.tar.gz 2179996 BLAKE2B fec49002841fa634bd2b7ae72f534bda875d6 |
21 |
DIST awscli-1.22.80.tar.gz 2182289 BLAKE2B 632aa3806ffc6924b9d359f437b89f4c494065ee57f352c4ea83c1c6a012090ae3bf050eb633708fca9e50dd53205bfa3c838ee5c64088a253b7d2ad9fcb4427 SHA512 a35214dc4dc6280c2774f0423af1a933260bc9ef718ec1779b50d52c5b47d05034f8a8ff327c01af59b3490acd5dad3921535ec848c00885136fdb7909bbeb75 |
22 |
DIST awscli-1.22.81.tar.gz 2182494 BLAKE2B 57f62fc372f065f7b7c3a7b7b4fe32fed1bdb439d2abb8070d0383bede89ece50016b92ecd48c0b6b9b258a56843a0989bca63c49f41923b702b38c5d5a09daf SHA512 ef2b452ac579730eb37796b55e3214df10df54307c826773f4c8334270eb08d1d72a5de468c1e058ce72cc92c93e913c8d9e764b74af0fc35ba078b190af5364 |
23 |
DIST awscli-1.22.82.tar.gz 2182473 BLAKE2B 0d73e62f7c394c1ac77f6b011e2303d9b48b8fd6d874360aef6b2fc4378feb8f9fa04b88e9c1ee8cf0cb5fb7d1884d4a08eee64093c151de274c1aa50777ebf3 SHA512 195061199fa3ed24b5be2a22a5d0ee2891bfb616239aaf54e5aa8715b3374e68edad613ea6e6b71a165e501b5a009856993259de3ac57f14ff3cd2a39453ec38 |
24 |
+DIST awscli-1.22.83.tar.gz 2182511 BLAKE2B 45e4868e83d130bee6c5a7cb59792d4d66e76d3c1ac14a5c99f49f3f93461970ba881a515b4816374baea81250733d061a8618ca8244b9fb4bbd289b67b0c7fd SHA512 dc24134650aceb45e035d6009cafd353aef9cf08a8db00d7bdfa4e7a0056bcf3ded50b94086fae8ca70ff349cf880ad75ef756748f8f70d84b2bb5397d6685bd |
25 |
|
26 |
diff --git a/app-admin/awscli/awscli-1.22.83.ebuild b/app-admin/awscli/awscli-1.22.83.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..2040c8cb81d2 |
29 |
--- /dev/null |
30 |
+++ b/app-admin/awscli/awscli-1.22.83.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 |
+} |