app-admin/awscli: Bump to 1.45.15

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-05-27 07:18:27 +02:00
parent 5975314668
commit 0f0838c19a
2 changed files with 93 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
DIST aws-cli-1.44.86.gh.tar.gz 3124407 BLAKE2B 035d024aae7f582b2fba521c886753ec5b9aeed5c21d1207b45d3706174d68be340b5ed0b1835e12ed575b0ccbf05dd216930738e77bd3730593e91ffdb8fbae SHA512 03bbf772caa3f8a445538b8c7a04c217b2458b9def1803826511c1ca906f3e6a4525d074f81e92825e675a8414b85e11be447764b83e4339b1a648b8a611df57
DIST aws-cli-1.45.14.gh.tar.gz 3151019 BLAKE2B 96e6c64e3510e75b2145f7575c277f883dcc4cdeb273396e63844c856f841c0c2b90b2885f66f8b85926f9941c223fa700098095277529971189dd7445f89ae0 SHA512 1c72e8cce9e9d2665d36d6216f6dc63b0364ca9d8c52fe11561324233822c31a9c1b77b53b1f7f72b3d68cfa4a87c4c2d70e893243adf65f102061884606c79c
DIST aws-cli-1.45.15.gh.tar.gz 3151346 BLAKE2B a224cabdfc4fe752b6648641e1e44f338738f355d59aee093003810137caea1e57c8f994faa7ef557007274557b786fa1ca57e562c2e93b80e7cbb48265e733e SHA512 872b94067c55a101c20ee27a50c0e1d4c5ea108472d06eefc70e3d3120c8db2111693d24a1c1efd86d250bc2933d2ad53a9b1b092ef4cb072eddd462b9770114
DIST aws-cli-1.45.2.gh.tar.gz 3129806 BLAKE2B b52f9d17c37b40eae681934e40330ff82e21da6ceda1921e289132a3e50d5dfb6b0eb123bd04560824254783ad519dafa84acf94228a8586e0b28286c2b49dbb SHA512 85da482370a093c4f061909e5fdae7df5bbb00e27e4fbcd054eeef3c7802ef0751ee4a396b51e1770c17018a602c69699381388c88413ec9e6b2944d683dfc53
DIST aws-cli-1.45.6.gh.tar.gz 3135352 BLAKE2B 040c073cb565ea9969027f0a07002b997f382c43c69e54d34cb3faff22af38447a861c940b35343b55f5718e968c0967983d058e39f1feb5e79fe68fbeaaa323 SHA512 f1568979799b5abb5b7d791150ada6aebdac88e37513fa576c8bdfd5f2cdb5990256cf16b579c0d578d02001302b90fc1e523e509797f047dcfdb7d7f90a9910
DIST aws-cli-1.45.9.gh.tar.gz 3143531 BLAKE2B 9e34ad88bc8086b62f247ab3cd7f0308521c580eead65db804ff5cabd71afe4bc92070e1a866ce51436cb9f72ad535147eac34099b1145fee49f20e26938acb2 SHA512 57247536e0fbd0dbb2179d60f22636e7633456e92e6df487c3aff805c785d7ae8ed9ba5280acc536ee7d2b5e4f524b5e594a61b4bb1d9523ab5e612950448d3a
+92
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)"
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.17.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
}