diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-10-02 08:41:15 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-10-02 09:50:36 +0200 |
commit | 57de61e74a7ae2e6077486210d1eac8d2ad70d14 (patch) | |
tree | ac9d78696d7f0b2b7be94cf52bb65a505822dda9 /app-admin | |
parent | dev-python/boto3: Bump to 1.18.53 (diff) | |
download | gentoo-57de61e74a7ae2e6077486210d1eac8d2ad70d14.tar.gz gentoo-57de61e74a7ae2e6077486210d1eac8d2ad70d14.tar.bz2 gentoo-57de61e74a7ae2e6077486210d1eac8d2ad70d14.zip |
app-admin/awscli: Bump to 1.20.53
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/awscli/Manifest | 1 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.20.53.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index c301558ef534..f0bec9579133 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -12,3 +12,4 @@ DIST awscli-1.20.49.tar.gz 2079908 BLAKE2B 7aac4ff54993b70eed395ab625c6b1ed96314 DIST awscli-1.20.50.tar.gz 2079977 BLAKE2B f6cd055fb74641023bbfa664a817ac19dcfa1d6a33489cd70e4d2255bd8dbe35aa900e88c312b26db77ff066c7b513e758ef67e42e44e6e7d48b2599359251db SHA512 d01c648bfb089e9663ecc9976a60e865155462fd7ad97714e0959b867126b7031433e59716edc31e08893c77f09e92c8885c8df5dbaf7715eac592bf634ef5d7 DIST awscli-1.20.51.tar.gz 2080377 BLAKE2B b7d32d129956817c98f43ea44200027389569e1484d568e3632f71c527a77ffb5e15045ce64fae72d9835856e81fea091f2fde293626e918cacf52c933204d35 SHA512 1cab00c694f19bbd14c4a0da01a28ef19eca00b03b1da377d2ee7b03e3c397c99f49fc2994679a08211ba41f583d5b2d1b39dac9990a3dc5ebfd121a376b7ca3 DIST awscli-1.20.52.tar.gz 2080775 BLAKE2B ea71ef44ff4ba0758a3e4f7fb5784c852ab6df3ba33ae5345c5e8bf43d46e693457110555af9570996ab3035a50847261eebb12b04c63cfe150bca01fcef3aa9 SHA512 c388ee9b6b73fc49d1a39772dc93c90b7472f63c65100b2ee9dec46893210f9104c32a9dbf0570d6c790f1faa703e7f0ec900395bb9964898b3bcd046a879721 +DIST awscli-1.20.53.tar.gz 2081402 BLAKE2B 88d56df063ae6473122913e4713e17bfd8c32961477b8e723ed3c0c0b7dc72ccc4dfd8d897699e2060a2b65a198b96eccf77accdac9a21510aa56dba5423b76e SHA512 48576b535bdf6b9e6397eadd589c41eeec480d2eaf3035ca6e64bd86984aba9170a83b71c0f7f3f64cfaebaf5104fe3adcdaebace5166343fb3b772f5ad8ccfd diff --git a/app-admin/awscli/awscli-1.20.53.ebuild b/app-admin/awscli/awscli-1.20.53.ebuild new file mode 100644 index 000000000000..81d5997098c2 --- /dev/null +++ b/app-admin/awscli/awscli-1.20.53.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 +} |