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: Fri, 17 Sep 2021 22:22:58
Message-Id: 1631916029.357c38901c566bcb465e4c6292159110301e81a2.mgorny@gentoo
1 commit: 357c38901c566bcb465e4c6292159110301e81a2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 17 22:00:29 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 17 22:00:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=357c3890
7
8 app-admin/awscli: Bump to 1.20.44
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.44.ebuild | 58 ++++++++++++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
17 index 60913566a3a..e8e73607355 100644
18 --- a/app-admin/awscli/Manifest
19 +++ b/app-admin/awscli/Manifest
20 @@ -3,3 +3,4 @@ DIST awscli-1.20.40.tar.gz 2071857 BLAKE2B b2511d610c13b4ddf8b1f5c6442f0939072ee
21 DIST awscli-1.20.41.tar.gz 2071927 BLAKE2B 4d7ec9e3c2af3f44cbce9459ef12c8191ae72b3313e266a2ac8f39cd2197129ae66893152c6077326c8315d4098608cb11019ad3cc19fdd057508db4f6c3a0d8 SHA512 6d022575d2bded2245bb17e8605e929a8ff2e91e79f907e21a0eaaf027e2fb657b96573531226cd63a34b0a0523a6747c7c4f9652ee10b09fd8b6d09e9c8fc9c
22 DIST awscli-1.20.42.tar.gz 2072504 BLAKE2B 5f6f38f8c96350b670c15cd6cfdd1556cbbfab95b7bfec5ff3ac9a96b56d733bb112b18f04d5d5ce9674a0ebb3d41e7b7f1ad81881c486f99463ce22270e0574 SHA512 29daa2c526b7605fbd1c588b00906f3cdf159570a543cc9c442e28af9f98725b8a0a8f9d61110e90f56744dea6a6abf92f052b85695f3a84bddabb24eff650f6
23 DIST awscli-1.20.43.tar.gz 2073056 BLAKE2B e4d3301022083db4b4dd59ce9d0acc5b2ef2ba2359236bebb11b024dcf681deedbd0df8a7cf143503318dc66a9d69305fefc97dc3407bdb77985fd0854ba7915 SHA512 5fb9a6f18a04640bdee94b80aa5b5893dbcc9316c06f543ec8491fef3db4394d6d1aa2cf35972cec04e6c8c74c9111fab71d007b63c4a3152aad80b099d5c43e
24 +DIST awscli-1.20.44.tar.gz 2073627 BLAKE2B 906e03139bde50724348b445750bcc2b286fe33c0ba8873e0373bfc4f62124a25a400821cd8d3608f3f52fe8a3649218c5c10bebad8a5887b131088aab80220d SHA512 58a7232e1708791cf4d9149aab6afebca50e422a0cdf10215aed9ea1e4f71daeb64253bcc12c4934737fe2f5688dc50e6cf8fde1335c99338804590030b0973c
25
26 diff --git a/app-admin/awscli/awscli-1.20.44.ebuild b/app-admin/awscli/awscli-1.20.44.ebuild
27 new file mode 100644
28 index 00000000000..ff429f8d3a3
29 --- /dev/null
30 +++ b/app-admin/awscli/awscli-1.20.44.ebuild
31 @@ -0,0 +1,58 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="7"
36 +
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +
39 +inherit bash-completion-r1 distutils-r1
40 +
41 +DESCRIPTION="Universal Command Line Environment for AWS"
42 +HOMEPAGE="https://pypi.org/project/awscli/"
43 +#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
44 +SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 +S="${WORKDIR}/aws-cli-${PV}"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~arm64 ~x86"
50 +
51 +# botocore is x.(y+1).z
52 +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
53 +RDEPEND="
54 + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
55 + dev-python/colorama[${PYTHON_USEDEP}]
56 + dev-python/docutils[${PYTHON_USEDEP}]
57 + dev-python/rsa[${PYTHON_USEDEP}]
58 + >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
59 + dev-python/pyyaml[${PYTHON_USEDEP}]
60 +"
61 +BDEPEND="
62 + test? (
63 + dev-python/mock[${PYTHON_USEDEP}]
64 + )
65 +"
66 +
67 +distutils_enable_tests --install nose
68 +
69 +PATCHES=(
70 + "${FILESDIR}"/awscli-1.19.47-py39.patch
71 +)
72 +
73 +python_test() {
74 + distutils_install_for_testing
75 + # integration tests require AWS credentials and Internet access
76 + nosetests -v tests/{functional,unit} ||
77 + die "Tests failed for ${EPYTHON}"
78 +}
79 +
80 +python_install_all() {
81 + newbashcomp bin/aws_bash_completer aws
82 +
83 + insinto /usr/share/zsh/site-functions
84 + newins bin/aws_zsh_completer.sh _aws
85 +
86 + distutils-r1_python_install_all
87 +
88 + rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
89 +}