commit:     1da1993f225ae05e599b5aba485386f561d0bfe9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  4 05:05:04 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct  4 05:05:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1da1993f

app-admin/awscli: Bump to 1.42.45

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

 app-admin/awscli/Manifest              |  1 +
 app-admin/awscli/awscli-1.42.45.ebuild | 92 ++++++++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index 2f5d3ff27f50..d9e9ebaa5517 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -17,3 +17,4 @@ DIST aws-cli-1.42.41.gh.tar.gz 2986432 BLAKE2B 
91e1abf2133657e0969f69d6c46f28a67
 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
+DIST aws-cli-1.42.45.gh.tar.gz 2989081 BLAKE2B 
442f10b7d49cbb3dc75c384c29982e35fdba70df87937126229dbe96db133bf479fb963cdcf9957b79b6bb215743f9a5bace31d52573dc73438d84176a851145
 SHA512 
bbbc58d9248a82f18c6669a970edb2c9a61f3f782b02c68027560e1d9e9fe323c5f14c0fcbfb2aa9ee03d189f93f327c210b73d88325e5e970df44f3e58865bc

diff --git a/app-admin/awscli/awscli-1.42.45.ebuild 
b/app-admin/awscli/awscli-1.42.45.ebuild
new file mode 100644
index 000000000000..ee5aa1768d2c
--- /dev/null
+++ b/app-admin/awscli/awscli-1.42.45.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
+}

Reply via email to