1 |
commit: c53d996509eb8978846ab29c17b53d06f8843ee7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 11 06:15:42 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 11 06:53:07 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c53d9965 |
7 |
|
8 |
app-admin/awscli: Bump to 1.20.40 |
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.20.40.ebuild | 58 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest |
17 |
index 59a19316dc2..28c33e28e36 100644 |
18 |
--- a/app-admin/awscli/Manifest |
19 |
+++ b/app-admin/awscli/Manifest |
20 |
@@ -6,4 +6,5 @@ DIST awscli-1.20.36.tar.gz 2069853 BLAKE2B b524091d27b8200954086ffa1dc444efe3a17 |
21 |
DIST awscli-1.20.37.tar.gz 2070925 BLAKE2B 836cecbe36c03d47879128649bd643738ef58130f486e8f541a74b4612679f4fc04d317020516090f5781d1baaf05b555e8dd0f3131aa3bb5efae4a928d0d942 SHA512 39a67fb3fa6893d0e26557b37c1ee4f06703e46b6f42e9f1fb3bbad8ea442be015f60e4d4343b93df6528b86ed73889f5b5da7e653adc47d199d3e56a9b5dde2 |
22 |
DIST awscli-1.20.38.tar.gz 2071046 BLAKE2B 424eb993ea86784093ed3664d41664da513dbeaae8f8ef9f2255abfb2af3054bcc363aef2a862d8460b8916d14d1389ca1c495a4004cba52b9ae6580da658c37 SHA512 9ef326e01ec219d8726eeb117fc1ac55a4d96b63eef985329721800216667f0f8d76bd585a71cedb3bc754eea321def47bab6c54d2e7a6d0144517db99a11315 |
23 |
DIST awscli-1.20.39.tar.gz 2071279 BLAKE2B 6e59d0cfdc3507121a163b45b70dce11c7b3e5707492801425a7174f4866a6236e28eb8a173ab5d7616e7dce41043b3e8c5c6b322974670414756ab2f7bd570a SHA512 2669297760dc846b1372817bb4ae6f677b39819e4eec1fcec08c11d28fb2d043e9242993e9aa91e3740c2a2b0d4afa0ec3088c1c8c5a737c5a96a8a243565d36 |
24 |
+DIST awscli-1.20.40.tar.gz 2071857 BLAKE2B b2511d610c13b4ddf8b1f5c6442f0939072eecf81d97805800bd83b6f481d744ad4344dace6e6553e3d4b7cbf9546f911398311cb04fb698a418579e784539a3 SHA512 aa39a8d67cd8efc63687929f19d5878269ce7f3155a0a64ca2f271251a334f57d2358aa4f0aee76415aee33fe23a1e3b19eb2c6dcfa21e8c0fb7409f5d29a001 |
25 |
DIST awscli-1.20.7.tar.gz 2045304 BLAKE2B d8f086d8d2eb36645e77fa3d9ae7c196ed3a3fddcc2a0218696f92bd69e10b453be1340b965a8d8e6697bbd3c45013d72de3ed0d31b5823515a5a0092a812858 SHA512 a41bd3ebc34a65add66ef95d5194ba07907a08f7368b0fcd6551af2070c46c4a509af47d30aeadabddce19d1a61200a58faf40a7e2f759e64915cfb2826666ab |
26 |
|
27 |
diff --git a/app-admin/awscli/awscli-1.20.40.ebuild b/app-admin/awscli/awscli-1.20.40.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..ff429f8d3a3 |
30 |
--- /dev/null |
31 |
+++ b/app-admin/awscli/awscli-1.20.40.ebuild |
32 |
@@ -0,0 +1,58 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="7" |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+ |
40 |
+inherit bash-completion-r1 distutils-r1 |
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 |
+# botocore is x.(y+1).z |
53 |
+BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)" |
54 |
+RDEPEND=" |
55 |
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
56 |
+ dev-python/colorama[${PYTHON_USEDEP}] |
57 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
58 |
+ dev-python/rsa[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
60 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
61 |
+" |
62 |
+BDEPEND=" |
63 |
+ test? ( |
64 |
+ dev-python/mock[${PYTHON_USEDEP}] |
65 |
+ ) |
66 |
+" |
67 |
+ |
68 |
+distutils_enable_tests --install nose |
69 |
+ |
70 |
+PATCHES=( |
71 |
+ "${FILESDIR}"/awscli-1.19.47-py39.patch |
72 |
+) |
73 |
+ |
74 |
+python_test() { |
75 |
+ distutils_install_for_testing |
76 |
+ # integration tests require AWS credentials and Internet access |
77 |
+ nosetests -v tests/{functional,unit} || |
78 |
+ die "Tests failed for ${EPYTHON}" |
79 |
+} |
80 |
+ |
81 |
+python_install_all() { |
82 |
+ newbashcomp bin/aws_bash_completer aws |
83 |
+ |
84 |
+ insinto /usr/share/zsh/site-functions |
85 |
+ newins bin/aws_zsh_completer.sh _aws |
86 |
+ |
87 |
+ distutils-r1_python_install_all |
88 |
+ |
89 |
+ rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
90 |
+} |