mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
app-admin/awscli: Bump to 1.41.13
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
DIST aws-cli-1.41.10.gh.tar.gz 2982884 BLAKE2B 626d13fda96e6070acbaf2379b4de0929dfb3189bcf3ee3534d8b3bd987bc5ffa3e48b2edf51849932a76d948e53252e372c141c250b9dfba3ad8c951d8e2187 SHA512 08b777892c068b0cfceefc6cd7184310648d6293536db2760e5e0256146e6f8b7c252bde1a1c32d31cbb253c370801989f79baf17348699499ea60d3cc5cc64e
|
||||
DIST aws-cli-1.41.11.gh.tar.gz 2983727 BLAKE2B bba2fce7d90c409f6eb14bb79c594c0f07a4eb6409d903c283a59316d85da344cbbbc76a294e676801e5d6aeef0b0d9260382607d91d8033c5f64aedd7995f5c SHA512 e08ef29b0234c524dc9bd8fe352fab29cdc050e11880f84aedd5e37381267f712f408575168afcb8895bfdfe1317acb5e44d3e0bdee4e3bed3ceafd1ba83d308
|
||||
DIST aws-cli-1.41.12.gh.tar.gz 2984056 BLAKE2B 1959581eaba90b825dd2e83e7aecf7490cc21cc5a0563b47b7e59679319310b2d81de4fda13dde9a6c44db288514fcf8c972b3de680edc0e0d92984a2f5c1f97 SHA512 30b351f25819b161e0d183427314252c1f9dac43fd64507bc4663c1f7486261f587f8f9127babed3ab6745f8888f6ed0ed3356d347c04635a9539694a9c7f099
|
||||
DIST aws-cli-1.41.13.gh.tar.gz 2983942 BLAKE2B 620a346c1f9d3e923c42dc3b8119a34a2d714b0ff82413098c567622283e68be5ebfec282195b514ac2670e5b3ab8440295ef22574afa7879bf6f8307e0223e0 SHA512 ebdfdb1a465dcbfaab438c561fd93ee010fa8eba545bd57c77dc89d3bb9a96daa7ac7507964a5cdf4cac6b393b341db9d5a0371103c7ae60f0e35f08b2e9e4dc
|
||||
DIST aws-cli-1.41.3.gh.tar.gz 2971817 BLAKE2B 86e8400c24bbf189b69ca992fc7c345e2a7687237d86769b627bc53904cbebadb1e3f2da871fc7a5eadfca61d4bdacb58dc50b17294672921603f7784f5a08f6 SHA512 8da77a0873f46791af8ca43c4e5de118ea17a6cb8f0993a8dda066c495211c8f04846acf6e098a53f6afd4770099435dc28f2018dfe3bd19795835487fda832c
|
||||
DIST aws-cli-1.41.4.gh.tar.gz 2972410 BLAKE2B ff6ec500d10a9a3d17d8524c27bdf089253823db02bf70e520b2f911ca95d57af4106c970118fa0376d542c0269db291124a7f1db33563fbae5a4144fee4a6cb SHA512 9952f549567125e8d1e36e032cfe11b1eff4ecfe1775b2f9fc2bd5c812dc63969c6c4906df99f8accfb2bd8e7cbac6fd26a999870bbb85a0fedf51b9a7660df7
|
||||
DIST aws-cli-1.41.9.gh.tar.gz 2982493 BLAKE2B 5b0d7b698840c76936ccfdbee9ef029676942d4683c64298b9ccba09530e2939d5f2d71ab90883ccdb79b905835d917673235743581225f968952898c801bca6 SHA512 8465b416104500862e48c719869e07d9e6ddb875225b21e18036486f0db651c48f5e9dd4d15735a8cd47c56cee14f93d112ee139145b49be6f42b6190feff0d9
|
||||
|
||||
92
app-admin/awscli/awscli-1.41.13.ebuild
Normal file
92
app-admin/awscli/awscli-1.41.13.ebuild
Normal 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.13.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
|
||||
}
|
||||
Reference in New Issue
Block a user