mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 00:08:05 +03:00
app-admin/awscli: Bump to 1.40.16
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -5,6 +5,7 @@ DIST aws-cli-1.40.12.gh.tar.gz 2932013 BLAKE2B 9770bb0826f4ef03e10e43baa12c3d839
|
||||
DIST aws-cli-1.40.13.gh.tar.gz 2933173 BLAKE2B 9939cfb54516dc685f4f87a5056b35e003c577668ecf86a89bc12944a7008e68581768d17279832d7b3869eb4b64f19896fffc10828661b0983a56b465ffa4ac SHA512 09bf7c7351dea97c86ead0d80c00302b26a84ba8ce4b0ce53df7c666da2374f6dc150b5857b2d02f1f01a44469074d6389311cd2afb1459e1e28431cf9338177
|
||||
DIST aws-cli-1.40.14.gh.tar.gz 2933732 BLAKE2B eaf6dc1c9cd7abc7a74913f20dfab4f71d246bbc28d54ed417d4c1be939e6b80e9c62769eef176a117298bb158025e886d4f4bd4ffc8f4c3d384f3d56e325979 SHA512 89f41d38285022435bd1e4fdc9deb1dc2018e997f67a9c2e8be8c2e89a1cd71bbb225246adcd40d5a2d24d692ac503fc58bcefe5b6008b76b9329087d9f6ce09
|
||||
DIST aws-cli-1.40.15.gh.tar.gz 2933774 BLAKE2B 5177d77be9c5110bf31a974ef35446c2a7a4bda881f1cd3b0db127ab35c20b3dce7e513c0e1f15f4e238e4a5c2a951f030429f8cff81d2801e48ff3dfc06944d SHA512 3fadd578fdcd94db0c9b039d0e2b01de49287b85b245f59034b5456d4c242a4ea4819d61fbe38a450fb39446523731708d927083c8218872a2f389ab6e146b8c
|
||||
DIST aws-cli-1.40.16.gh.tar.gz 2934636 BLAKE2B 91926dcf55540dd458fcf43b28760f6b2c5eeae515125897003e5fab4222422e74199fb1d9c737b9a573843dfbf34a06b0adc644dbaf47db7e052863a29029f6 SHA512 ce501923b24b5f4f529d10ea954308c9eb366c4923a26a2e64ee65c39e74f2f1e2bad9eedea60f96de0a5ea7db9ac0b18e72663275fb10ebc221600c637103f4
|
||||
DIST aws-cli-1.40.2.gh.tar.gz 2925069 BLAKE2B a130ef1c94305d7a1a0f4cd7f23120b157479209d7647cd7ac59abae823a9af564e2742ab7ada6925bf9c97561c21b719f354a93c067cda961a9418c80bf0729 SHA512 a78289503e4f21679b1356b1cf7a93c8c0426ff4a4bc7e42007d592c6307d7fa24e7dc594a3088e92ef1117ecbe947651b725cef0a6070aa2d5c76d8032b6bc5
|
||||
DIST aws-cli-1.40.7.gh.tar.gz 2928409 BLAKE2B 29ac7685b1289d98cae3338ccb2ecd86e8936bb701160e08501d40ba1d9eebefa43066de7c4b534a6f7098faa572227eb51d6807bff042132fb0570e1c133d63 SHA512 33065fac1278f5f2f0835f3cc8e778bafe7d2d806893a3235894ac639d8c50d4a617dcfade0563e4af4d6efb1b9c448d5e41960741fb1d3bc5ae8a22665aeb06
|
||||
DIST aws-cli-1.40.8.gh.tar.gz 2928979 BLAKE2B 0b1c3caf85e36013a01900a15967d1cfe69db3cfe3ac1dee0e38f12ee1b69025375d604b5c2f75d4f0bc94a832dd3361ceaec9b6e372d6f2176fca864660a5e8 SHA512 25271c63fd70216e165ee316bd0ad7f47e2ecfca3e5cfb80a0bc61ad4b8ef5f0f553a2d2065ca02a7ada1cf6cb19d6d4b9cfeabb86c6867e360321946d12733c
|
||||
|
||||
93
app-admin/awscli/awscli-1.40.16.ebuild
Normal file
93
app-admin/awscli/awscli-1.40.16.ebuild
Normal file
@@ -0,0 +1,93 @@
|
||||
# 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+1), sigh
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 2)).$(( $(ver_cut 3-) + 1 ))"
|
||||
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.12.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
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
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
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