diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-10-20 22:50:55 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-10-20 23:43:26 +0200 |
commit | 549794b324577cb66f4065d09e41becb87a0bf5c (patch) | |
tree | 8172af3a695f24c8ed4dfbf84bd576e64784390b | |
parent | dev-python/boto3: Bump to 1.19.0 (diff) | |
download | gentoo-549794b324577cb66f4065d09e41becb87a0bf5c.tar.gz gentoo-549794b324577cb66f4065d09e41becb87a0bf5c.tar.bz2 gentoo-549794b324577cb66f4065d09e41becb87a0bf5c.zip |
app-admin/awscli: Bump to 1.21.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | app-admin/awscli/Manifest | 1 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.21.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index c47cc4c13eb5..aa9643969116 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -5,3 +5,4 @@ DIST awscli-1.20.62.tar.gz 2091052 BLAKE2B 95043ddac83c71a6153eb84b9e2e48ea5659d DIST awscli-1.20.63.tar.gz 2091148 BLAKE2B 12e6aebf29b5d91b191f87568fb605513c86d30c2a4d6b553ab2a0fb90b6aa0bd4b7024981671566f0646811f39a88bc16ac888f511c29b0e459f86440300304 SHA512 adb57d355a7ba70cf166ea1544df4274caaedbea1a2c4ba7895be600a76d8ef0129ca20c6d03d702c073d21dfa4f70fa3f5488266dc0cc5ef7f5d952b6d6ee6f DIST awscli-1.20.64.tar.gz 2091360 BLAKE2B 24a0838f1348a05392736f580816b968cd28a252ade31559241fadc5cb2a36dcb6f31c8743c484879fc523b0282381625cbabd58656a00cce0dcb81a6b0319d4 SHA512 a3c0b393e9a5e7aee0e4e4bab14f2cb2c0877b22ead0547d99b430e24bd927391536bbae8b612612b9437dc0dba2cd804a858bddc980d29a74afac434ddc3ab3 DIST awscli-1.20.65.tar.gz 2091702 BLAKE2B e8295cf4e859c1e642077f4014fdea333292e98e22bbcb58a87da174687af8ebdf693a94f04949119d544daaf6fb9bfe4388444d9ec8a24c0e8b67d202e75753 SHA512 dd943682d10212179ebba959b8919a07ba0b548c5f24f735c69c05f9e1c27efa3f74c45d9702b96c4e556a6b436947d34da88291fc5718386891a3425a738c84 +DIST awscli-1.21.0.tar.gz 2092490 BLAKE2B 98684a1ba8f3efead1e4df7c266ae4b9dcabedfc56a64fea67a9f8ca1403e90d4c5cdd8bdbbfbc8917c830d23030e1e19fc8fde1d25156dc601249de5f77dfee SHA512 2fc8d26ddf23d06b65224523177fd9a4023941ff9e204c2d18bf3647206f86aef0fcb9eaa177219e0eb0a5b1c79655497d0346c1851cd74f4d8506ffef885275 diff --git a/app-admin/awscli/awscli-1.21.0.ebuild b/app-admin/awscli/awscli-1.21.0.ebuild new file mode 100644 index 000000000000..81d5997098c2 --- /dev/null +++ b/app-admin/awscli/awscli-1.21.0.ebuild @@ -0,0 +1,47 @@ +# 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 + +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 +} |