Skip to content

Commit

Permalink
dev-python/awscli: bump to v1.18.16
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.91, Repoman-2.3.20
Signed-off-by: Thomas Deutschmann <[email protected]>
  • Loading branch information
Whissi committed Mar 9, 2020
1 parent ce7cdfc commit 4417dce
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-python/awscli/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ DIST awscli-1.16.310.tar.gz 1615978 BLAKE2B ca5d4f6d7cc12b7346eedda837eb4c9c4704
DIST awscli-1.16.314.tar.gz 1645286 BLAKE2B 085bab3971ed037a23fbd336f367becf2cc4aded04def176fbe6e073b5e010af4aeb0c0e6b43212837a2544ff6734f73e4a2165f61744263649c4a0b21a43424 SHA512 6268ba5a7332c8a7ba36602cd1ee55dfc4dbbf14124c20b5ec1e524a88db11e2f57e7a553882b774a25376c5c2b280c2863c4253ff4a994b72049c361ffddc58
DIST awscli-1.17.17.tar.gz 1695067 BLAKE2B 5b3db22f3c4f2ad2ed993db76313e4fc5ebba7ae8f43b29d6d8ffb9b1b13bbf4b82e8bbe972db709f319dbd6150046fd51afb7338efedb4f021509ecb4422914 SHA512 72b3d8147b5c08685bb851bbba5d27fe0de55124acf0163868e98bf0bb9000309f00ff646e4b38f2bce291edfdfeeb72f449dbde77ea8ba5aa3b853d82c1393b
DIST awscli-1.17.7.tar.gz 1661103 BLAKE2B c88e119672284e60a6de54bd60f9096640e6115e45df3cecb61d8dc037b5880caf2d3aeb192b6fd06fd8667d7dcb948c1d6aaf3d0942796c3eb886e96534a627 SHA512 6cbe4458fcda6e4afd3cd14b654bf0eecaa611210430edc9c9b6edf18b2f4ecfa042c495a6bba9a7a46732e68bbe87ac111566c0f5786d7482e4d150cf7e59f7
DIST awscli-1.18.16.tar.gz 1715973 BLAKE2B 3c61ed7954eb6262b51d79aa5a11bb5b1293056acd4557ba6bd5506c255919fe7926c3f8d0334825c55a87a9e3d9290c7d07b478397bafd2755f22dde8b44bb5 SHA512 8fbf134d8b99b38ea9bdd68f8c2d24fc8ee21e7f542d5acef0cb0d7f1e631faa209c5631504fdee140ea940333877a090064ac75c96850b814a08bfde29faa3e
DIST awscli-1.18.5.tar.gz 1695943 BLAKE2B e4ca700d35a918b61ca82cf7468f54c68de6cbc76ed01319e1c4aa073fde5c6678766ae43ff6f92920391a6adb1e844292e5575eefe48d9c1478b90f42372b91 SHA512 48e2b74d4cbee54eeba2cc09fcea5ea90f222def136a9bc71cb60d6ec4247f1f6b3f38b3360721dfe62f84aac363e9319c1252b73ab58faa93ea971fbf79474f
56 changes: 56 additions & 0 deletions dev-python/awscli/awscli-1.18.16.ebuild
Original file line number Diff line number Diff line change
@@ -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} )

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"
IUSE="test"

# requires network access
RESTRICT="test"

RDEPEND="
>=dev-python/botocore-1.15.16[${PYTHON_USEDEP}]
<dev-python/colorama-0.4.2[${PYTHON_USEDEP}]
dev-python/docutils[${PYTHON_USEDEP}]
<dev-python/rsa-3.5.0.0[${PYTHON_USEDEP}]
>=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
<dev-python/pyyaml-5.3.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
}

0 comments on commit 4417dce

Please sign in to comment.