app-admin/awscli: Bump to 1.44.39

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-02-14 07:37:36 +01:00
parent 865f64b3fb
commit 94a8429ef1
2 changed files with 93 additions and 0 deletions

View File

@@ -12,4 +12,5 @@ DIST aws-cli-1.44.35.gh.tar.gz 3069626 BLAKE2B 89ecba2f030bca201ae16bf5326672819
DIST aws-cli-1.44.36.gh.tar.gz 3071463 BLAKE2B 2c910fa1276a07ea34ec4f6a2735e67487b86d5cd760f02f79455f81e7b6fd991e85a04a44e1bf95449ad18e6013443115a25f56f9cf9fb8170366518cd313be SHA512 18b6a31e23b43a6fe41f2fcc0257bcd8c36bc529920623adcae0c1798f31c87117a0032c42df84365e122c489a14c7f30fd36fac8c26593e340637fb89388f25
DIST aws-cli-1.44.37.gh.tar.gz 3074975 BLAKE2B d4048567b52f5215a59c8974a96b765c1ce9e330838e1bd1d069dc468ee07d545ca646f2099e8d7990331cf3c3c28aa4d66f8bdbfa71c34f8f1fbc5c52385022 SHA512 77ee055899071581b17dae0d098c132567a2a439f7c962296e49516e5670a8c76d8719f82b9b37dc61378e01b133ab1995d20fc70fe3002b02c77f270a0de65c
DIST aws-cli-1.44.38.gh.tar.gz 3075968 BLAKE2B d9966506fcb1a6cfaffd85e82c82f2cb97b7d9e2dc715c0b7ae7ec7afcdb1782dd7d00a3a06114fb2e7364cb018fea8afa1086d73ce468c51030b9ce6daee7dc SHA512 c35708353ffd39ae9093c8ddfd73edc89e0d6813257b1d8bedd636c1c4a41a59ef27a7d45fd41e89e96edef62b25674109515a14cbcea58b637863232b4a5498
DIST aws-cli-1.44.39.gh.tar.gz 3076839 BLAKE2B a681922f703e272bc4a0a8683373e6748ce0a43d27b329172446b8c23922fbd19f0cc7ddc1b2d3472159a6a3fcc3d1cf01150c3873d866f4df42dc83fdedabf2 SHA512 2b6346b9b0a0bcf21f89fa3c239dc94e29f7bf9001ed2a1e717c34061a8021595c9f32bf99fd5d9a7d7c05bef7e8e35471d6c349ca6870a5388749b8ff3e5593
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
}