1 |
commit: 3c64a375f7044b33e518b2b4bf5733c5591d39d8 |
2 |
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 7 18:01:56 2021 +0000 |
4 |
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 7 18:03:51 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c64a375 |
7 |
|
8 |
dev-python/awscli: 1.19.3 bump |
9 |
|
10 |
- Switch to botocore 1.20* |
11 |
- Depin the pyyaml and colorama deps -- awscli seems to work just fine |
12 |
with latest, and upstream is insanely slow to bump the setup.py |
13 |
install_required. pyyaml also have security bugs in older version. |
14 |
|
15 |
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org> |
16 |
|
17 |
dev-python/awscli/Manifest | 1 + |
18 |
dev-python/awscli/awscli-1.19.3.ebuild | 56 ++++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 57 insertions(+) |
20 |
|
21 |
diff --git a/dev-python/awscli/Manifest b/dev-python/awscli/Manifest |
22 |
index 45c2d3841b1..80f42185a2c 100644 |
23 |
--- a/dev-python/awscli/Manifest |
24 |
+++ b/dev-python/awscli/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST awscli-1.18.160.tar.gz 1882701 BLAKE2B cb797537646f27f8e09ac4674417ecac75fc691d6a7153d92cc810372721f3609ef37288cc8f226f09e1668b732bbe7d0b9195c2d0a29daca537b95181253fe9 SHA512 c69c617af4370f4d646051361cbf6d20add410a70bbc55a3fe3e8d5d957990dcaefa3991d61d14379d156919a2696303adb327ebb45f519fa557493c60f50489 |
27 |
+DIST awscli-1.19.3.tar.gz 1950305 BLAKE2B de9e11c2de811dea812e77a18dc9306044840ea586094cf57602cf4255723a7d94a20de414f8674d1ed6af2eed523024f61719299a3efcc492380d5d80c75575 SHA512 1034b82a9f1f0e92ae65bd28918f6f4422b0347435b4d2567b5004c370cbe1517d7fe275b672afd850ef6b99bee6f0b821097640a482626c800d19d095f42072 |
28 |
|
29 |
diff --git a/dev-python/awscli/awscli-1.19.3.ebuild b/dev-python/awscli/awscli-1.19.3.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..a8cb483409f |
32 |
--- /dev/null |
33 |
+++ b/dev-python/awscli/awscli-1.19.3.ebuild |
34 |
@@ -0,0 +1,56 @@ |
35 |
+# Copyright 1999-2020 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI="7" |
39 |
+ |
40 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
41 |
+ |
42 |
+inherit bash-completion-r1 distutils-r1 |
43 |
+ |
44 |
+DESCRIPTION="Universal Command Line Environment for AWS" |
45 |
+HOMEPAGE="https://pypi.org/project/awscli/" |
46 |
+#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
47 |
+SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="Apache-2.0" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
52 |
+IUSE="test" |
53 |
+ |
54 |
+# requires network access |
55 |
+RESTRICT="test" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ =dev-python/botocore-1.20*[${PYTHON_USEDEP}] |
59 |
+ dev-python/colorama[${PYTHON_USEDEP}] |
60 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
61 |
+ dev-python/rsa[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] |
63 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
64 |
+" |
65 |
+DEPEND="${RDEPEND}" |
66 |
+ |
67 |
+BDEPEND=" |
68 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
69 |
+ test? ( |
70 |
+ dev-python/mock[${PYTHON_USEDEP}] |
71 |
+ dev-python/nose[${PYTHON_USEDEP}] |
72 |
+ ) |
73 |
+" |
74 |
+ |
75 |
+S="${WORKDIR}/aws-cli-${PV}" |
76 |
+ |
77 |
+python_test() { |
78 |
+ nosetests -vv || die |
79 |
+} |
80 |
+ |
81 |
+python_install_all() { |
82 |
+ newbashcomp bin/aws_bash_completer aws |
83 |
+ |
84 |
+ insinto /usr/share/zsh/site-functions |
85 |
+ newins bin/aws_zsh_completer.sh _aws |
86 |
+ |
87 |
+ distutils-r1_python_install_all |
88 |
+ |
89 |
+ rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
90 |
+} |