1 |
commit: 070f87608556531a768024550b6bc52e083a8a4b |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 31 11:52:30 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 31 11:53:19 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=070f8760 |
7 |
|
8 |
dev-python/awscli: bump to v1.18.32 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/714866 |
11 |
Closes: https://bugs.gentoo.org/708682 |
12 |
Package-Manager: Portage-2.3.96, Repoman-2.3.22 |
13 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
14 |
|
15 |
dev-python/awscli/Manifest | 1 + |
16 |
dev-python/awscli/awscli-1.18.32.ebuild | 56 +++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 57 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/awscli/Manifest b/dev-python/awscli/Manifest |
20 |
index 15d1146d584..965a07c651a 100644 |
21 |
--- a/dev-python/awscli/Manifest |
22 |
+++ b/dev-python/awscli/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST awscli-1.18.16.tar.gz 1715973 BLAKE2B 3c61ed7954eb6262b51d79aa5a11bb5b1293056acd4557ba6bd5506c255919fe7926c3f8d0334825c55a87a9e3d9290c7d07b478397bafd2755f22dde8b44bb5 SHA512 8fbf134d8b99b38ea9bdd68f8c2d24fc8ee21e7f542d5acef0cb0d7f1e631faa209c5631504fdee140ea940333877a090064ac75c96850b814a08bfde29faa3e |
25 |
+DIST awscli-1.18.32.tar.gz 1719753 BLAKE2B a7640bf78fe33736b73b7820273b75376eedc0945cbb441a1a3a36119a3c629e2bc16f1a6f6bd83ebd48bc77c2f68670886eebaa84d54cfcd4305b518999ce63 SHA512 3b88afbd08252ce8c7b1e5e67dfab73a6d46f7f4465c247077a136f1de981611b42d001bdc920bca78acbb395ffe294bbbb011fbcb1fdae253f27ced4a1f1141 |
26 |
|
27 |
diff --git a/dev-python/awscli/awscli-1.18.32.ebuild b/dev-python/awscli/awscli-1.18.32.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..0adfaaf427f |
30 |
--- /dev/null |
31 |
+++ b/dev-python/awscli/awscli-1.18.32.ebuild |
32 |
@@ -0,0 +1,56 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="7" |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
39 |
+ |
40 |
+inherit bash-completion-r1 distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Universal Command Line Environment for AWS" |
43 |
+HOMEPAGE="https://pypi.org/project/awscli/" |
44 |
+#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
45 |
+SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64" |
50 |
+IUSE="test" |
51 |
+ |
52 |
+# requires network access |
53 |
+RESTRICT="test" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ >=dev-python/botocore-1.15.32[${PYTHON_USEDEP}] |
57 |
+ <dev-python/colorama-0.4.4[${PYTHON_USEDEP}] |
58 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
59 |
+ <dev-python/rsa-3.5.0.0[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] |
61 |
+ <dev-python/pyyaml-5.4.0[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+DEPEND="${RDEPEND}" |
64 |
+ |
65 |
+BDEPEND=" |
66 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
67 |
+ test? ( |
68 |
+ dev-python/mock[${PYTHON_USEDEP}] |
69 |
+ dev-python/nose[${PYTHON_USEDEP}] |
70 |
+ ) |
71 |
+" |
72 |
+ |
73 |
+S="${WORKDIR}/aws-cli-${PV}" |
74 |
+ |
75 |
+python_test() { |
76 |
+ nosetests -vv || die |
77 |
+} |
78 |
+ |
79 |
+python_install_all() { |
80 |
+ newbashcomp bin/aws_bash_completer aws |
81 |
+ |
82 |
+ insinto /usr/share/zsh/site-functions |
83 |
+ newins bin/aws_zsh_completer.sh _aws |
84 |
+ |
85 |
+ distutils-r1_python_install_all |
86 |
+ |
87 |
+ rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
88 |
+} |