app-admin/awscli: Bump to 1.42.38

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-09-25 04:20:46 +02:00
parent e9caba19b4
commit 6220d3577f
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 93 additions and 0 deletions

View File

@ -10,3 +10,4 @@ DIST aws-cli-1.42.34.gh.tar.gz 2982283 BLAKE2B a9c887295b255b66d5e36ca5b134600ba
DIST aws-cli-1.42.35.gh.tar.gz 2982862 BLAKE2B ec020776ecc815a8c1a6b7bc59cb979bdddab65ef7299d899378bcf8b52f51918f0961cbd7136cd6cc643d40273131d5100f9345bb55f59565eeb42baeef6729 SHA512 2460d38cae6ebd513609ab0ff16303e797c252109f14057f2742398ac81a29b417b64839fd2dbddf6c1d31fda8580cd32a320078964d46cb4aca58b6ad97836d
DIST aws-cli-1.42.36.gh.tar.gz 2984169 BLAKE2B b01e99c9bce7968c31766cb0de5008895f96d15eda198775ecd7f8fc8a555391691e4a061916ad7d2a75895f9d9a7a62a110317bc1d99f7edcca20e0b010b25b SHA512 c07fdf652f7d5f0e1ad9ce1e0aaba51db7c654feb99a2e1cedbb77c75a7b6793b4e54ecf64299a248e55c327c48b9cbd22da990f149ed8217e69f24a48bea55f
DIST aws-cli-1.42.37.gh.tar.gz 2985117 BLAKE2B 9865bb14af15c0047f778db308e3dbdafb8f68be40c6ab5d0f91dcd95bde3acd092cd39762e369999b4f168bbeeed3ff971cbf68cd36e751e08804704ed51608 SHA512 6d83d77fc751b1ce1a3ee21ebe617de3abdd557e8f0363261d341b5ec073e39a325e58a614dabb735bdbdc06501063c8bb83ed05fc075c757945db61951deaeb
DIST aws-cli-1.42.38.gh.tar.gz 2985326 BLAKE2B d46d1a50d111872891240f4b6055238fba61ace2f6a92d64776fb55d04d770be2e9b6f494fe5b68497a599607e281d9389bf1cc8d7963de94dfcd69974d3d810 SHA512 67180ebba20cfe011a40c2ba0cfd60fd2081cbad033df05b8e61ac08220a688515f4079d21c8170c082143629b4c31cb193684e0b8465efb546a259e624fa10f

View File

@ -0,0 +1,92 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
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, 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.14.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
}