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: Tue, 12 Oct 2021 06:18:20
Message-Id: 1634019481.a6388fa0e5d294ff219e3cda373df03e2c3b9c59.mgorny@gentoo
1 commit: a6388fa0e5d294ff219e3cda373df03e2c3b9c59
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 12 05:38:47 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 12 06:18:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6388fa0
7
8 app-admin/awscli: Bump to 1.20.59
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.59.ebuild | 47 ++++++++++++++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
17 index a2be4654b41..f7ce5ca4451 100644
18 --- a/app-admin/awscli/Manifest
19 +++ b/app-admin/awscli/Manifest
20 @@ -7,3 +7,4 @@ DIST awscli-1.20.55.tar.gz 2082482 BLAKE2B 5f8d9d84e6993e22ffd6f1e7e46b0afa2aecd
21 DIST awscli-1.20.56.tar.gz 2082836 BLAKE2B e935334dba5aaa77cbd4fe3adb789c33c9fa80832bf4ad7517024787911e377020e8cdc38b0bd87db81571a2da888acd96306198a66748597495460292286938 SHA512 5b3bfebe217c05df70421b29c6a239a76493898717bd5db10ef7001e6c9af1488a52e6e25ab85b5ed725c87402a562ebe6849eb39743681c644143f17fccc3b6
22 DIST awscli-1.20.57.tar.gz 2083414 BLAKE2B b3d21c0b8ceb0016def4aae9f2485dffd77bdd12a959b6c959d9c10cc3466fad9309a40102409ddf59d372bf95503a6bf87bc454d37400877a7cdc33564c0f45 SHA512 ad5d5a4de8083ce5198a49756da4ef6d630671c49ee0da0c15f06c9af1e92a9c98f2721b06df77adc47ea2b455e80e8aa92238a514039a213acbbf133753b430
23 DIST awscli-1.20.58.tar.gz 2083928 BLAKE2B f8b67baa47ddb468395b0ad2029a85f40ea2241d34b00545d5e6ae9fb407eaa95aff48f3dbe59d2aed309167bb9056b0800987937ef53b0884006100b94150db SHA512 a51f530d3c0938544217febc76adc668b71ebedae2080154716fd4e3293cad8e8ce65f32a4b34f1d8069c42a596f94f123b1b043d55349e7910a98126c7bd9bf
24 +DIST awscli-1.20.59.tar.gz 2084386 BLAKE2B 15a290cc71cf2cf3d85b12def2e9c82619bb2504eafdbe87791689eed3761238dea508d5c6cf966be8b5254bc158ab127368342048e4d81e2b0a3bdfc9d96ddf SHA512 5d488b3cabbc00ebcb46621638d9a988a725e799ed47383f8836cf94abc96cae0d5c74d2e2e37145ab577f53392b300d9a7ece078f46f5f9e59e435e92caf5cf
25
26 diff --git a/app-admin/awscli/awscli-1.20.59.ebuild b/app-admin/awscli/awscli-1.20.59.ebuild
27 new file mode 100644
28 index 00000000000..81d5997098c
29 --- /dev/null
30 +++ b/app-admin/awscli/awscli-1.20.59.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 +}