app-admin/awscli: Bump to 1.44.44

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-02-21 06:42:03 +01:00
parent 0b5c85dac9
commit f69fb92bee
2 changed files with 93 additions and 0 deletions

View File

@@ -9,4 +9,5 @@ DIST aws-cli-1.44.40.gh.tar.gz 3077740 BLAKE2B 102db6a038ac1b5be1af122b5ed4488bd
DIST aws-cli-1.44.41.gh.tar.gz 3072672 BLAKE2B 6babe049f5602a6d03a52da70839c48eb7a00b1f59a839ae8815cc9de7c2e95be1b52577711ec46f923b33c6e7101dcef6fe5b927648c638abba955f511b88ae SHA512 a5d3b3f6d239afac078d5875fa6dc77b06247de1ba26882b2ad5e342594d752233c2822925de1d9d7faef77366d0d79f7fba04cefe75ba4cc1f19d2eed7577e9
DIST aws-cli-1.44.42.gh.tar.gz 3072905 BLAKE2B 276ab58bb93c0b205ef8e181b2f122bd636177249f7c09c1b8ce0bc8e71c37f5310eee7e0e15ee49cfa33cee728c6031fac137aac6346e8475978458662de57a SHA512 44ec09ae1894d9d6ad4b86830dfc78b8309524b1a33b19a1ca9847351e3ce806bec8955a5a86022e3c2519ef530500ec7ac92691e3b05965c07cff3223e3c794
DIST aws-cli-1.44.43.gh.tar.gz 3073738 BLAKE2B 9a0dc6602482b099d27fed8d299af2679234df467224de6e37ae7c666a96905f876cfe08283c417aad97248a58d11200e1e65c26de8262cc60e6dca9a29bb754 SHA512 3bbe00027228ed35f65ed0d9955680f12106fe9183cead36bdb0c629923ec909a51b6236e0aa8f86e898f339fbdddc02d64f0101adf4cf4c36c49f6a452ae6c3
DIST aws-cli-1.44.44.gh.tar.gz 3075231 BLAKE2B 93ce5008d55d456d1f4db9e2de39a5539e4300b7b86963de0f1ba65c1dca52ffe556e2f1a64b7e95df6a0c2c08f69524288591d1d9a04ac816767d89b53606af SHA512 1a97b10309374c6df99ca4bb1060f3f442fda1a92d9534e54682173e1193892376de5ac7bf8a8feffc2a07b61592d20deb7785d323ab4d6c2ca1ea7cf1cd8a64
DIST aws-cli-1.44.7.gh.tar.gz 3056565 BLAKE2B c65d74973f229424145ee21a8e052dccaa7258a6cd8bced98a7895d4caef5ef2f0ee2cc58b21b0ba0edca21cd9837de43118a8c818afc8f6ab67ec8f62277875 SHA512 a927344ffd084eea0189bddd8b8c0e81ef36cf19f1b080994b194c41c4f4854158471123e34f20c333615e8749df0802de9ea957e942eb50737b166d85862e76

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
}