summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-02-14 19:35:16 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-02-14 19:44:51 +0100
commite78093584a4bb8741a3c27a5ba9c5f774107cdc3 (patch)
tree4ec29c7eb69f062d581034fd9d7ee61e39f9cb27 /dev-python/awscli
parentmail-client/trojita: Switch from gnome2-utils to xdg, EAPI-7 bump (diff)
downloadgentoo-e78093584a4bb8741a3c27a5ba9c5f774107cdc3.tar.gz
gentoo-e78093584a4bb8741a3c27a5ba9c5f774107cdc3.tar.bz2
gentoo-e78093584a4bb8741a3c27a5ba9c5f774107cdc3.zip
dev-python/awscli: bump to v1.16.104
Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-python/awscli')
-rw-r--r--dev-python/awscli/Manifest1
-rw-r--r--dev-python/awscli/awscli-1.16.104.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/awscli/Manifest b/dev-python/awscli/Manifest
index d0d9319abd39..20bad422e59e 100644
--- a/dev-python/awscli/Manifest
+++ b/dev-python/awscli/Manifest
@@ -1,3 +1,4 @@
+DIST awscli-1.16.104.tar.gz 1186611 BLAKE2B 8f0918b86c37e184ffc8055cb16a02379fd35e685c5ddfcbf2b7e1fb71a80f829569eb1c2264e75563a316d933143a662cd7dcf4d6d25d236d72c268fb4985f0 SHA512 738ceac890b28c335f0c9bc703975af3467f17723b8accf713ef131224602895f6b4fae06cad93495933563c08ede18e38cf67abff744e6f5b0042b182bddec3
DIST awscli-1.16.59.tar.gz 1147247 BLAKE2B f8571f2397735b4aad17543e25cd2764731b2986f420faccf76dad2bdab912029d7ac592607290bd76fe4c99ef57e168dfbc5a2a92e20927343006f964a4a3a8 SHA512 be7f6dac8d2ed27f53a0f50323d40395c51d7e0ef513e1410bd4ce5fb4affe1033919e01755ba768739e7e327a827d004a8da42353c0be05e90be3e5350399ff
DIST awscli-1.16.62.tar.gz 1147749 BLAKE2B d0a578478f5aa6e08c8de3c0e5e85b99e09a8519931b35f5fa724f922b35e2981464ba2fc5fc842350dfe1cd5740104ee293caf13b2154c5140caa9f762c976c SHA512 b7b0247c7c28fe3195cb6e2ec81fa15e8d6e9a8120d124d4cc84e827f8f9c904fb7feaa00d28173e0739066eb5ca77fc7f2af8b1f2b083605b23a4cc1c38fd1d
DIST awscli-1.16.72.tar.gz 1169697 BLAKE2B 3ae37ee02bb821dc5e5578ff9937d6fb313bd369e9f57c276d3e3fb722743b5f07536ed60ffd98ffbb779e0ad3882f9345d0ccbed3572c2e7332c2a339320f49 SHA512 88914546c10e14749b6811a31ff664cd464ab424d2140f1218b03128fb8a7e4fcfb33feaa29cac534ea3902f1d4e0565c7578b61989bb6b8f8edbefa2d992355
diff --git a/dev-python/awscli/awscli-1.16.104.ebuild b/dev-python/awscli/awscli-1.16.104.ebuild
new file mode 100644
index 000000000000..bf41cae512be
--- /dev/null
+++ b/dev-python/awscli/awscli-1.16.104.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
+}