summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-11-29 15:13:36 +0100
committerMichał Górny <mgorny@gentoo.org>2021-11-29 15:45:09 +0100
commit7aeb4410b016f8bfcf582d4ab4434cca10efcd4d (patch)
tree6bdad99ff6537b8c875837ac424e84e1042c8cdc /app-admin
parentdev-python/boto3: Bump to 1.20.15 (diff)
downloadgentoo-7aeb4410b016f8bfcf582d4ab4434cca10efcd4d.tar.gz
gentoo-7aeb4410b016f8bfcf582d4ab4434cca10efcd4d.tar.bz2
gentoo-7aeb4410b016f8bfcf582d4ab4434cca10efcd4d.zip
app-admin/awscli: Bump to 1.22.15
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/awscli/Manifest1
-rw-r--r--app-admin/awscli/awscli-1.22.15.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index 00b41a27e165..359da8b2007b 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -6,6 +6,7 @@ DIST awscli-1.22.11.tar.gz 2116193 BLAKE2B c4e89882e5a8b37172f06ecf9cf911a0598b8
DIST awscli-1.22.12.tar.gz 2118104 BLAKE2B f5622b5b2c226e7b95a13c9c268853cdf40ed32f78db9e7ceb5a72197c4dbc60af8d4ef67289d10b9705a91802597a186c55ff0c82c8d3489c1a288fca84ea84 SHA512 08135ad41cbba6f8170acd051734314547bf2892835a9d1c0ee878b398e37af573b365910bde6d739aec11fd9ad8d34331248a5ee2d5811424750eaa86b121d5
DIST awscli-1.22.13.tar.gz 2119944 BLAKE2B acbd93c02dfba99993fa181aae01c5c57a322dddfe8e09e7ed08c2aedb7579aac3f570142981f480db14e3c049c59866bae66f5930b6808711f1f47c0d8c9643 SHA512 1fc04c8a303701fa2f0ab48fd6b6a436128a35f314bb2311cc8a6930bcb2b289573a00f17d2ad4ec52985378995ddf5088f6e2251ada5263997ab0259c583eb1
DIST awscli-1.22.14.tar.gz 2120655 BLAKE2B ffba1bea0574830e6eb3e343b5d83a308e19b557ddde981066b93008062c0702bfba47b7ff7ddc86d4f148606cce8089e81525c54a11eef23906ef1df6303af7 SHA512 0585d8f4842b23065a14cd1f73a7ee810d705ab4d2480591ebf13b640d7501ec784fb2000cdc685cbc6c4e996b7d68763ed79d2122bd61e07a0f97822c925d12
+DIST awscli-1.22.15.tar.gz 2121382 BLAKE2B 849a40f41382a8bbff235791848056791fb636bebf4e0a870804378a39d427db432dff9ede40f93cfcdb0a6d944f213040fe4ef4337e6dc778475860efb0a965 SHA512 380d79f5ecd6c728fc526f8b4384740f8b08ff704d71507dd536f650de103740814ed421132bdb78c86d4da1f05b0ed61b1ff661f15fa4617e9d96e217d07673
DIST awscli-1.22.5.tar.gz 2111679 BLAKE2B 970e472e8de43664d060023fdab9f54ce848c5655d8aa417efeae1b1efb52989fd021817521db9dc9cd64580cabbf0c30f3d0178034bdb1edf41feebbc690f46 SHA512 9177fe9da0fb8e9e28777bbf8f2c3fe089a08851b57a49fecefab43417fff187584638d17394289bf6df3d18d9052fd958bd3fbc8064327120af04a0cbe30494
DIST awscli-1.22.6.tar.gz 2112080 BLAKE2B 5fffb3d5d0cbbcea813114bbfc89df64f58e83135c88ab914ac4327185310075e7e19e34a51e6cf85f9d2e804fb75cc69e2f7967ea69c67ff1987e054b5756c1 SHA512 3bf7cf59f947708c0d8e6ec992498d0e58a1a2ccb6a330bced0e2eece9989ef9097e08034354a6c265da08346e37611862f3dbb96d35d9787d3013f6220b7de2
DIST awscli-1.22.7.tar.gz 2112524 BLAKE2B f3aeaa85d8be945ee2c64e45b1cd74eaa89cd035c4650f2a35144c113c8b073a7856e680fd1c67ee54f382ab4ad593cbe4752b53b2637b3c587ecdfa22b6819e SHA512 07c96caddb099e507b0e9b75dac79249a8b26a1ca43a3be842079dfe8af399647dec5c330e6b75059955c132b0c5e179cac2edb2b814c51b47a7777d7f7d5373
diff --git a/app-admin/awscli/awscli-1.22.15.ebuild b/app-admin/awscli/awscli-1.22.15.ebuild
new file mode 100644
index 000000000000..d4b09dbaa2ec
--- /dev/null
+++ b/app-admin/awscli/awscli-1.22.15.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+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"
+S="${WORKDIR}/aws-cli-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+# botocore is x.(y+1).z
+BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
+RDEPEND="
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
+ dev-python/colorama[${PYTHON_USEDEP}]
+ dev-python/docutils[${PYTHON_USEDEP}]
+ dev-python/rsa[${PYTHON_USEDEP}]
+ >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests --install pytest
+
+src_prepare() {
+ # do not rely on bundled deps in botocore (sic!)
+ find -name '*.py' -exec sed -i \
+ -e 's:from botocore[.]vendored import:import:' \
+ -e 's:from botocore[.]vendored[.]:from :' \
+ {} + || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ distutils_install_for_testing
+ # integration tests require AWS credentials and Internet access
+ epytest tests/{functional,unit}
+}
+
+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
+}