commit:     e9447f0d719aa15d5867bb91f084f2f6736de4ce
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  5 01:46:22 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr  5 02:45:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9447f0d

app-admin/awscli: Bump to 1.32.78

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

 app-admin/awscli/Manifest              |  1 +
 app-admin/awscli/awscli-1.32.78.ebuild | 90 ++++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+)

diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index c71b39e6b4f7..acb7a6e71f99 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -4,3 +4,4 @@ DIST aws-cli-1.32.74.gh.tar.gz 2682208 BLAKE2B 
aba8be6e597a6d07197bd06d51f167f7a
 DIST aws-cli-1.32.75.gh.tar.gz 2683704 BLAKE2B 
8dd4b7522c7684dd405018067a266842243679dac88a27de7be8b279c9a2b19081b2c49425392585a3c4a3173ff24227dc16070331ee772501db37251f12c355
 SHA512 
64525fe4a31074ec05531066451ab6faf8c8027fb9ad26d31d7877de1e63797c46f723cd03d89a11ba27af9dd77adec91a926e3ce32ef6e2acf0e29a45cf7908
 DIST aws-cli-1.32.76.gh.tar.gz 2683951 BLAKE2B 
e54a1df81000999f5d978503d3b7fff38c168ff014eadf94e0953922ec94b41876c6d73287f00711a5c0af3e6d6584aa6a47d37d832e48f6dd360e94ce6797fd
 SHA512 
6c7c1bad24a4b28040e714fd29bc15dff40320a90e51c1bc437e7a8c4b6b0d73e830c83f3664dbdd0620aba7e987d43272ad1ff35a3b723f793ad85bfb38fff1
 DIST aws-cli-1.32.77.gh.tar.gz 2684606 BLAKE2B 
78147bfc060df3093f8b19adccb8047e312f18bc46f18bf91861628fb2dde26e61297ebb1dfd6a2e4513124341cae3a6bd47fb23d2c679c402e1f547d7b750ed
 SHA512 
51e62260848d67a06991a82484958047b95033ffe0931eefe1dd62afa4603731c52637e2f0d0fe7c54bcc89816c2baa8745cfd7365c014fa85c79b7c3c378c12
+DIST aws-cli-1.32.78.gh.tar.gz 2685580 BLAKE2B 
205c9263ded4fb895b6e6fe65965a478b260ba14aa18f7e78c1a5fc53fc4b3f95851d08d4ba5a57aa1112eba790478a3729a5986948211af7ef0a8600dac8c61
 SHA512 
5bde890b9366e8e1643a3480dbe8bcde206f719792761da23988dcf59e2605cf743f2035f673ca588a33ad0e4bcdca72e2c2436d613c08dda7fbe30b447718ae

diff --git a/app-admin/awscli/awscli-1.32.78.ebuild 
b/app-admin/awscli/awscli-1.32.78.ebuild
new file mode 100644
index 000000000000..4a677affdbc4
--- /dev/null
+++ b/app-admin/awscli/awscli-1.32.78.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2024 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
+
+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.10.0[${PYTHON_USEDEP}]
+       dev-python/pyyaml[${PYTHON_USEDEP}]
+       !app-admin/awscli-bin
+"
+BDEPEND="
+       test? (
+               dev-python/packaging[${PYTHON_USEDEP}]
+               dev-python/pytest-forked[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_XDIST=1
+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 serial_tests=(
+               
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
+               
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
+               
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_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/customizations/test_sessionmanager.py
+               tests/unit/test_compat.py::TestIgnoreUserSignals
+               tests/unit/test_help.py
+               
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
+       )
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       EPYTEST_XDIST= epytest "${serial_tests[@]}"
+
+       local EPYTEST_DESELECT=( "${serial_tests[@]}" )
+       # 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
+}

Reply via email to