commit: 4b0c5b5d898635e7d87c9d5842afe9a797b29b93
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 1 01:45:23 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jul 1 02:25:58 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b0c5b5d
app-admin/awscli: Bump to 1.41.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-admin/awscli/Manifest | 1 +
app-admin/awscli/awscli-1.41.0.ebuild | 92 +++++++++++++++++++++++++++++++++++
2 files changed, 93 insertions(+)
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index 0119058afc48..3197dfdb4347 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -1,3 +1,4 @@
DIST aws-cli-1.40.35.gh.tar.gz 2948794 BLAKE2B
e49291ca7ae40fef32e596601f02f6edf1da67ce60e569d685f8a763d7b9d267c96572347b5a3055f562ab4aa973a9562a0e9f821ff5de9c7ed03259fc10b2f2
SHA512
b74bd9cd5793c5b81017b88f074a318785a33411e2a2143d880efc43b04dc928b0fdfff6a9e2a3f2baeb0b308f03d86f198af8f9c9338e29a952d909fd282620
DIST aws-cli-1.40.40.gh.tar.gz 2961905 BLAKE2B
437b67a35d939bc1bc15203443ed2bd2ce19f4a652d40263460b0b322bffe4247f0ea72b09199d348fa3654abcabbf308ee976eadfdc7a4146afbc3bd9a90eab
SHA512
b6a19cdc2edf2f65327e311357aba4374af2c9e630a6250488b21e12f82b0269689089a9f021afe11d6f77a018361a0044afba6de0af88c955c3792f290410bd
DIST aws-cli-1.40.45.gh.tar.gz 2967475 BLAKE2B
28092036db51577455f041f709d061ee10c63c79be014dfbf64104d6d39e1c5434c7a21e13a4330d004719ac5f454d4aca43a054c667e91ccc08287ad84bcc40
SHA512
271ffcb550c5d514f6a658a5e320d66deda2f5b7b0b814a0d617aabb8c0db45aca3e9459022f4088fa4f3c73701a006e7621baf3acaeb0f058cad8d932b7bbe4
+DIST aws-cli-1.41.0.gh.tar.gz 2969960 BLAKE2B
739a9ea462fd8dee2bf345cdd0841bf3dff190b95e9f52a46025c504512a3ea7ba0bdbfaa501f927bac943546e8373af5308405aa40fe1bc387b36b4cfe59f53
SHA512
c56c2a28847288da7cdbbc7f929fb17eea2a7cc1a1a4afbbf7e67ba8a310f798ec29b59000ff70d10090f83ca72ee18b00bceb8da89505992cba7e45df4c7c45
diff --git a/app-admin/awscli/awscli-1.41.0.ebuild
b/app-admin/awscli/awscli-1.41.0.ebuild
new file mode 100644
index 000000000000..ba1a897f1ae2
--- /dev/null
+++ b/app-admin/awscli/awscli-1.41.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1 shell-completion
+
+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, sigh
+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.13.0[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ !app-admin/awscli-bin
+"
+BDEPEND="
+ test? (
+ dev-python/packaging[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( pytest-forked )
+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
+ )
+ EPYTEST_XDIST= epytest "${serial_tests[@]}"
+
+ local EPYTEST_DESELECT=(
+ "${serial_tests[@]}"
+
+ # flaky (some ordering?)
+
tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32
+ )
+ # integration tests require AWS credentials and Internet access
+ epytest tests/{functional,unit}
+}
+
+python_install_all() {
+ newbashcomp bin/aws_bash_completer aws
+ newzshcomp 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
+}