commit: f302bc8dfb680a65b5c8c7fe7ef08e84c191a3e4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 3 04:32:58 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 3 05:37:42 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f302bc8d
app-admin/awscli: Bump to 1.42.44
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-admin/awscli/Manifest | 1 +
app-admin/awscli/awscli-1.42.44.ebuild | 92 ++++++++++++++++++++++++++++++++++
2 files changed, 93 insertions(+)
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index 3fa87e92abe3..2f5d3ff27f50 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -16,3 +16,4 @@ DIST aws-cli-1.42.40.gh.tar.gz 2986289 BLAKE2B
f0f9d435f1b3605b73b99be98ad0ab455
DIST aws-cli-1.42.41.gh.tar.gz 2986432 BLAKE2B
91e1abf2133657e0969f69d6c46f28a67c8411f16044ef05afa2a456877c702aebad6daea35f217df1a624e0adb13be3912e560fb5cb9d1b957da3812da65acf
SHA512
18b73f64e7a44f6eb449814b394fe7cb65f5b18e93ff76bb6913a72e76feaa43d456c88349b22bef8ae8233290483479754a9164bf603f4ece54dd7dbbbb1158
DIST aws-cli-1.42.42.gh.tar.gz 2988345 BLAKE2B
a94d4179d1a9e2973cf65570eda0c29ae04345322b911d7f251a9590489530a38d590c695f66b66e6a37c85ba98bc9d239932c7b90b4af186548b14f680553d3
SHA512
bae52ea7a881e327682dfb46c93ec7b3ff7ce15abafa826df03d5a9a83e5b743602ea6386504a078d4f05440580ec20c1aa4af90dd73122737bb552601c84950
DIST aws-cli-1.42.43.gh.tar.gz 2988761 BLAKE2B
660b0f85d8b056c7f226a807e7f5fa5179502fb993ee07ef4b683001fdbd154c66e388746561330b30a1d43420f96f73b4540e7cd351afa2cb2a1f8b75a7eb1a
SHA512
f90cc5a5b2b6f6d79bbc2d1b80779b39fd060f6aea3629dff518f46a005fb481152e5c62d03bcf1f0242dbc5cd4b366b2b584d3b8ae10e8a6c94799f51367e28
+DIST aws-cli-1.42.44.gh.tar.gz 2988928 BLAKE2B
125e080c9d7f74bf5c261d992a11bf65afee51d5a6297d783eee185c9e4d0a2799f1a933931a494066ce0252ade9e8c3ddf0f62943f3870c65902917d7209520
SHA512
fa5aa1dedb33a82da837faed9c086c1cf2ede70f9a36bb730a79f87702884f6c02331450c827381aeef13b702032cfae6da051ed4ad7098864e4724d4ee5c9d1
diff --git a/app-admin/awscli/awscli-1.42.44.ebuild
b/app-admin/awscli/awscli-1.42.44.ebuild
new file mode 100644
index 000000000000..ee5aa1768d2c
--- /dev/null
+++ b/app-admin/awscli/awscli-1.42.44.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.14.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
+}