1 |
commit: 1be36540cc83cfb24576c3d7ad9e4b82cea1efb0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 30 21:04:24 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 30 21:41:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1be36540 |
7 |
|
8 |
app-admin/awscli: Bump to 1.20.32 |
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.32.ebuild | 58 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest |
17 |
index 7bf7fde3251..af8a5152faa 100644 |
18 |
--- a/app-admin/awscli/Manifest |
19 |
+++ b/app-admin/awscli/Manifest |
20 |
@@ -8,4 +8,5 @@ DIST awscli-1.20.28.tar.gz 2058578 BLAKE2B 3f6993a41f46ad9d8d45cebc0d5ea95a954e1 |
21 |
DIST awscli-1.20.29.tar.gz 2058922 BLAKE2B e0455b2d5475a1d070d0b97f5e321f884ad7d9f9627e36c2ac7eb61b69d0aeed35845906f03acf4c2c5202f6bd3c019693e4bcd02454a454282862949e4eceeb SHA512 67412b3a7445effde508548ec0030f304f0374b7a1dcc851a2205c01321e8e30d939b09cac85f10a51f2e9b47caca30303bd2916c4e10fc494eb599bc3ff783d |
22 |
DIST awscli-1.20.30.tar.gz 2066899 BLAKE2B 47a111849b14e9cdc24a8fb117711195bee5a7ea73eff2778dcb0f1e0600e04b86f78e1424082f22f655b0c85a3382c2587f495013795126830ace0a4e6a6a72 SHA512 00965738a2dd1faf0331b8b1473969a9e8a4a4ad68e6bb1d0383077494da38a9244a732ae9093eee853b6b6246ff611b6a4f1809d7d2ebda31931eb1fec79148 |
23 |
DIST awscli-1.20.31.tar.gz 2067614 BLAKE2B 28c268f89f733dcf3db18f83abaa312ab25b082f8a2a628889c113d60b54c054d500a5e202724af58801e02cbff74041b0409c3f9d86dda7eea446ec763a69d9 SHA512 5530250de3c0b744bd0df1d2cabc7affa75bc8504dd0b92c0854bc02a96cc8222ef710f3fa2b5ee586da04f4cd4abffd58e5e663a002acc31d106ae479fb0c38 |
24 |
+DIST awscli-1.20.32.tar.gz 2068048 BLAKE2B 396aee12287bad95e825159a4352e3ac259a9e572b593384244fdaa7a9e632cac9fe2115584dcc23cd6feefc6c4f7e6ae5eb1a2a9e7c18c7ac0c750f725204ac SHA512 e46c3e5fc9572ee9d3b4dc186f98801a207b2d9d8d8edfa44676710bf8b175044a7900ef95779cdaf439fc0b492ac933948dd0cc9b0def316468412b50996bc3 |
25 |
DIST awscli-1.20.7.tar.gz 2045304 BLAKE2B d8f086d8d2eb36645e77fa3d9ae7c196ed3a3fddcc2a0218696f92bd69e10b453be1340b965a8d8e6697bbd3c45013d72de3ed0d31b5823515a5a0092a812858 SHA512 a41bd3ebc34a65add66ef95d5194ba07907a08f7368b0fcd6551af2070c46c4a509af47d30aeadabddce19d1a61200a58faf40a7e2f759e64915cfb2826666ab |
26 |
|
27 |
diff --git a/app-admin/awscli/awscli-1.20.32.ebuild b/app-admin/awscli/awscli-1.20.32.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..ff429f8d3a3 |
30 |
--- /dev/null |
31 |
+++ b/app-admin/awscli/awscli-1.20.32.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 |
+} |