app-admin/awscli: Bump to 1.44.71

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-02 06:36:14 +02:00
parent 5921324b9c
commit ff2b5de2f8
2 changed files with 93 additions and 0 deletions

View File

@@ -10,3 +10,4 @@ DIST aws-cli-1.44.63.gh.tar.gz 3092201 BLAKE2B 11d2bf576db5b26bf756a7a76a6bed8a0
DIST aws-cli-1.44.68.gh.tar.gz 3095397 BLAKE2B 50cc8b8221e5b13c550c7749daf52224a942ad88f1a87b0d38fba6507b7cc924e3979aa7b89c8f4406b9803b80f04af2d7219be11a5bc62b49ccdbbd5c7f494d SHA512 67b83697fb35a418b11c318b766d2d4faa548170ba37456ddeeca7abcab212a87de7556b0872ef5052eb62272332582db2dddea612bcd7a513027da01c8e3e11
DIST aws-cli-1.44.69.gh.tar.gz 3096077 BLAKE2B bcc2c4b8b29d61987e69763538bfa108763933cfb462ecf0d007879d3e067d4a6cdc87cddb038a1d4f3d845920c9e87b76a8df1963779ea56119d7e734a652cd SHA512 7b2a24274c3693eac31ad0076e9ddb7b1a433e37fbda5b52ee7ac8ffd917111e7bae44f7def38bd3fbf3cb8aaac3466978f03ce73bb07bdc89e50b2b455b3ba0
DIST aws-cli-1.44.70.gh.tar.gz 3100628 BLAKE2B ee57ee7af6d4bc6733a7da7a076f36586796392501bace21c4c444830615ea12f71c96ebf71830e95427dfc8fdb10c244612b2ce9d68e2a24806855cc40e0c4e SHA512 2ecc9cf607824aa7c054f4254ff6fd67ee9610953c15cb1e49a06e1bc1696a7554261fb6efd9c7ff5b2fd4dc03abddbe6fe2538d12543fd6d13a0b8fc0a5c9f9
DIST aws-cli-1.44.71.gh.tar.gz 3102823 BLAKE2B 5957f19e42eda2df1bb87f2b5f49b557da13029185da7af98d969569aed27c67de76a2ef1e592de258029f49cf8ab5d1f4a6d7f2120d25e06c95047cdc4bfd9e SHA512 771fdda58e701063a2d3ac75876c4d885c71ef4ebc2a81707acc67725a349134222d70b5cfb4cb9bf6927f3d212b47ec24ea174ca0a63805dfa8bab301f41f90

View File

@@ -0,0 +1,92 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
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+10), sigh
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 2)).$(( $(ver_cut 3) + 10 ))"
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.16.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
}