1
0
Fork 0

Add latest aws-cli

This commit is contained in:
Stefan Reimer 2015-10-02 11:52:48 -07:00
parent 5297a58402
commit ef5c2a2a74
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST aws-cli-1.8.9.tar.gz 733188 SHA256 55c206db87ada46ca06f41065f35490f6907fad7f295d2c3e0dbd2b4cdbdb6ba SHA512 0dc66d2fa8c24584ce8a22200934eb94cf1fd2c89d1ece04af6b518e66cdbe22feb41e60d67029cacc625b7c1054271cef392b9e906c44b18405bddfcef1c1b5 WHIRLPOOL cae3605ffb7792d52aa2c5d50db1ac74129336ec283f0f4c7efa728dd2178b8a4d58ea278f8e6684f1cafa4f936f3d735d1155c2e1879a332884db3790ce99ba
EBUILD aws-cli-1.8.9.ebuild 1101 SHA256 4749b4f77e6f848b9b59afd39f23b3d11d91b0ffa2ec2ad086ecef4f1c7bcd00 SHA512 c4d6452b6a5465b891ec5d5688906379b36fb36cb5c80dec8371c5ba6813831eb8b7d0481e288867e920ca372e6494deb8129aeea37d8789d7e0906293c925e4 WHIRLPOOL 6895eed8601fc1ebbbb6df6bf62ae4e81042d2bdd9e5e448ceee534bad3ce48abb86d911c10e68ab4957bcb0b7323ba4e73043777efed7ae7e58649c21d83c29

View File

@ -0,0 +1,40 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
inherit distutils-r1
DESCRIPTION="Universal Command Line Interface for Amazon Web Services"
HOMEPAGE="https://github.com/aws/aws-cli"
SRC_URI="https://github.com/aws/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="dev-python/botocore[${PYTHON_USEDEP}]
dev-python/colorama[${PYTHON_USEDEP}]
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/rsa[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
src_prepare() {
# Unbundled in dev-python/botocore
grep -rl 'botocore.vendored' | xargs \
sed -i -e "/import requests/s/from botocore.vendored //" \
-e "/^from/s/botocore\.vendored\.//" \
-e "s/^from botocore\.vendored //" \
-e "s/'botocore\.vendored\./'/" \
|| die "sed failed"
}
python_test() {
# Only run unit tests
nosetests tests/unit || die "Tests fail with ${EPYTHON}"
}