From 8838d44e89178442a4f853b309d720f57d4796b0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 12 Apr 2025 08:44:03 +0100 Subject: gentoo auto-resync : 12:04:2025 - 08:44:02 --- app-admin/Manifest.gz | Bin 32867 -> 32862 bytes app-admin/awscli/Manifest | 2 + app-admin/awscli/awscli-1.38.33.ebuild | 93 +++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 app-admin/awscli/awscli-1.38.33.ebuild (limited to 'app-admin') diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz index 6299f387aa37..68f8d59018b9 100644 Binary files a/app-admin/Manifest.gz and b/app-admin/Manifest.gz differ diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index cfae1c1110a8..3bbf2c0f734b 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -5,6 +5,7 @@ DIST aws-cli-1.38.29.gh.tar.gz 2949237 BLAKE2B 2061ecc61cc25a0731c7af36016cd862f DIST aws-cli-1.38.30.gh.tar.gz 2950348 BLAKE2B 4ef9faa7f7ce552232123eda8f3cd19c0b262d4004d9322ce687a865d02649eae9b850a273f18b00cda0c12b09d9d28efe447c1d07c43868c6a9a729fabc596b SHA512 154e691160826d3971fd19ddaffdbe485ab5304671dd23dc544ba67af9a375a7148d3ca2a7ef6421ed2884042f9598cbe9d1c8c6f9601d6fa206eb0667787671 DIST aws-cli-1.38.31.gh.tar.gz 2950643 BLAKE2B cc3af755c11df896d2b8f55985829bad44aaad02077f60b91f0dbdc7f5bbcabdbfecd9b05a3cf05551ce82790a82888893be42200d38490bc2a2ea5527c3586b SHA512 1e21acf842f55b39eed45c5aa8232d2fc2e65bcfe20ea0f2be9992f5bd8f3f38072ffb134006bd813cdbc40e83c777a376bb270d0c60fa4ab7fcc7c0ea78078b DIST aws-cli-1.38.32.gh.tar.gz 2917624 BLAKE2B 89773566f61627c79b8e87f8e671b6d6f705c1631139b83732659f3f20de261e1b8f225e4fd694ff354de0f90d2f7e1daa586ae1de4b334fd4c1d2ce44c797aa SHA512 262708520077c3ac1bb5c8f03a58f2f7ae38f24a068bd9772097aede07f1b480bdae31ec20b8e5ff5ce47ecd19b81028432b754785599ecd3f1de2d9c7424023 +DIST aws-cli-1.38.33.gh.tar.gz 2918023 BLAKE2B 2e9539c86425b6b07594d3c8793d9935679afe3f244e79fa0e0db501f9e7809a61c352e3a00d6d8b3d4bddd63131d8b3c6f3690c2c62c34de3ed49b7bad15de9 SHA512 473c781d2cfd3957b5ab469d22c3a811766c4e1f2223db0c02d6e231cb673efa08913869945521b03ef6f2d7ad109e0ddda1b96f9bfa97a8b57e633e3ca7feaf EBUILD awscli-1.38.18.ebuild 3124 BLAKE2B 035e52b252c6e82be66ce01b02bb77556580162f4679e628c77be32fd256544ddc06781caae30bb763f949425b2545930c7704ebc509dd72588838834818bfdb SHA512 6297f03f60237a835600d4c3206600f833d1b013221ca349636360822b5d5bdb65a06a612070838605e70ad23b4bfd948461a113f63e4de106e6f8d35fb8e677 EBUILD awscli-1.38.23.ebuild 3131 BLAKE2B 8a61c4d672bc9bc67974d876f40ee63bd5c0c585be1325b849e84fde874754025abf8e865d1b23ffac3adacf23025902d5b1268dab87dbd622cf4485f959a4c0 SHA512 b59539df0de6cb7927d67e150c651c078cbf4f19415787abe6d8e27ef51c6c5a374f3df09aed35249bb9d00afb69ccc633fd070be45ee301c99ade2e454c30f0 EBUILD awscli-1.38.28.ebuild 3131 BLAKE2B 8a61c4d672bc9bc67974d876f40ee63bd5c0c585be1325b849e84fde874754025abf8e865d1b23ffac3adacf23025902d5b1268dab87dbd622cf4485f959a4c0 SHA512 b59539df0de6cb7927d67e150c651c078cbf4f19415787abe6d8e27ef51c6c5a374f3df09aed35249bb9d00afb69ccc633fd070be45ee301c99ade2e454c30f0 @@ -12,4 +13,5 @@ EBUILD awscli-1.38.29.ebuild 3131 BLAKE2B 8a61c4d672bc9bc67974d876f40ee63bd5c0c5 EBUILD awscli-1.38.30.ebuild 3131 BLAKE2B 8a61c4d672bc9bc67974d876f40ee63bd5c0c585be1325b849e84fde874754025abf8e865d1b23ffac3adacf23025902d5b1268dab87dbd622cf4485f959a4c0 SHA512 b59539df0de6cb7927d67e150c651c078cbf4f19415787abe6d8e27ef51c6c5a374f3df09aed35249bb9d00afb69ccc633fd070be45ee301c99ade2e454c30f0 EBUILD awscli-1.38.31.ebuild 3131 BLAKE2B 8a61c4d672bc9bc67974d876f40ee63bd5c0c585be1325b849e84fde874754025abf8e865d1b23ffac3adacf23025902d5b1268dab87dbd622cf4485f959a4c0 SHA512 b59539df0de6cb7927d67e150c651c078cbf4f19415787abe6d8e27ef51c6c5a374f3df09aed35249bb9d00afb69ccc633fd070be45ee301c99ade2e454c30f0 EBUILD awscli-1.38.32.ebuild 3132 BLAKE2B 41fb823fd66ade020726bbf3d9c2238a47e9b4676f554d9bc1caeebeee2db9631138c0a19a338030dd08bb366412c28fc4d5fbbf23ba6864185b23aed9f46605 SHA512 74ea6431f46e5909b59b44ae40ef20694bbebee17a74c7a658ec8b8089061c154d301b2a142021681bba95474b2800fdaec6e6061c478d50418aa365561e2ba5 +EBUILD awscli-1.38.33.ebuild 3132 BLAKE2B 72b38a93f521cb8f104c35147b8e7bc7f61b21982343e0eef47c3ee7a96331b790995a1db4bbb701b2737a2d0d6d4750aa5e953762f054694b3ed3e46003c5b6 SHA512 41b3ae6c1b2801246abab21d344c11a9341614dc5c9d5b4e0088a19893fba0ef0708915316180a680c566dea41e63b57d14e5b3fe1321b246babbf015469ab0a MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab diff --git a/app-admin/awscli/awscli-1.38.33.ebuild b/app-admin/awscli/awscli-1.38.33.ebuild new file mode 100644 index 000000000000..090dfac23a73 --- /dev/null +++ b/app-admin/awscli/awscli-1.38.33.ebuild @@ -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_{10..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-1).z +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 1)).$(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.11.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 +} -- cgit v1.2.3