mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
app-admin/awscli: Bump to 1.44.47
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -12,4 +12,5 @@ DIST aws-cli-1.44.43.gh.tar.gz 3073738 BLAKE2B 9a0dc6602482b099d27fed8d299af2679
|
||||
DIST aws-cli-1.44.44.gh.tar.gz 3075231 BLAKE2B 93ce5008d55d456d1f4db9e2de39a5539e4300b7b86963de0f1ba65c1dca52ffe556e2f1a64b7e95df6a0c2c08f69524288591d1d9a04ac816767d89b53606af SHA512 1a97b10309374c6df99ca4bb1060f3f442fda1a92d9534e54682173e1193892376de5ac7bf8a8feffc2a07b61592d20deb7785d323ab4d6c2ca1ea7cf1cd8a64
|
||||
DIST aws-cli-1.44.45.gh.tar.gz 3075355 BLAKE2B a821226edb6aef5ba23fd3d3da8ca64cce48f4f5b1374168b4d4df6cf57eea7f38916cc004c0af67a75e479b53bee44d104b199d3a3c42b627248d5c83e5349d SHA512 289cdb9d4ccd5c7ba3da578579e17f2c36d57587e3c870718d3e9585471506c3d80c562f236993c8191d8dbadbc7eaaf4079118c9e1b07aee817debbf345668d
|
||||
DIST aws-cli-1.44.46.gh.tar.gz 3076142 BLAKE2B 04f363131b6ac93c4ba924f3ad47ecb371a33af6a63e30b67213b9ff0a0b8ea84acecc0d5f94ec8528c34eda57339104d868dcd4ef1ce0866298fa940f4b3f05 SHA512 584cc833c6aa6e0ae34d3f9ba010b89f7a20a68d1ad429b06ecd14041172b0a7ca88a2c0d9fe25e8365e27c4448fedbe03bb2fe672f055a9406931b1c219cbab
|
||||
DIST aws-cli-1.44.47.gh.tar.gz 3076541 BLAKE2B bc7ebcaa93a19f327373e8522a373934be9a5be2278548879fcb03aef2c54d753baedb3b58ad33e8fce97615c30ef9bf270575bbbff26fb02b2a4d71db2200f5 SHA512 0b7e097f7be1b1748a729fce1a325b0caf71e231620396ea1abd525ed522d60bcede1abed13f2ca44bb4891e01da0c69dba71c5e286096881d4bd550f3859f15
|
||||
DIST aws-cli-1.44.7.gh.tar.gz 3056565 BLAKE2B c65d74973f229424145ee21a8e052dccaa7258a6cd8bced98a7895d4caef5ef2f0ee2cc58b21b0ba0edca21cd9837de43118a8c818afc8f6ab67ec8f62277875 SHA512 a927344ffd084eea0189bddd8b8c0e81ef36cf19f1b080994b194c41c4f4854158471123e34f20c333615e8749df0802de9ea957e942eb50737b166d85862e76
|
||||
|
||||
92
app-admin/awscli/awscli-1.44.47.ebuild
Normal file
92
app-admin/awscli/awscli-1.44.47.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user