app-admin/awscli: Bump to 1.45.48

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-07-15 05:50:02 +02:00
parent a36fc06c9b
commit 08e9a63524
2 changed files with 93 additions and 0 deletions
+1
View File
@@ -3,3 +3,4 @@ DIST aws-cli-1.45.36.gh.tar.gz 3178460 BLAKE2B 2a1f837fc6991d9cfcdf4d9f54d57e7b8
DIST aws-cli-1.45.40.gh.tar.gz 3182287 BLAKE2B e0bc7454b7b0c7a75ef43a3eeaf2a0bddfbb7753fc92d39438d4219fa929ad7a9fd1017a1b9ecf1dfb560967ed7ad9feae266075c2ca44431b76c6f44383e240 SHA512 c19c645e4d161d215f49d55525a4ac939558f0c155e77380e00596018aaf8ce51f77e07d348b3d785c2634342225095b8cbba9da882eb40c402c8a42661673ef
DIST aws-cli-1.45.46.gh.tar.gz 3195842 BLAKE2B 83f941c9f929174cd93b36db6d4aa7dd9ba1fdcf01fb6c08c595970ce53a73b64adaae9daea7b15366d283af27e60783adeaa91300216d39879d092dad77a5ab SHA512 ad15c12fae077010b515f0161adc0dbff49126c0a6c42d553b7d397da4023e9dabb58884549481cd72f140d0ae398145560678687e9b4c472f2fde8207b0f8fd
DIST aws-cli-1.45.47.gh.tar.gz 3196069 BLAKE2B e1e515d1fd18a0fffc515e6698733dfe41cc9b9327feb42f7db37b868c63d1c70eb86392ea0b01c6ce4e00bb25f4f83f4c2d5920fc1b3de5138ba578f0c8e73e SHA512 a931eb3287d235412bb5df657697dcec181a611799ebacf7fb69c25bcac53af9478692953a0457d350d45c95d15ac3cd7a5bc18a77448dfcea8ab6fd116a1fc7
DIST aws-cli-1.45.48.gh.tar.gz 3197435 BLAKE2B 4f8f135581e17e721b37975891c8666267d4218642878139aeaddd4053e401b17cbeb34e2baec6b17dfdb8874fff90f9a4ef22b58183853dea216adc1deeff50 SHA512 d10ca1c26bc076ecc050a31d7d539820df2b899d97db1b2215c9938ae1785c6a0eae42b32eb3833eb3df7fddc0f485cbd940e50793d55ebcb88c2690651e483a
+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_{12..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.18.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
}