From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6736915808A for ; Sat, 09 Aug 2025 05:47:20 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4CE90342137 for ; Sat, 09 Aug 2025 05:47:20 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id F3D8811055F; Sat, 09 Aug 2025 05:47:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id D80D011055F for ; Sat, 09 Aug 2025 05:47:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 78EC534211C for ; Sat, 09 Aug 2025 05:47:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AEA8F29E7 for ; Sat, 09 Aug 2025 05:47:12 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1754714795.8dad495cee67a0721845e6b4f71fe1e10c4c62a5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/awscli/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/awscli/Manifest app-admin/awscli/awscli-1.42.6.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8dad495cee67a0721845e6b4f71fe1e10c4c62a5 X-VCS-Branch: master Date: Sat, 09 Aug 2025 05:47:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2f134ade-c462-4eeb-a686-28b68f4fa736 X-Archives-Hash: 6926fb97a504b1dbc5e4218dc3484d75 commit: 8dad495cee67a0721845e6b4f71fe1e10c4c62a5 Author: Michał Górny gentoo org> AuthorDate: Sat Aug 9 04:46:35 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Aug 9 04:46:35 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dad495c app-admin/awscli: Bump to 1.42.6 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.42.6.ebuild | 92 +++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index f742857ffd48..9de84b7bb4b5 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -5,3 +5,4 @@ DIST aws-cli-1.42.2.gh.tar.gz 2991268 BLAKE2B de1a4b114c9b69c4c8fbb64066c0baa07f DIST aws-cli-1.42.3.gh.tar.gz 2991885 BLAKE2B 395e4e2319465fe4adb4ca86677e8102f6a7b849bb3ad1f9c1cf64b9fcbd82c7481b67f787c3feeb019ec34dfe556619d3b4dafc12fa987ab75eb329a8385ce3 SHA512 ffcad8cf55e052ab9120b22d080940e44b55c469611e5b3e62d2771e43d555f0ba32db45e2e344b15ff2365a667665b89eb88224c6a4c3732b0214c745e82d2b DIST aws-cli-1.42.4.gh.tar.gz 2992092 BLAKE2B 2d73442ee7510232995a2b9826660945ddb1eff276788e2efcdf3b4709cbb68a7a003c90478371b782ede5ec05e3e97c8145b3b7741d59472a2dd990d1c6692a SHA512 336f7574f7f1c14671d22405b2d1071a7881b6f305616c7ce320119f47e7343d9e70c7d2624b102977a0bf9c95a5e96d8ef40a609dfbb3abdef408b863fd6e44 DIST aws-cli-1.42.5.gh.tar.gz 2992602 BLAKE2B acf7b271923c00a6331f2cfa218bc4846f4669ff22c889d5bd895d8dfbc57df4aaa886b8318b9e54479fa33193874fc274a2e559b8297790fa042fb40a3a34cd SHA512 03f1471ac4602b375c7e97a7240c0ee1b3fac4b3440b5fa894dfbd99434e88adb52a85aa4a7ef16d4df4742701b5b5e84776530b5ccca608e197ff45751cec5d +DIST aws-cli-1.42.6.gh.tar.gz 2993445 BLAKE2B 57166ba2409048626be42c5cc9b06f856fc26a43f7d1ae7fe650e6cfa32383c5745956e67f9fff5a019e2478ed9c5350c12acbe0fbc539db525baa4bd9ed91fa SHA512 f16265e7d12754f498fa52ea73f4b090ecc64cc1177aa154cf56e1eee80534702fd38155ebc8e8f61a3be4e03ea73a3814cc59ef2b4d5dc27452ee38ce758441 diff --git a/app-admin/awscli/awscli-1.42.6.ebuild b/app-admin/awscli/awscli-1.42.6.ebuild new file mode 100644 index 000000000000..ba1a897f1ae2 --- /dev/null +++ b/app-admin/awscli/awscli-1.42.6.ebuild @@ -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..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, 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.13.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 +}