1 |
commit: e1fd7eb2bb929f4a1bd5d76eaaf529f056d7bcde |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 31 05:40:23 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 31 05:40:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1fd7eb2 |
7 |
|
8 |
app-admin/awscli: Bump to 1.27.41 |
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.41.ebuild | 80 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 81 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest |
17 |
index 171534ed91f1..96dda99a8d87 100644 |
18 |
--- a/app-admin/awscli/Manifest |
19 |
+++ b/app-admin/awscli/Manifest |
20 |
@@ -9,3 +9,4 @@ DIST aws-cli-1.27.37.gh.tar.gz 2332965 BLAKE2B 9c855f02bc63f64e3d9bb706139305a6b |
21 |
DIST aws-cli-1.27.38.gh.tar.gz 2333077 BLAKE2B 721ebce0e39b90b9ac18552046b62a5263ebec3d6abbe798ccbf28a9ab63dbf17699a8d2eab2d7b620717c56b8b9ff1d8b3316940a21925b3a58bfcbbc65e03b SHA512 3e529a64542fc14f179bdb5cea3b275f1a2d0d9d4df63c118f5d18067a5a69d1c7677fd8ddbb18d45cef8ce5be880fa9f2a2546d8e57475e1f35a2e0ced7b8ec |
22 |
DIST aws-cli-1.27.39.gh.tar.gz 2333488 BLAKE2B a50ea5601f36646fbc0e6dfd6053ff09cfee9476fe0923f8b969e639f7c7af4c52e9482be9eae9b2b48cc905263b80117d9b49ae3e6a9a1b361f6929c6640b87 SHA512 b6f7fba1ccf4a9828af63222d422a4b83c97ed848bbae899816c1323caa450f2114527d9d1acc4c14ed54fe3aa92cae10dfd4df62e1e98ab38dddc856b0df677 |
23 |
DIST aws-cli-1.27.40.gh.tar.gz 2333845 BLAKE2B d7ec9f54b9ccb46ac3248a839f2691a53fe16b1ff35e9068bce069a71570c9db64f092fa91ca237be61b8b60cace8aa2c699023dc49d1e5258d95bd676d031c2 SHA512 62e6cebc6a893558d2eb5a6ee462f8b632aa733b349ff3d71eb49c940cfd7ea66d29bf9109bf0150d3bd18745bf36f54d0eb499edd7087fdfc824c74ce4929cb |
24 |
+DIST aws-cli-1.27.41.gh.tar.gz 2333941 BLAKE2B ab39bd9acdf7d2d6f7ac6a8168b5959ede6799b4e06e04892fd49fae056b384c4fe9f7d721301b46be90f84fc0ead345968d1bc93399c8d8a374559e10c31519 SHA512 81d36eb1554386968924ea14c42e03fc21ab32ab97750f2d8fd20ac0deb6a6a7184b84b41e06ba0738ece233ff9dba08fe1f9f801bce1a2b38656c73f23e76e0 |
25 |
|
26 |
diff --git a/app-admin/awscli/awscli-1.27.41.ebuild b/app-admin/awscli/awscli-1.27.41.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..caea725bbca7 |
29 |
--- /dev/null |
30 |
+++ b/app-admin/awscli/awscli-1.27.41.ebuild |
31 |
@@ -0,0 +1,80 @@ |
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_{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 |
+} |