mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
app-admin/awscli: Bump to 1.45.27
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -3,5 +3,6 @@ DIST aws-cli-1.45.18.gh.tar.gz 3155549 BLAKE2B 61db0c81272ede80fa55e28d1ac4c8b02
|
||||
DIST aws-cli-1.45.24.gh.tar.gz 3162323 BLAKE2B 47485a8d7d56d32675e34114f6f93cafdefe288258d1c1fde1b01d74c76503d2b5c258e381079fdfad2c28be9f68475b63fe2231fcbfe8c2b30c6eb719f55c02 SHA512 545e9ce57872f0d9eb3a7e420cc09d9a9ee4c48bf42b424698ab704407ceefe4ca2bf98ff74bb593a6b4c1ebabfac51de4aca8575fae8b77f4c781b81260064d
|
||||
DIST aws-cli-1.45.25.gh.tar.gz 3162744 BLAKE2B b3e3a326b080892bf6215834be062275ea552cedc1c1fae0c7658befd6251801153a7181e1def0414bfa9193cbb4cfbd855e75a3248f931d450bfe97cbd150bd SHA512 31efc3b5092a0f69d0620a30fc7465868082317e53185649ab47e5d7752927a9fe94d3e9f203abc57aa9b86ac4013251eb0769feb9107bf58cebe46ecc6d264b
|
||||
DIST aws-cli-1.45.26.gh.tar.gz 3163726 BLAKE2B 07c54eb7b83b00fb77fe162392d736a2de2d3ba69ba707dfc665121d602a7349729f82d0da4192865ea078146f1bff28fb446951c2b1b65555b66f4e3d941dd0 SHA512 3b271635ab889b4018b6f6ab3ff1bc8174128a465e3ed0bee3a029eba8c03704ec8f388b7849f0cd1cd8c7699e31ef7c6111a6c86642050c4439cab6588f54fd
|
||||
DIST aws-cli-1.45.27.gh.tar.gz 3165686 BLAKE2B 63d9904ec12dd040f2d59c864f959414be1dcace263efa118bd2a3b157810ce4daadefc3b44c1cdf4dd33a98ddf910a52aa0d23ce223e76bbffb53312597ecfc SHA512 e060fd97c4c59608099b89baa4bb0d1016a200a41c4c58da33d9ef2f62e6a226295c86d23a9123dd09e332e10e961a673c913293ecb2e9a682651c6fc79e526a
|
||||
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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user