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 35A4115827B for ; Sat, 23 Aug 2025 04:48:57 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 159D8340E13 for ; Sat, 23 Aug 2025 04:48:57 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 9A5861102F8; Sat, 23 Aug 2025 04:48:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 92D831102F8 for ; Sat, 23 Aug 2025 04:48:55 +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 49A92340DD5 for ; Sat, 23 Aug 2025 04:48:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9744E34C7 for ; Sat, 23 Aug 2025 04:48:53 +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: <1755922290.5a37b4dcd7b2f47720925b12b9aa8534064ad9f4.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.16.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5a37b4dcd7b2f47720925b12b9aa8534064ad9f4 X-VCS-Branch: master Date: Sat, 23 Aug 2025 04:48:53 +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: 1cab1441-ace0-4359-9780-dbab62895a8f X-Archives-Hash: 19ee62d3e59ae3555212ec7a58ea9a4d commit: 5a37b4dcd7b2f47720925b12b9aa8534064ad9f4 Author: Michał Górny gentoo org> AuthorDate: Sat Aug 23 04:11:30 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Aug 23 04:11:30 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a37b4dc app-admin/awscli: Bump to 1.42.16 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.42.16.ebuild | 92 ++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 88e367d1cbf1..5458a2734807 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -6,6 +6,7 @@ DIST aws-cli-1.42.12.gh.tar.gz 2998271 BLAKE2B 2c5040ee107004307e8c186469e756be6 DIST aws-cli-1.42.13.gh.tar.gz 2998481 BLAKE2B 7357c262a60d57a11ad66b3378f8a093fe37111894f88f4b37e246aa85ed3c36ccf4fd230f5e18f14aa1f12f0279039799d912a54d35ed51f6271c6b00c1ed60 SHA512 6c82d941a7dc341e0ed445ddac943d607516b261840085cac77622260007671ab8a16529a2b67350751331325ba73db89e81b9489daca1f2869b8e6dca40cfef DIST aws-cli-1.42.14.gh.tar.gz 2999311 BLAKE2B 37c4c2282c8a57c40031b1aad62a3f78927c2f2517199a20224fad3db4f17ca544ff49045a0a6630a5c6f84548dbf181fb384b6b201a7619cbb5d9267cc263ae SHA512 401498995f04943289aa4ad0818b45e1ee6cb40da81873014dc3dc385311370eeb02925abc0a820d582bed71878d574b24200150653fa79a3cf00f0eadd4477b DIST aws-cli-1.42.15.gh.tar.gz 2999288 BLAKE2B 9024a527bcc8836882cc52817308a853c63dd4f6a42ef3b0843396eb68153441ba610d293a487fcfb3a3084c5b0c0d1c8a384d0442980ffe651f909a54012820 SHA512 c6b4c0fc906993fddc8c891ac777d66dff2a94fb47225f6e7ad3b680886d8f4b8d23387e0371641d9c0bdb59d000e5f01ee006de4abb3170daddbc63197da532 +DIST aws-cli-1.42.16.gh.tar.gz 3000024 BLAKE2B ed92f91e643768437cb1eb55de807b4a366320d539d07e026866c0c02b83c59b9cebb939dbdae9e369f4a7b992238f7b55e3779a6d8f3187bce16b9b55e78111 SHA512 e31288bd7675f334f8c9e9a46da2f8dd848043699f140178f7ad0cea9c16c0741f6338014392147fa2fa08bbb02fddc224967f0fa647f553b5dfdbb2e9a87604 DIST aws-cli-1.42.6.gh.tar.gz 2993445 BLAKE2B 57166ba2409048626be42c5cc9b06f856fc26a43f7d1ae7fe650e6cfa32383c5745956e67f9fff5a019e2478ed9c5350c12acbe0fbc539db525baa4bd9ed91fa SHA512 f16265e7d12754f498fa52ea73f4b090ecc64cc1177aa154cf56e1eee80534702fd38155ebc8e8f61a3be4e03ea73a3814cc59ef2b4d5dc27452ee38ce758441 DIST aws-cli-1.42.7.gh.tar.gz 2994006 BLAKE2B 213f66b95808eb6ba0140a321f213ec2b372f0054fadb3c29c8a3b5165e1164a85d982a87cd09ab2906b842ab848abd0e5ad1cf8fced5d714ecdd1b144f430c1 SHA512 377b3dc9692bae3911caa6f06799d5c34c640d2a5c76589eeea697d70e6fdfce115fee5956994648075e0f22104a4910738b87172173cbcab4fcc0e9b7c4d4d5 DIST aws-cli-1.42.8.gh.tar.gz 2994506 BLAKE2B 9a769802362bacc19b256fadecfb151273f437a9462944b2b9f9397bf0cdf9f35545cf0d9a7e268db4106ded60333864033774b5b3fe96d5823ed9eb11a14249 SHA512 f6c9093a4b67fd9a5f5ba40bfe2fd66fe8592241abbf8dd81796c68c5afa37091ad17581153471f33aa34c5c165f2e25691578edb35b602be433bf0473d480d4 diff --git a/app-admin/awscli/awscli-1.42.16.ebuild b/app-admin/awscli/awscli-1.42.16.ebuild new file mode 100644 index 000000000000..ba1a897f1ae2 --- /dev/null +++ b/app-admin/awscli/awscli-1.42.16.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 +}