commit:     e3c278898382aa4a0f14ef3a31281eb06756b8e4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  7 01:43:30 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct  7 02:32:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3c27889

app-admin/awscli: Bump to 1.42.46

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

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

diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index 39c37b5746df..0b42c89317de 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -4,3 +4,4 @@ DIST aws-cli-1.42.25.gh.tar.gz 2978655 BLAKE2B 
184a7cbd9f258feb4f8bad7eb6128a9da
 DIST aws-cli-1.42.35.gh.tar.gz 2982862 BLAKE2B 
ec020776ecc815a8c1a6b7bc59cb979bdddab65ef7299d899378bcf8b52f51918f0961cbd7136cd6cc643d40273131d5100f9345bb55f59565eeb42baeef6729
 SHA512 
2460d38cae6ebd513609ab0ff16303e797c252109f14057f2742398ac81a29b417b64839fd2dbddf6c1d31fda8580cd32a320078964d46cb4aca58b6ad97836d
 DIST aws-cli-1.42.40.gh.tar.gz 2986289 BLAKE2B 
f0f9d435f1b3605b73b99be98ad0ab455ff0c7fb0427c7c6410caa99683f8e06170a2108fe6cd334f94716cf8d6b65039ea355bce74498d0f7139e64e68750a5
 SHA512 
f9a6192605719192ff5dc5e8bb7026dfc9fc8dc97ffc84709461bc6fa879e30b351092ff17512c6a93a08b5cf59bd28aedfead72ceda4369ae76520182cf0c2b
 DIST aws-cli-1.42.45.gh.tar.gz 2989081 BLAKE2B 
442f10b7d49cbb3dc75c384c29982e35fdba70df87937126229dbe96db133bf479fb963cdcf9957b79b6bb215743f9a5bace31d52573dc73438d84176a851145
 SHA512 
bbbc58d9248a82f18c6669a970edb2c9a61f3f782b02c68027560e1d9e9fe323c5f14c0fcbfb2aa9ee03d189f93f327c210b73d88325e5e970df44f3e58865bc
+DIST aws-cli-1.42.46.gh.tar.gz 2989691 BLAKE2B 
0c5ca6b2b28ad964482c491abd2d5f729072a5494408e72976813709f51e2d0454e027407b90721e38f6ca546b8d479450293451df39f007dc765b4d71933bb4
 SHA512 
4bcc4d2385de6be57cddc3cd7038ef68f0c84bfee65e890a046c35c0b29e5454bcee5db8c73f527523d21e800d51910885fabd510fd13477d802d1470bb0cb21

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