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 CF9F0158176 for ; Fri, 10 Oct 2025 04:48:48 +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 B28B93412A0 for ; Fri, 10 Oct 2025 04:48:48 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C46D0110374; Fri, 10 Oct 2025 04:48:45 +0000 (UTC) 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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id BCA72110374 for ; Fri, 10 Oct 2025 04:48:45 +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 6A845341044 for ; Fri, 10 Oct 2025 04:48:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CCC863A97 for ; Fri, 10 Oct 2025 04:48:43 +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: <1760068256.b5b4941b8aab712ab966669c32febe40ba71fcc0.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.49.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b5b4941b8aab712ab966669c32febe40ba71fcc0 X-VCS-Branch: master Date: Fri, 10 Oct 2025 04:48:43 +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: ff15865c-aefc-4146-a263-16ea2e8edbba X-Archives-Hash: b8e12653ec1e7aa6cc1aa4404e59e04d commit: b5b4941b8aab712ab966669c32febe40ba71fcc0 Author: Michał Górny gentoo org> AuthorDate: Fri Oct 10 03:50:56 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Oct 10 03:50:56 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5b4941b app-admin/awscli: Bump to 1.42.49 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.42.49.ebuild | 92 ++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 9924d6d8a5ce..7038194f410c 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -7,3 +7,4 @@ DIST aws-cli-1.42.45.gh.tar.gz 2989081 BLAKE2B 442f10b7d49cbb3dc75c384c29982e35f DIST aws-cli-1.42.46.gh.tar.gz 2989691 BLAKE2B 0c5ca6b2b28ad964482c491abd2d5f729072a5494408e72976813709f51e2d0454e027407b90721e38f6ca546b8d479450293451df39f007dc765b4d71933bb4 SHA512 4bcc4d2385de6be57cddc3cd7038ef68f0c84bfee65e890a046c35c0b29e5454bcee5db8c73f527523d21e800d51910885fabd510fd13477d802d1470bb0cb21 DIST aws-cli-1.42.47.gh.tar.gz 2992119 BLAKE2B 9bf441fb52b40b34b5a348eb582956c163ca9f0acc1443aa0c69b974d21a25bf90af91ad4be9977029db8fe6c0e42f03f8ed7a1f0453cc641cf702fe1c1abb0b SHA512 3e30298e7b653bdb544359cc31289e8d8b21bf1b559c82ff1a5a0aa44c3b31d99b03b175a00ad32073a8a9e6e1af40ac394be8e4a0866a6d8c9172fd5073f882 DIST aws-cli-1.42.48.gh.tar.gz 2992870 BLAKE2B a4197091c20e95dfe429d65c319e9c267e149ec6af1b1f3fa849d91e0f1d8d6f61f159a31283d475b2291259cd025d91ce200d5a8cb1744137db328407fef3d9 SHA512 e4442c10258af26eb99b72c34fea1bdc4ae1e5b610b48994fd0a9912babfe542a7fa7020463b0c7b1c69a759126f6cab55ebfdb1ffecdc829b200875f2d58d72 +DIST aws-cli-1.42.49.gh.tar.gz 2993358 BLAKE2B 1665f9ce9fe26a2b047f78e47f17cc0d80f567446221a120f9407f558afc786ede478039dafa88cf72f4a3ae6e2ceaab8f3910a33e6eca85c33917300435b2f7 SHA512 3576d3eed7eb53caba8fd545b8f3e500cc4f174ad46454fa49e85931fac1b187dcea44da39cb4ed176259330ecda8ad3240ee6d93a611dd3a198e8a4def900c3 diff --git a/app-admin/awscli/awscli-1.42.49.ebuild b/app-admin/awscli/awscli-1.42.49.ebuild new file mode 100644 index 000000000000..ee5aa1768d2c --- /dev/null +++ b/app-admin/awscli/awscli-1.42.49.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.14.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 +}