commit:     83a86b6172eae33ade67d051a818f52240690e67
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 27 01:38:50 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 27 02:19:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a86b61

app-admin/awscli: Bump to 1.27.121

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-admin/awscli/Manifest               |  1 +
 app-admin/awscli/awscli-1.27.121.ebuild | 80 +++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index d63b2e1abc87..65a0c27e1565 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -2,3 +2,4 @@ DIST aws-cli-1.27.114.gh.tar.gz 2406530 BLAKE2B 
a566214d83d0238c74e306d82829bc9a
 DIST aws-cli-1.27.118.gh.tar.gz 2410453 BLAKE2B 
75bf42c439c9fc0e16c1a3e919d4c6b8c9246c754eb0ba485c4ec193e6b4e0e3de60eff7c433937b31997ba7d26eef622a382b41d107139de36f5475ae083a6f
 SHA512 
036262c1c3731a5f8b6704ad278ea53f3ae5810b18fd8d4b93ba26c1c17eba79180f8310a40427332e24a4f42ac47e2707ccd4e5d28b29ab4f4593d6820cc4d9
 DIST aws-cli-1.27.119.gh.tar.gz 2411159 BLAKE2B 
7730da312c27cb99bf8a9b135164fe89083e65d522e98e1b9ebd6730174dc82c113d8fe39ee27d01d8e1abcdb878fd5b3b9bf91160b20a02d4724a1673b9c4e8
 SHA512 
884907dc6dbe324fa68fb1bb6de2a033522adf21e36bae999aa1206492c5df25e569a4d35304b08013b425c059eb1b235d8c30329da951953d2e562d495618af
 DIST aws-cli-1.27.120.gh.tar.gz 2412302 BLAKE2B 
d5af6c029452246abc8296fcf7da7edbc5b68852c4f1a162dcce91ea1fd42ee036f49ad9c7cf692e860e8c29eb3107d3befdbf23833ef47604fb43d836dd86ec
 SHA512 
07a10480fd41cb81867a6a93d3fdfb6f3687e82790711c2e30a72155ca6083e9d6c584c6afcfb57b47aff2300ba42557471ffcc4c1b6e8d50ea21f5fd096c042
+DIST aws-cli-1.27.121.gh.tar.gz 2412265 BLAKE2B 
c622b4af462578c928b0b261ebdc300b841440875b8208240be6bf56b7a7f28d58434dc9c5cd41581befebc20fc0e224db52474af23e94e6a7e92e113e93bf99
 SHA512 
d39e2b4b0cedf1d622877584decfa5a38624cd238007343737087d2781d1505e2858337c508a4578cfc8d568412e3f92f38f80ae09f3a39a8cbb34034d474763

diff --git a/app-admin/awscli/awscli-1.27.121.ebuild 
b/app-admin/awscli/awscli-1.27.121.ebuild
new file mode 100644
index 000000000000..62c19f3a63fb
--- /dev/null
+++ b/app-admin/awscli/awscli-1.27.121.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit bash-completion-r1 distutils-r1 multiprocessing
+
+MY_P=aws-cli-${PV}
+DESCRIPTION="Universal Command Line Environment for AWS"
+HOMEPAGE="
+       https://github.com/aws/aws-cli/
+       https://pypi.org/project/awscli/
+"
+SRC_URI="
+       https://github.com/aws/aws-cli/archive/${PV}.tar.gz
+               -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+# botocore is x.(y+2).z
+BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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.6.0[${PYTHON_USEDEP}]
+       dev-python/pyyaml[${PYTHON_USEDEP}]
+       !app-admin/awscli-bin
+"
+BDEPEND="
+       test? (
+               dev-python/pytest-forked[${PYTHON_USEDEP}]
+               dev-python/pytest-xdist[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests 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
+       # strip overzealous upper bounds on requirements
+       sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
+       distutils-r1_src_prepare
+}
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # TODO
+               
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
+               
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
+               
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
+               
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
+       )
+
+       # integration tests require AWS credentials and Internet access
+       epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
+}
+
+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
+}

Reply via email to