mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-admin/awscli: Bump to 1.44.66
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -9,3 +9,4 @@ DIST aws-cli-1.44.58.gh.tar.gz 3085611 BLAKE2B 070256d34add1e65c5fbc5f5a760a7058
|
||||
DIST aws-cli-1.44.63.gh.tar.gz 3092201 BLAKE2B 11d2bf576db5b26bf756a7a76a6bed8a0d483ff635cec0b87ce8eb58296dd93969c8adda32294aa2d609b52303f582e37b35be97cd0ab5fe8b1a7fea36600986 SHA512 3090568d65305b5935eec37bb5f6a7f53fd4b99398f6b78f7da8041cf9f924db4aa4c55f85ae354eb8fa8c591d5d2fecd1ea74bc59e7f824c78af8e8190cba76
|
||||
DIST aws-cli-1.44.64.gh.tar.gz 3092365 BLAKE2B 24cd2282136e33143fc5315f13b3f4ff9e71305f56ab7829ed3c1fcd2575bfd947b072c5a279bd05e5e7f29e56a1297718a5b8a4a4de4d717e1aa972e5ec1e4d SHA512 fd1aa61c71e9de1fa2afeec2279ba50d4a9a35dee7ba14a96055ced4a02bfe98864d63e2d1cea1457f6baff6455ae821e0b9767afca9780ca681b820dd2e13af
|
||||
DIST aws-cli-1.44.65.gh.tar.gz 3092733 BLAKE2B 7f7c736d0cd54443d687c85ebc3e7fed51f9ddd49d993bf3f457ba8c801e3c818f8f32317d1315eadf505d428e429b2586e10295532db549a58b6515c1417718 SHA512 807b06d17c6b46c0948a969553dab89203a3ea6d95016a9dcb03fafa54f167eff7dade7842649531703582bef57b3eac82151746def1d222ffb207dad198878f
|
||||
DIST aws-cli-1.44.66.gh.tar.gz 3093546 BLAKE2B 2a5a2af41c73d2f9e10f38b1d202c54b24258eb71724be1d9b588050517e05d2c2126b906cbae19e614dd321b786a19f0d60e15724763a0c2e49d358956d7d80 SHA512 d0ff1a782015304df90fd5e0e647a7d69a761940cc34f6dee176b1d809cfcf1bb3296b7df3e104cf7ff11a655f62657b1a2ea30eaf5ea785e6fbdcc412fa5017
|
||||
|
||||
92
app-admin/awscli/awscli-1.44.66.ebuild
Normal file
92
app-admin/awscli/awscli-1.44.66.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