diff options
author | Piotr Karbowski <slashbeast@gentoo.org> | 2021-04-08 22:53:21 +0200 |
---|---|---|
committer | Piotr Karbowski <slashbeast@gentoo.org> | 2021-04-08 23:02:46 +0200 |
commit | d1cf1ea8d7d54ed3bdf75013577c3c272be2878e (patch) | |
tree | f69bd0c2200e577e10f64f180224f9f386128dff /dev-python/awscli | |
parent | dev-util/rizin: add 0.2.0 (diff) | |
download | gentoo-d1cf1ea8d7d54ed3bdf75013577c3c272be2878e.tar.gz gentoo-d1cf1ea8d7d54ed3bdf75013577c3c272be2878e.tar.bz2 gentoo-d1cf1ea8d7d54ed3bdf75013577c3c272be2878e.zip |
dev-python/awscli: 1.19.47 version bump.
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'dev-python/awscli')
-rw-r--r-- | dev-python/awscli/Manifest | 1 | ||||
-rw-r--r-- | dev-python/awscli/awscli-1.19.47.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/awscli/Manifest b/dev-python/awscli/Manifest index 8d710f9bd6d0..059288214fa3 100644 --- a/dev-python/awscli/Manifest +++ b/dev-python/awscli/Manifest @@ -1 +1,2 @@ DIST awscli-1.19.3.tar.gz 1950305 BLAKE2B de9e11c2de811dea812e77a18dc9306044840ea586094cf57602cf4255723a7d94a20de414f8674d1ed6af2eed523024f61719299a3efcc492380d5d80c75575 SHA512 1034b82a9f1f0e92ae65bd28918f6f4422b0347435b4d2567b5004c370cbe1517d7fe275b672afd850ef6b99bee6f0b821097640a482626c800d19d095f42072 +DIST awscli-1.19.47.tar.gz 1990843 BLAKE2B c894aaf84d5fe7cb8998fcd682783a1f2e75dd9273a2aa22babe4d57175a1716aefccda50edb96a1203f010dbb2af29cd47d43b5d5f94adfdee1730ab98345af SHA512 7d51022e13609f5f5ab3155e3ac09670c7e49508d67eca8cb477e556e4b06b7643e86bdfe5fa8db59360f6d73e5774b433cb7093c25d6b688f98847b502872b7 diff --git a/dev-python/awscli/awscli-1.19.47.ebuild b/dev-python/awscli/awscli-1.19.47.ebuild new file mode 100644 index 000000000000..4036d6987c7a --- /dev/null +++ b/dev-python/awscli/awscli-1.19.47.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 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 +} |