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 8E455158176 for ; Wed, 15 Oct 2025 06:10:08 +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 78FDA341415 for ; Wed, 15 Oct 2025 06:10:08 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A6F891104B5; Wed, 15 Oct 2025 06:10:03 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 9C8601104B5 for ; Wed, 15 Oct 2025 06:10:03 +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 541C4341070 for ; Wed, 15 Oct 2025 06:10:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AE05D3AE8 for ; Wed, 15 Oct 2025 06:10:00 +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: <1760508592.4855df5ebb57334a345532a9cdfd7294e9de0764.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.52.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4855df5ebb57334a345532a9cdfd7294e9de0764 X-VCS-Branch: master Date: Wed, 15 Oct 2025 06:10:00 +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: cfd965df-3b7a-40cb-8c68-4b4bace4107c X-Archives-Hash: 4b8e4fba0bc24c90141d7631e8b89146 commit: 4855df5ebb57334a345532a9cdfd7294e9de0764 Author: Michał Górny gentoo org> AuthorDate: Wed Oct 15 05:04:37 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Oct 15 06:09:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4855df5e app-admin/awscli: Bump to 1.42.52 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.42.52.ebuild | 92 ++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 891f2e5d1a1c..1b926749fa87 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -6,3 +6,4 @@ DIST aws-cli-1.42.40.gh.tar.gz 2986289 BLAKE2B f0f9d435f1b3605b73b99be98ad0ab455 DIST aws-cli-1.42.45.gh.tar.gz 2989081 BLAKE2B 442f10b7d49cbb3dc75c384c29982e35fdba70df87937126229dbe96db133bf479fb963cdcf9957b79b6bb215743f9a5bace31d52573dc73438d84176a851145 SHA512 bbbc58d9248a82f18c6669a970edb2c9a61f3f782b02c68027560e1d9e9fe323c5f14c0fcbfb2aa9ee03d189f93f327c210b73d88325e5e970df44f3e58865bc DIST aws-cli-1.42.50.gh.tar.gz 2993375 BLAKE2B 06d4a93f50332f86760a3580d172e7ea687e78494db7f16e926ea13a7df3bb2230a3857e45ced809d3dbd9e46120438b2aa6e269f274668a6923cb75b047b9cd SHA512 e68c94952e04c7b35c3af926de99b691cfbbe596b0f9d8a0df5cb4d8c128f5c58f21006b73faa7cd0d18d273daa5136a76b36cabb7ba1e1d12d6cb8b7cef0031 DIST aws-cli-1.42.51.gh.tar.gz 2993950 BLAKE2B 968299b4cfe7a40b79b49f035b5e1c9f2ac4564229178136cb680c70534578a335f1c837dbd3fec2b96730ed7332b3b3a7b1b85520b8e0263d3667da305d848c SHA512 fc69ba48b0738b3d2e3f7b8f3980e42503d2d791dd82522c65b3a2a2837f93de1dada9e48167ac08d1baac0eef7ce3cf00e67b8e095257e6f9680b3d8d3c53a7 +DIST aws-cli-1.42.52.gh.tar.gz 2995876 BLAKE2B abe942ff7a754823bae5046fe465fc9c9025cc8cc6b6a68954100ee18c296166403470c7928d7dc98498f6e823489d414346881dda73459c34696502923e5c62 SHA512 49320156041cdb60866f323ca95eaafdb1aaf864ac79ff2d000cf9b1b0279172d44c3360a57e99b5fe0e0fe3aa945934b83a2824e9c8e5bfce0362911c00b544 diff --git a/app-admin/awscli/awscli-1.42.52.ebuild b/app-admin/awscli/awscli-1.42.52.ebuild new file mode 100644 index 000000000000..ee5aa1768d2c --- /dev/null +++ b/app-admin/awscli/awscli-1.42.52.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 +}