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, 18 Oct 2021 20:40:39
Message-Id: 1634589622.9d35a06cca2f8eda769dbfb2847b87538fa5a695.mgorny@gentoo
1 commit: 9d35a06cca2f8eda769dbfb2847b87538fa5a695
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 18 20:08:21 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 18 20:40:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d35a06c
7
8 app-admin/awscli: Bump to 1.20.64
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.64.ebuild | 47 ++++++++++++++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
17 index 60be88c9cc1..0cc9e8a6b52 100644
18 --- a/app-admin/awscli/Manifest
19 +++ b/app-admin/awscli/Manifest
20 @@ -3,3 +3,4 @@ DIST awscli-1.20.60.tar.gz 2090278 BLAKE2B 107d4d34730769fe18729cc2a42a574c8b66d
21 DIST awscli-1.20.61.tar.gz 2090747 BLAKE2B ddd0ca28f0f36a69e0d03a15bab142df35f4695a1e3f2c71f3507325050aceb088a53cb18dc17c80b7c90e8bba7aee377ab4bf336188ae19adb095df4cfd5bd2 SHA512 c0ed1fdd11022c897e31f83be97bddc2dbc8d53e6571ffb5c5592f406f88c30eeb36f7530b541a7102a4426b1bf14114db08667e3c03e3583f3130e3e50767e4
22 DIST awscli-1.20.62.tar.gz 2091052 BLAKE2B 95043ddac83c71a6153eb84b9e2e48ea5659d300fdec3bf4c7d0356d214da7a5ec15a0777c1eb41f275a2ee6fdf7996d28082fe604825234226a415e9c12181c SHA512 6f33f1a02703b81813c56872f4a90e712ef60775854d88f256c1c6fa487678f6bc8f5d8a4345b2a064ff18afaf9f5e336f4af0257fc746d83a703fcc4a655bc4
23 DIST awscli-1.20.63.tar.gz 2091148 BLAKE2B 12e6aebf29b5d91b191f87568fb605513c86d30c2a4d6b553ab2a0fb90b6aa0bd4b7024981671566f0646811f39a88bc16ac888f511c29b0e459f86440300304 SHA512 adb57d355a7ba70cf166ea1544df4274caaedbea1a2c4ba7895be600a76d8ef0129ca20c6d03d702c073d21dfa4f70fa3f5488266dc0cc5ef7f5d952b6d6ee6f
24 +DIST awscli-1.20.64.tar.gz 2091360 BLAKE2B 24a0838f1348a05392736f580816b968cd28a252ade31559241fadc5cb2a36dcb6f31c8743c484879fc523b0282381625cbabd58656a00cce0dcb81a6b0319d4 SHA512 a3c0b393e9a5e7aee0e4e4bab14f2cb2c0877b22ead0547d99b430e24bd927391536bbae8b612612b9437dc0dba2cd804a858bddc980d29a74afac434ddc3ab3
25
26 diff --git a/app-admin/awscli/awscli-1.20.64.ebuild b/app-admin/awscli/awscli-1.20.64.ebuild
27 new file mode 100644
28 index 00000000000..81d5997098c
29 --- /dev/null
30 +++ b/app-admin/awscli/awscli-1.20.64.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 +}