Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/awscli/
Date: Wed, 01 Sep 2021 04:55:33
Message-Id: 1630472120.aef4836e846036022ee31097103c53c09a3265a5.mgorny@gentoo
1 commit: aef4836e846036022ee31097103c53c09a3265a5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 1 04:43:04 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 1 04:55:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aef4836e
7
8 app-admin/awscli: Bump to 1.20.33
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.33.ebuild | 58 ++++++++++++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
17 index af8a5152faa..11f34af475a 100644
18 --- a/app-admin/awscli/Manifest
19 +++ b/app-admin/awscli/Manifest
20 @@ -9,4 +9,5 @@ DIST awscli-1.20.29.tar.gz 2058922 BLAKE2B e0455b2d5475a1d070d0b97f5e321f884ad7d
21 DIST awscli-1.20.30.tar.gz 2066899 BLAKE2B 47a111849b14e9cdc24a8fb117711195bee5a7ea73eff2778dcb0f1e0600e04b86f78e1424082f22f655b0c85a3382c2587f495013795126830ace0a4e6a6a72 SHA512 00965738a2dd1faf0331b8b1473969a9e8a4a4ad68e6bb1d0383077494da38a9244a732ae9093eee853b6b6246ff611b6a4f1809d7d2ebda31931eb1fec79148
22 DIST awscli-1.20.31.tar.gz 2067614 BLAKE2B 28c268f89f733dcf3db18f83abaa312ab25b082f8a2a628889c113d60b54c054d500a5e202724af58801e02cbff74041b0409c3f9d86dda7eea446ec763a69d9 SHA512 5530250de3c0b744bd0df1d2cabc7affa75bc8504dd0b92c0854bc02a96cc8222ef710f3fa2b5ee586da04f4cd4abffd58e5e663a002acc31d106ae479fb0c38
23 DIST awscli-1.20.32.tar.gz 2068048 BLAKE2B 396aee12287bad95e825159a4352e3ac259a9e572b593384244fdaa7a9e632cac9fe2115584dcc23cd6feefc6c4f7e6ae5eb1a2a9e7c18c7ac0c750f725204ac SHA512 e46c3e5fc9572ee9d3b4dc186f98801a207b2d9d8d8edfa44676710bf8b175044a7900ef95779cdaf439fc0b492ac933948dd0cc9b0def316468412b50996bc3
24 +DIST awscli-1.20.33.tar.gz 2067909 BLAKE2B cabdca002d42220286cd3352e8c1b4f21aa28a7898676f7e9403da894c7e2756865d47f4b541ba44acbfc926823671748dbabc0c776ae4767b4ff8d73918ff82 SHA512 3a8b3474eb2056be33aff65bfa3f421f4ff3fbc0ea74f6dec53d7eb961d5f1938b92f7a403b3fe6afa52e403a174bab44b8f5ba71632fd7609f9ba2e1084b4fd
25 DIST awscli-1.20.7.tar.gz 2045304 BLAKE2B d8f086d8d2eb36645e77fa3d9ae7c196ed3a3fddcc2a0218696f92bd69e10b453be1340b965a8d8e6697bbd3c45013d72de3ed0d31b5823515a5a0092a812858 SHA512 a41bd3ebc34a65add66ef95d5194ba07907a08f7368b0fcd6551af2070c46c4a509af47d30aeadabddce19d1a61200a58faf40a7e2f759e64915cfb2826666ab
26
27 diff --git a/app-admin/awscli/awscli-1.20.33.ebuild b/app-admin/awscli/awscli-1.20.33.ebuild
28 new file mode 100644
29 index 00000000000..ff429f8d3a3
30 --- /dev/null
31 +++ b/app-admin/awscli/awscli-1.20.33.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 +}