summaryrefslogtreecommitdiff
path: root/dev-python/awscli
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/awscli')
-rw-r--r--dev-python/awscli/Manifest2
-rw-r--r--dev-python/awscli/awscli-1.19.3.ebuild56
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/awscli/Manifest b/dev-python/awscli/Manifest
index 2f7ff1679117..3c9e7bff4ecb 100644
--- a/dev-python/awscli/Manifest
+++ b/dev-python/awscli/Manifest
@@ -1,3 +1,5 @@
DIST awscli-1.18.160.tar.gz 1882701 BLAKE2B cb797537646f27f8e09ac4674417ecac75fc691d6a7153d92cc810372721f3609ef37288cc8f226f09e1668b732bbe7d0b9195c2d0a29daca537b95181253fe9 SHA512 c69c617af4370f4d646051361cbf6d20add410a70bbc55a3fe3e8d5d957990dcaefa3991d61d14379d156919a2696303adb327ebb45f519fa557493c60f50489
+DIST awscli-1.19.3.tar.gz 1950305 BLAKE2B de9e11c2de811dea812e77a18dc9306044840ea586094cf57602cf4255723a7d94a20de414f8674d1ed6af2eed523024f61719299a3efcc492380d5d80c75575 SHA512 1034b82a9f1f0e92ae65bd28918f6f4422b0347435b4d2567b5004c370cbe1517d7fe275b672afd850ef6b99bee6f0b821097640a482626c800d19d095f42072
EBUILD awscli-1.18.160.ebuild 1292 BLAKE2B b46ef4c0a11ea5c8e7a089365a9b9ccfe22fca2fb34cbbb69385de3a1b8d9c936c56ff833ce8db38ca881ca7d9ad62fc79e8930a2a16dc57c866740d96c8868f SHA512 ace912a19289c9e30356c61fcb94409f21cc1d7ae2ba4f7b12998ba810fb77745d845b1b95d199251c32144ba7a6244f3d318e46fc87d8495a1e0f5c1d777cd7
+EBUILD awscli-1.19.3.ebuild 1279 BLAKE2B 6cfb48d2b1241a914df1fdafecbf0be159ff582a59c5cd4f14f3a5d96ed2c4efd763d99ff7078eee23ea78e042b2ea31bb22c90600a3a21c75c86bc4399c0905 SHA512 0fafb7bfff58cf1612090ae5cd9c4f8ea284ae1151c10ba87e83c427af656711c6f8db4071225199ae31a910de2d1656741612681c7e5148dd6cdb6295588604
MISC metadata.xml 453 BLAKE2B d45517c2fabee8961b00d53a0118966ec7f50b965ca2c42e02b41201baada3ad18d66f1bebc134fa64a524ab9a12302feebe922833d04ac571068b10dd9e9052 SHA512 eed3ecdf6fa24c738554a6f95659835a1d1ab9fb017272226cc54194ee2f35d1ca6adaa52bac44cf4e740c42636f842782e708f38f24b51b7341e47e10ccfeca
diff --git a/dev-python/awscli/awscli-1.19.3.ebuild b/dev-python/awscli/awscli-1.19.3.ebuild
new file mode 100644
index 000000000000..a8cb483409f0
--- /dev/null
+++ b/dev-python/awscli/awscli-1.19.3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit bash-completion-r1 distutils-r1
+
+DESCRIPTION="Universal Command Line Environment for AWS"
+HOMEPAGE="https://pypi.org/project/awscli/"
+#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+# requires network access
+RESTRICT="test"
+
+RDEPEND="
+ =dev-python/botocore-1.20*[${PYTHON_USEDEP}]
+ dev-python/colorama[${PYTHON_USEDEP}]
+ dev-python/docutils[${PYTHON_USEDEP}]
+ dev-python/rsa[${PYTHON_USEDEP}]
+ >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ )
+"
+
+S="${WORKDIR}/aws-cli-${PV}"
+
+python_test() {
+ nosetests -vv || die
+}
+
+python_install_all() {
+ newbashcomp bin/aws_bash_completer aws
+
+ insinto /usr/share/zsh/site-functions
+ newins bin/aws_zsh_completer.sh _aws
+
+ distutils-r1_python_install_all
+
+ rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
+}