1 |
commit: 8a5456b216d1ec7cb55b9d571e6403a80b04186f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 15 04:46:47 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 15 05:33:05 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a5456b2 |
7 |
|
8 |
app-admin/awscli: Bump to 1.27.91 |
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.91.ebuild | 80 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 81 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest |
17 |
index 099a68b55b33..2f7008498d46 100644 |
18 |
--- a/app-admin/awscli/Manifest |
19 |
+++ b/app-admin/awscli/Manifest |
20 |
@@ -7,3 +7,4 @@ DIST aws-cli-1.27.87.gh.tar.gz 2381669 BLAKE2B eb279545fcab3ac279ee127acbd4e06f1 |
21 |
DIST aws-cli-1.27.88.gh.tar.gz 2382383 BLAKE2B a97e1235add4bf34b73e4def10771e54af03d6afb9a2a3ed4d4d78a8fdd26c07f400c6ead8afa926a4516069e6f42c2b08b335028ef3caccc9bca8ca2e783c06 SHA512 0eb1858ea6a6af408f16972c66778e84fc9e0f08cfb3734417fb747fb3505fde587954c2645309ba444bd5bf2ebb6a550569321afd3899844623f79d0a5cce8e |
22 |
DIST aws-cli-1.27.89.gh.tar.gz 2382599 BLAKE2B 3a2dae3cc1928e149dd605de1e9a350989e1cf4f813dc14466ba40c0a2747e69b6a8c5716d48f2526920798f0d341dcaa7ec0c2fd95af1b5decd3830814a243b SHA512 9a90c933e5ae3f25271ec369607cb6c44adf96dc9d324205714c9790b6744d7f2c8e4c6b901d4bb4f58b6871c315e0543b3f846cf530e7f95ed31d196f8c3326 |
23 |
DIST aws-cli-1.27.90.gh.tar.gz 2383305 BLAKE2B c67abc7d2c7e09bbbcc34bd07f2aebc76e9b03904b9e5ce6fe5569f2f1ba0341c4b7cf6dfe8cec6fc1840a5567bfde1f073d3a91ae1443c1354648fd6b330b34 SHA512 f6391afff00a53d998cffa000b309587e3bb50ca0d526f0979a2a2cf1303186400428eb10a9c09cb139ac2428717f8e8c76c72b4243943426afef77e188f0167 |
24 |
+DIST aws-cli-1.27.91.gh.tar.gz 2384591 BLAKE2B ca80ec0bbbb96168f959cfef9e134a72cff8cad57e2e694cbf3a239c68c0ddcafa2a6fbdf6e02c9dcb601165df6597976d0097be820eedbc6977dfc56146d31a SHA512 310b14d4d21ffbc41ae0c205810f308e99a9d2110415e32236c9dacf1f288e62a79367db16b2acc794175e6a37764154d8923d8291dbbb2ecb5ab43c54dbfd5f |
25 |
|
26 |
diff --git a/app-admin/awscli/awscli-1.27.91.ebuild b/app-admin/awscli/awscli-1.27.91.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..62c19f3a63fb |
29 |
--- /dev/null |
30 |
+++ b/app-admin/awscli/awscli-1.27.91.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 |
+} |