1 |
commit: 6f48e82d98d89fec91a7502792b212f7bddbcfd0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 29 05:09:39 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 29 05:51:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f48e82d |
7 |
|
8 |
app-admin/awscli: Bump to 1.20.9 |
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.9.ebuild | 58 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest |
17 |
index 6a8ea305894..a70f39c9068 100644 |
18 |
--- a/app-admin/awscli/Manifest |
19 |
+++ b/app-admin/awscli/Manifest |
20 |
@@ -9,3 +9,4 @@ DIST awscli-1.20.5.tar.gz 2043880 BLAKE2B f4b833baf883479ed63e09de998b41e0e0e880 |
21 |
DIST awscli-1.20.6.tar.gz 2044686 BLAKE2B 6513afc020855a103c5a4ee2b2aa6fc7355f2ebc445d3a89403045a8111a6beef7b934640de020a43fdd670fd4efb2f02dc907826b6a8f3335f6119267dfba10 SHA512 f53a56ae1aed266a4c6bd9236b15a070feaca804ea5276dbe0ad01e006866a17f2ab965ff086640cf62e002da0033c9091c56de1eb4b89a25cbeed329fd63e08 |
22 |
DIST awscli-1.20.7.tar.gz 2045304 BLAKE2B d8f086d8d2eb36645e77fa3d9ae7c196ed3a3fddcc2a0218696f92bd69e10b453be1340b965a8d8e6697bbd3c45013d72de3ed0d31b5823515a5a0092a812858 SHA512 a41bd3ebc34a65add66ef95d5194ba07907a08f7368b0fcd6551af2070c46c4a509af47d30aeadabddce19d1a61200a58faf40a7e2f759e64915cfb2826666ab |
23 |
DIST awscli-1.20.8.tar.gz 2046203 BLAKE2B 12fb4b26f030667f43778fc713fc83becb2bb78b9f5b7b9de1faae1b74207e27487bc4731e234767b11ce152cfbfb5b41fcf66e4d4793b0a754a7634219d455a SHA512 11861a471a3d43305dbc2d18b50848849736c6e55a0ed6ae0d7bafe73389a6011100b6b0ccbec243ea2f2846e8e689412d04a68bcf8324027a03f31062807dec |
24 |
+DIST awscli-1.20.9.tar.gz 2046575 BLAKE2B 68a99843ead460aa0de60368f1cd8d91c32840fb8a9d251aad0cd787a2e6fe968716436cf32c94b779f6718356b5303f417b850d6a8a31ab1519c385b5c93799 SHA512 655e6eef77a0759e77d2b2c1db922048cdd270d693d9bae08dea6576f3eb5fc4e20a050364ab3dfbaf3a54d9a8fc08c97a6329f30fcf51f38a4de456e76e2b5d |
25 |
|
26 |
diff --git a/app-admin/awscli/awscli-1.20.9.ebuild b/app-admin/awscli/awscli-1.20.9.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..ff429f8d3a3 |
29 |
--- /dev/null |
30 |
+++ b/app-admin/awscli/awscli-1.20.9.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 |
+} |