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: Mon, 01 Nov 2021 22:16:51
Message-Id: 1635804997.a0398a92c2dd8f887bc8bb23dfe385b6312fda4d.mgorny@gentoo
1 commit: a0398a92c2dd8f887bc8bb23dfe385b6312fda4d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 1 21:45:40 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 1 22:16:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0398a92
7
8 app-admin/awscli: Bump to 1.21.8
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.21.8.ebuild | 47 +++++++++++++++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
17 index 3ffdac22e98..ddc13ce14e3 100644
18 --- a/app-admin/awscli/Manifest
19 +++ b/app-admin/awscli/Manifest
20 @@ -4,3 +4,4 @@ DIST awscli-1.20.65.tar.gz 2091702 BLAKE2B e8295cf4e859c1e642077f4014fdea333292e
21 DIST awscli-1.21.5.tar.gz 2095418 BLAKE2B 152d0ac70e9e0120fb9b10451904af52035bce84168c055695e7dc93e56648bd7689f20ac0ecdbdfc54ccb846d51b33027d2e9ee09c5e5d1e915c0ec05b0fbfe SHA512 e3063252a50fc6033669a0ff80f82d73764a6728d623d75a27f0652e779cbeb452454d887bf5bd70199a7394df40f9758b14619778c6428a164d590e6c8aaa89
22 DIST awscli-1.21.6.tar.gz 2095961 BLAKE2B 7c765168604cf98f2c1be1aebf1cacb425124dff51a0a1ba1792634187feab6361d740aa743eda7d41a671300d4196e852640e04f56aa399752ce3305ac1ce86 SHA512 912d81f96cef3ae1c2a0969050e1bce304d1019a98d6bf16e45de50c66f85f6f69a10ceffeae773aafa002227e657861a9f41d123368c1b4a93b5d49747137d3
23 DIST awscli-1.21.7.tar.gz 2095914 BLAKE2B 6cb53fab223941a41eceeb8430d7158bc14da670a42609707ee5aea02a7e9d43f32fd7118ef7ab4ede54dd5312a4907eac7aa0e040d775ca7f606049dfc1a090 SHA512 8bf7dd4aaab890e4269a02fdd8735dd918a31783128dab46bc5077310ca385717fe4da913c2fb3c36e1132eaaea40cb7c4f434d6060fe27cd4bfc704581cd1e0
24 +DIST awscli-1.21.8.tar.gz 2096389 BLAKE2B 5af0d744e243f9251a4d70914db58d2e154959505960fc93de6804951c4f41851072f7431f13e91b0d8ac96e349bdfc67517e2166e33e4224a68f91d9d7749c4 SHA512 3ca4913070ed468ea95376b5e571244af8bc562972c1894b4144b7e5e1c6937f298267d9e4db65549fcd61f6b6b552354070091c5b387b6e10f67f8a36e3611c
25
26 diff --git a/app-admin/awscli/awscli-1.21.8.ebuild b/app-admin/awscli/awscli-1.21.8.ebuild
27 new file mode 100644
28 index 00000000000..81d5997098c
29 --- /dev/null
30 +++ b/app-admin/awscli/awscli-1.21.8.ebuild
31 @@ -0,0 +1,47 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +inherit bash-completion-r1 distutils-r1
39 +
40 +DESCRIPTION="Universal Command Line Environment for AWS"
41 +HOMEPAGE="https://pypi.org/project/awscli/"
42 +#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
43 +SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +S="${WORKDIR}/aws-cli-${PV}"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm64 ~x86"
49 +
50 +# botocore is x.(y+1).z
51 +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
52 +RDEPEND="
53 + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
54 + dev-python/colorama[${PYTHON_USEDEP}]
55 + dev-python/docutils[${PYTHON_USEDEP}]
56 + dev-python/rsa[${PYTHON_USEDEP}]
57 + >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
58 + dev-python/pyyaml[${PYTHON_USEDEP}]
59 +"
60 +
61 +distutils_enable_tests --install pytest
62 +
63 +python_test() {
64 + distutils_install_for_testing
65 + # integration tests require AWS credentials and Internet access
66 + epytest tests/{functional,unit}
67 +}
68 +
69 +python_install_all() {
70 + newbashcomp bin/aws_bash_completer aws
71 +
72 + insinto /usr/share/zsh/site-functions
73 + newins bin/aws_zsh_completer.sh _aws
74 +
75 + distutils-r1_python_install_all
76 +
77 + rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
78 +}