1 |
commit: 9f82dc65cbcf04a09e73802349a4657b351c259b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 29 21:17:44 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 29 21:59:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f82dc65 |
7 |
|
8 |
app-admin/awscli: Bump to 1.20.51 |
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.51.ebuild | 47 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest |
17 |
index ba9d237be24..6da2708fce9 100644 |
18 |
--- a/app-admin/awscli/Manifest |
19 |
+++ b/app-admin/awscli/Manifest |
20 |
@@ -10,3 +10,4 @@ DIST awscli-1.20.47.tar.gz 2079314 BLAKE2B 2c202ed3e3527a6881c3f9ca73e8639732442 |
21 |
DIST awscli-1.20.48.tar.gz 2079233 BLAKE2B 9871d66b2acfb83572e200c8c6951f8ccab0c26ee4296c5e64329be6757727be7f33cc8c5788852191425c528524ab8a5917331b933fc16efc3e41a5f24e8500 SHA512 1ba5d2da32fbb7fe9bed552b06e793ccb97f40c9391f2c08f0799ec49efef832c855347168a8d42fc6757cb88ef68fa15ae4cc50fce60024ebb0e341abcf0b37 |
22 |
DIST awscli-1.20.49.tar.gz 2079908 BLAKE2B 7aac4ff54993b70eed395ab625c6b1ed9631465f7a7672f58575a8f563036b1c03cf761bf47e7c6e36ce24066a603015684020f551180891467469b76d3d4e28 SHA512 846bf1de3d2a4305cf0d4980e2c9422d5ae517e01bf6c7cecedf96308a0fe030928feb0efefec074ca304b429b71e0e22070bec323998edd4109d16d20349e6f |
23 |
DIST awscli-1.20.50.tar.gz 2079977 BLAKE2B f6cd055fb74641023bbfa664a817ac19dcfa1d6a33489cd70e4d2255bd8dbe35aa900e88c312b26db77ff066c7b513e758ef67e42e44e6e7d48b2599359251db SHA512 d01c648bfb089e9663ecc9976a60e865155462fd7ad97714e0959b867126b7031433e59716edc31e08893c77f09e92c8885c8df5dbaf7715eac592bf634ef5d7 |
24 |
+DIST awscli-1.20.51.tar.gz 2080377 BLAKE2B b7d32d129956817c98f43ea44200027389569e1484d568e3632f71c527a77ffb5e15045ce64fae72d9835856e81fea091f2fde293626e918cacf52c933204d35 SHA512 1cab00c694f19bbd14c4a0da01a28ef19eca00b03b1da377d2ee7b03e3c397c99f49fc2994679a08211ba41f583d5b2d1b39dac9990a3dc5ebfd121a376b7ca3 |
25 |
|
26 |
diff --git a/app-admin/awscli/awscli-1.20.51.ebuild b/app-admin/awscli/awscli-1.20.51.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..81d5997098c |
29 |
--- /dev/null |
30 |
+++ b/app-admin/awscli/awscli-1.20.51.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 |
+} |