summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-01-25 15:49:32 -0800
committerZac Medico <zmedico@gentoo.org>2019-01-25 17:03:26 -0800
commitabce65161c45f59b9315ebe206806574bc213f17 (patch)
tree0f002aea09377410229caf9da79e349756f9a066 /dev-python/awscli
parentsys-libs/libunwind: add multilib use deps, bug #676204 (diff)
downloadgentoo-abce65161c45f59b9315ebe206806574bc213f17.tar.gz
gentoo-abce65161c45f59b9315ebe206806574bc213f17.tar.bz2
gentoo-abce65161c45f59b9315ebe206806574bc213f17.zip
dev-python/awscli: version bump to 1.16.95
Package-Manager: Portage-2.3.58, Repoman-2.3.12 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-python/awscli')
-rw-r--r--dev-python/awscli/Manifest1
-rw-r--r--dev-python/awscli/awscli-1.16.95.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/awscli/Manifest b/dev-python/awscli/Manifest
index 12a40ac0a6dd..d0d9319abd39 100644
--- a/dev-python/awscli/Manifest
+++ b/dev-python/awscli/Manifest
@@ -3,3 +3,4 @@ DIST awscli-1.16.62.tar.gz 1147749 BLAKE2B d0a578478f5aa6e08c8de3c0e5e85b99e09a8
DIST awscli-1.16.72.tar.gz 1169697 BLAKE2B 3ae37ee02bb821dc5e5578ff9937d6fb313bd369e9f57c276d3e3fb722743b5f07536ed60ffd98ffbb779e0ad3882f9345d0ccbed3572c2e7332c2a339320f49 SHA512 88914546c10e14749b6811a31ff664cd464ab424d2140f1218b03128fb8a7e4fcfb33feaa29cac534ea3902f1d4e0565c7578b61989bb6b8f8edbefa2d992355
DIST awscli-1.16.81.tar.gz 1171490 BLAKE2B 343e5ba75f8cb3b058e15346627b0d9c5d6e294147843be0608ccd2a92e643d05c5b6995771608af602e565a860d4088e1f7988c567343396054cec813ed660c SHA512 44176ae796972571d07923ba13ac5a245af7b0c74488bd03a6fb5077f204f175f7ddfa9c4d592eb93d3dce14d9406b04c92ec2d1d9ce58c3a092a0b998efd2c7
DIST awscli-1.16.91.tar.gz 1172430 BLAKE2B 158f7420299c56f2e40883bbf1ad01cb7a747d04047b47aaf8c931c8aad02ad9b39cfe9fd69b86fcdbd76d02d652d68f33d707326307c600772fab97b93f7b60 SHA512 ad489cfc1225703b9bae26f31a94c7d9c143b8e355f4e1a2f1d7e3685b7ee9a6dbd0938db512cac83775292a1347fe72a9ae192717b1c73a21ac07bea4c9fede
+DIST awscli-1.16.95.tar.gz 1173389 BLAKE2B 0babe5cb23b36e39bb495cef57bc1cba0b0c4ab3a613b88e6c52a0f22f94099116ff1a70f9149333be16f7243f2c5498e98bc0c8076aa4e24201c11b8db7bcbf SHA512 37eabd6e7cbba5e3d635098e9c273ca143dd8f37dc7dedf6b85882f08fa01931ed2c56a7db191bae2c260e065c03fbcc7c473c5065b8e111616fb1341b4bc9a0
diff --git a/dev-python/awscli/awscli-1.16.95.ebuild b/dev-python/awscli/awscli-1.16.95.ebuild
new file mode 100644
index 000000000000..bf41cae512be
--- /dev/null
+++ b/dev-python/awscli/awscli-1.16.95.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+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.12[${PYTHON_USEDEP}]
+ <dev-python/colorama-0.3.9.0[${PYTHON_USEDEP}]
+ dev-python/docutils[${PYTHON_USEDEP}]
+ <dev-python/rsa-3.5.0.0[${PYTHON_USEDEP}]
+ >=dev-python/s3transfer-0.1.12[${PYTHON_USEDEP}]
+ <dev-python/pyyaml-3.13.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
+}