commit:     822ed1b290ca252654487ad1294471806f949860
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 27 01:33:37 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 27 02:44:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=822ed1b2

app-admin/awscli: Bump to 1.29.72

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

 app-admin/awscli/Manifest              |  1 +
 app-admin/awscli/awscli-1.29.72.ebuild | 85 ++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index 22e1a26b1ba2..bbb5301dcf47 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -4,3 +4,4 @@ DIST aws-cli-1.29.68.gh.tar.gz 2565226 BLAKE2B 
b1f2209738c3a54beac322b14ceb54d31
 DIST aws-cli-1.29.69.gh.tar.gz 2565597 BLAKE2B 
121ad22fe37968dc2f4b3f7fbe9af7af2bd578fa340b1caf44d089b2b12cc019a9b7734a42f64569483411a2849bc67a32ee59910e00988571d6ec480f6988d9
 SHA512 
1f3f4d6ba1d5302b6b9080a696fb496b405279610377ba4c87a146b60b3bfbebe2c68855704835eb99c6eb2a2e8de33086bb5632a2954a8bbc4f3e7d18d8ee41
 DIST aws-cli-1.29.70.gh.tar.gz 2567544 BLAKE2B 
2ca8db4f53d414dce916ab1cbfe997c3477c67005f83654b61cbc61be5626ab681fb2ebc69070842aff2562560bc24d38d2a80322a0267fd1b8fca8a5ce1598e
 SHA512 
cffc5d31b618fb4c728356c282251ac220029e25006bd43e7fb0ea16f3c4c8bb637c69208bfbd82da2a1d3e449ece2298811408f68d94c9f584b9749af176310
 DIST aws-cli-1.29.71.gh.tar.gz 2567815 BLAKE2B 
de39bf456d2933a5b652acd700b561ded9866b3cdbaa15a00439f4af40e0b00ef1acaac03316c542a34ba72f18e2b72b4345cd4824e46f1e6370ad7c254e203b
 SHA512 
cca46c16470352df72216f6620cd58d243eeb038842149c92726d641107707c263c6aeec49fb09cef5bf273eed179ce74f0a20377c6f3b49a731c7bdcee305dd
+DIST aws-cli-1.29.72.gh.tar.gz 2568335 BLAKE2B 
6919744a90e77e14e143d94cba5e666eb50c6768cd2237920f737777f9487bb0b1284bc1d028d17b00f2fe9c38fcc294e42a6fa3f7aaab88b2ef52e16e118341
 SHA512 
ffca4a27896033be4672c0054b272dc7c88b73eb724a291fce61a4b267c22b23218b834c7b0baecdee6fe275cfd732ac24d779475dfd60f0d799e7cfed370570

diff --git a/app-admin/awscli/awscli-1.29.72.ebuild 
b/app-admin/awscli/awscli-1.29.72.ebuild
new file mode 100644
index 000000000000..941051349113
--- /dev/null
+++ b/app-admin/awscli/awscli-1.29.72.ebuild
@@ -0,0 +1,85 @@
+# 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..12} )
+
+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.7.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=(
+               # broken xdist (signal() works only in main thread)
+               
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
+               
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
+               
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
+               
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
+               
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
+               tests/unit/test_compat.py::TestIgnoreUserSignals
+               tests/unit/test_help.py::TestHelpPager::test_can_handle_ctrl_c
+               tests/unit/test_help.py::TestHelpPager::test_can_render_contents
+               tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignore
+       )
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       # integration tests require AWS credentials and Internet access
+       epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)"
+}
+
+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