diff options
author | Piotr Karbowski <slashbeast@gentoo.org> | 2020-10-20 23:46:02 +0200 |
---|---|---|
committer | Piotr Karbowski <slashbeast@gentoo.org> | 2020-10-21 09:33:02 +0200 |
commit | 3b5276431547b6ee0278af3d5cbb77ff55714aed (patch) | |
tree | 8dd72587647e7645880bbe3d4eee4ab764e1ad12 /dev-python/awscli | |
parent | net-fs/samba: Require dbus when using avahi (diff) | |
download | gentoo-3b5276431547b6ee0278af3d5cbb77ff55714aed.tar.gz gentoo-3b5276431547b6ee0278af3d5cbb77ff55714aed.tar.bz2 gentoo-3b5276431547b6ee0278af3d5cbb77ff55714aed.zip |
dev-python/awscli: 1.18.160 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.18.160.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/awscli/Manifest b/dev-python/awscli/Manifest index 778b05ea1a39..71c4633b7eca 100644 --- a/dev-python/awscli/Manifest +++ b/dev-python/awscli/Manifest @@ -1 +1,2 @@ DIST awscli-1.18.142.tar.gz 1871785 BLAKE2B 50c5fbfb34ad6c4e1f229fb5394e9e3ecec6ee18fa64ddab908e883ec6e9e24338a4aaebc53069651c161386b59f7ef0c699530a57c51264c367feb1dd5a9c63 SHA512 4bb49ea8617f5f4c55bf7ef531a7023299580a2e8aed52981fbb5da199e73912082cad198e00a590cfd8208dacefa70a3dccf257d7186ce96d68b87b6723639a +DIST awscli-1.18.160.tar.gz 1882701 BLAKE2B cb797537646f27f8e09ac4674417ecac75fc691d6a7153d92cc810372721f3609ef37288cc8f226f09e1668b732bbe7d0b9195c2d0a29daca537b95181253fe9 SHA512 c69c617af4370f4d646051361cbf6d20add410a70bbc55a3fe3e8d5d957990dcaefa3991d61d14379d156919a2696303adb327ebb45f519fa557493c60f50489 diff --git a/dev-python/awscli/awscli-1.18.160.ebuild b/dev-python/awscli/awscli-1.18.160.ebuild new file mode 100644 index 000000000000..a3ae0c3f913a --- /dev/null +++ b/dev-python/awscli/awscli-1.18.160.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_{6,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" +IUSE="test" + +# requires network access +RESTRICT="test" + +RDEPEND=" + =dev-python/botocore-1.19*[${PYTHON_USEDEP}] + <dev-python/colorama-0.4.4[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] + <dev-python/pyyaml-5.4.0[${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 +} |