1 |
commit: 120c93faa463d7cbe498fe6fd4b257ba77b7d9ef |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 2 04:22:53 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 2 04:22:53 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=120c93fa |
7 |
|
8 |
app-admin/awscli: Bump to 1.27.82 |
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.27.82.ebuild | 80 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 81 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest |
17 |
index a525d48da651..efb25e2d523f 100644 |
18 |
--- a/app-admin/awscli/Manifest |
19 |
+++ b/app-admin/awscli/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST aws-cli-1.27.74.gh.tar.gz 2368706 BLAKE2B 3eb9d8c21b9ddfd3a3e4bb53172a46ad6 |
21 |
DIST aws-cli-1.27.79.gh.tar.gz 2376690 BLAKE2B 8e55d3607b805ebc5673c682731483f0fd6eb77a6cc972d58ce3219c33f9f2054529df6ab46fc85b39849871580cea03c4d7f490c4386cd5ce9d222ecb3c8eda SHA512 fd8b880b6358c50ed189fac538d91ef88d762b8c382da1b57bb086a316f7ee96fa33206a53f3eae2df98df175929c819b855c7ff5b7e5f84c73ecff88f297c79 |
22 |
DIST aws-cli-1.27.80.gh.tar.gz 2377306 BLAKE2B 3a0e6c66bb9c373456bb05537f20ad339c0987290557c30dbd2e2a8ea127b0f8bfc7028930db712fcbe7461c7bc87dac123c1847da93b675403822f6c02b1d3f SHA512 b94aab2588e8bc0ad007e0392c6eed0642683246b1803007332563495a69deb5da924eda48944e37b674c714cf2e5a45aeddbbedb5d12d51ad8c9c8e76c18ebc |
23 |
DIST aws-cli-1.27.81.gh.tar.gz 2377937 BLAKE2B 7323c06cab727066c6541772478a961bc4f7b409b0910e57c79207fad928b7ec82d1b0048983e64d8a8fa3e7ef69d1898cadf2fbd1ea560e05d7a2582e726f88 SHA512 19cff28cd4721df32079795cfab852a11b36f1a2d0335567f0f1dae48eaaf268ae04163dac960a2d543be869f39e8c55e6a0bcee746ccbab29bcf8f37881c305 |
24 |
+DIST aws-cli-1.27.82.gh.tar.gz 2378047 BLAKE2B ca55c81431afeed336e01b7cb6840a05856d3e25f8c06a1169907fb3536aa45393f35995d1683bea3685e91d196b67bdeed487ba46e896f774caac0e63cbc9be SHA512 b760dd417a87e1804ef5bb7b4e8ca22ef750c75a63455fac7f17f564f8e591c459bfef225acb56a9a3b3ad1ac94458d4731fb4a56147a2a6fd59ec8113b2df41 |
25 |
|
26 |
diff --git a/app-admin/awscli/awscli-1.27.82.ebuild b/app-admin/awscli/awscli-1.27.82.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..62c19f3a63fb |
29 |
--- /dev/null |
30 |
+++ b/app-admin/awscli/awscli-1.27.82.ebuild |
31 |
@@ -0,0 +1,80 @@ |
32 |
+# Copyright 1999-2023 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_{10..11} ) |
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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~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 |
+ local EPYTEST_DESELECT=( |
91 |
+ # TODO |
92 |
+ tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple |
93 |
+ tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only |
94 |
+ tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing |
95 |
+ tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid |
96 |
+ ) |
97 |
+ |
98 |
+ # integration tests require AWS credentials and Internet access |
99 |
+ epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked |
100 |
+} |
101 |
+ |
102 |
+python_install_all() { |
103 |
+ newbashcomp bin/aws_bash_completer aws |
104 |
+ |
105 |
+ insinto /usr/share/zsh/site-functions |
106 |
+ newins bin/aws_zsh_completer.sh _aws |
107 |
+ |
108 |
+ distutils-r1_python_install_all |
109 |
+ |
110 |
+ rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
111 |
+} |