mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
app-admin/awscli: Bump to 1.44.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
0cf465619f
commit
8d4dc9635c
@ -4,3 +4,4 @@ DIST aws-cli-1.43.15.gh.tar.gz 3035398 BLAKE2B 18b197a2897d52567694b1738a788dc3f
|
||||
DIST aws-cli-1.43.2.gh.tar.gz 3021667 BLAKE2B 96e997a173fa03330ac188874a2f2763c0d5e365e2b8a6d9eeeec7cbc54a03434efdf98bc11c91555bc2fe36a524f4338f308d7fcee53007645c9434732ee654 SHA512 a90b3523b7a10eba1c97fa0b4150619d0c67aef79e30da7d5e95f88d0a99e1d0256d9871ec4a2e19860b7a7afc91cbbd5bd57322e09041c8d2aa123295cb5f23
|
||||
DIST aws-cli-1.43.5.gh.tar.gz 3022688 BLAKE2B 9246ea7ef59101488d290de46e109516c36fad8444b90bd2e79692fdd6e26944839cc37be41a8e128f9ba27219a2ac711692552d196da5cdb59385f6b4ff3fa5 SHA512 511c02db2c90d60cb383684b37fcbf9cf42ba61e0e5a952a9974368dc55ef069d4149c39dcddcac1db2d8ce249167ae7e4c8dc2c04f9dfda80d9cc8d299f4634
|
||||
DIST aws-cli-1.44.1.gh.tar.gz 3042753 BLAKE2B 5e38a206fddb39c7f74dcee1dbc81fb0a667910077c799476699255f8e62ae7c281677d88b88728368c2b5b3203f2afdaed94d3cf1673f0a6bf4e85c91cd1251 SHA512 20713c9dfa9bddf458d9b68fdac335a22c67ee6dd265da88777011ab3205ee23430f45b33a3c8edc8b8fec029caeced6bf18cd3ba0962c68059e0a60a60ad4f1
|
||||
DIST aws-cli-1.44.2.gh.tar.gz 3044823 BLAKE2B 5d9353256b48d5316b0b5e3645a87181dfca0e66286b082f58155c7407a7a8f86d5cc9903f309f67527ae6c4dc7cdd23e32bb6474c52a153546bf7937dbb2b6f SHA512 c495a5837f9535c07e23c98d96cba7eff633f945fbe917c2e00b079bda5feab8cc8ae1c07f90c092c4f199fff762d2568691cd992c66d3f5cd3f81cbe73e5380
|
||||
|
||||
92
app-admin/awscli/awscli-1.44.2.ebuild
Normal file
92
app-admin/awscli/awscli-1.44.2.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..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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user