commit: b75c536a15584bf560698e09326c4d2510bc08b2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 12 00:47:53 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 12 00:47:53 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b75c536a
app-admin/awscli: Bump to 1.40.34
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-admin/awscli/Manifest | 1 +
app-admin/awscli/awscli-1.40.34.ebuild | 93 ++++++++++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index 18b8ea1dce1e..034130a483e8 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -3,3 +3,4 @@ DIST aws-cli-1.40.26.gh.tar.gz 2942606 BLAKE2B
c51358e13c22826ebf3cb4aa3e3989440
DIST aws-cli-1.40.31.gh.tar.gz 2946394 BLAKE2B
6871766d1dfe15440278bc5ba2f3733bddd20704cd3b80f9847b7631f43930b990a829ba40c04517cf14ce113a1574ce919a53b61b8aad99011aa8bfe0677864
SHA512
3287f7f12b1a05a4d55ef48f5ed4f40b65c25dd2660a023842f93a8308b8a3f2457c2f8d4cab1f3c2cc45838698adc96a8d3ce96732bf8649fb763cd8e791f09
DIST aws-cli-1.40.32.gh.tar.gz 2947654 BLAKE2B
2a632459d7ee0a25be6b86fa0e5f20610e3f96f8ed1ce2e0cfb59386494e4e7e97136512d7d4db57c0bc60edb378677baa29229783256b836fa1dc49d6ba2c2c
SHA512
6eefadbb2a8d8a37ad2a65377462a49ce137a463ca4880cdb2630a2014dcd2c019b091e8a5d2a80b781a013757d5aeef4a32b471fb3516ad7b78e840eb1cb003
DIST aws-cli-1.40.33.gh.tar.gz 2947812 BLAKE2B
b60de89a977e51bc09e98d22db96c585ff812ba315efce6954bc67e706c89886c1ee1421b771c76f1d93dc40cd01243110a928d8cf5759a251b904d65d71fab6
SHA512
5be167d7e34f581bfbe8d6c3b100bf4973a96da3a65b7ceb593d7ec07d066a272d9dec262234b36433941296db4f446c911d26f30199b6771519035b2b66e738
+DIST aws-cli-1.40.34.gh.tar.gz 2948276 BLAKE2B
a8a3dcefa4fc66d26bbadccbda90d803f9a6af11de82c98282fa3478eefa95666e9be9c406c169b4367dd34c1be9f6c2fcb8b687c31f21bc8e7a69dc7a6e6f7d
SHA512
b98a415ac57a8554f00579b76eba7ca9f3e3111a9aa6a3d1ac9aa203ea1d676ab3c6706983a01d7332213f5dadb61098f6ae98a6ca2eae7dd91cb21c11240d42
diff --git a/app-admin/awscli/awscli-1.40.34.ebuild
b/app-admin/awscli/awscli-1.40.34.ebuild
new file mode 100644
index 000000000000..41a65570d103
--- /dev/null
+++ b/app-admin/awscli/awscli-1.40.34.ebuild
@@ -0,0 +1,93 @@
+# 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+1), sigh
+BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 2)).$(( $(ver_cut 3-) + 1 ))"
+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}]
+ 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[@]}"
+
+ # 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
+}