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 9929715808A for ; Wed, 16 Jul 2025 02:11:45 +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 851F7340ED8 for ; Wed, 16 Jul 2025 02:11:45 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B535611055B; Wed, 16 Jul 2025 02:11:40 +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 AD4CC11055B for ; Wed, 16 Jul 2025 02:11:40 +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 5BEEA33BE26 for ; Wed, 16 Jul 2025 02:11:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C3C40318F for ; Wed, 16 Jul 2025 02:11:38 +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: <1752631894.54d3b98023c19f966ef3e710b1c97138e5a19fe3.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.41.5.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 54d3b98023c19f966ef3e710b1c97138e5a19fe3 X-VCS-Branch: master Date: Wed, 16 Jul 2025 02:11:38 +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: 1cc5aa5c-5fc6-4377-b880-dba98c5a3e8c X-Archives-Hash: a75c43315ad2f67ed33e660c9470bf61 commit: 54d3b98023c19f966ef3e710b1c97138e5a19fe3 Author: Michał Górny gentoo org> AuthorDate: Wed Jul 16 01:42:22 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jul 16 02:11:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54d3b980 app-admin/awscli: Bump to 1.41.5 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.41.5.ebuild | 92 +++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index fde039885814..0e1802d1f277 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -1,3 +1,4 @@ DIST aws-cli-1.40.45.gh.tar.gz 2967475 BLAKE2B 28092036db51577455f041f709d061ee10c63c79be014dfbf64104d6d39e1c5434c7a21e13a4330d004719ac5f454d4aca43a054c667e91ccc08287ad84bcc40 SHA512 271ffcb550c5d514f6a658a5e320d66deda2f5b7b0b814a0d617aabb8c0db45aca3e9459022f4088fa4f3c73701a006e7621baf3acaeb0f058cad8d932b7bbe4 DIST aws-cli-1.41.3.gh.tar.gz 2971817 BLAKE2B 86e8400c24bbf189b69ca992fc7c345e2a7687237d86769b627bc53904cbebadb1e3f2da871fc7a5eadfca61d4bdacb58dc50b17294672921603f7784f5a08f6 SHA512 8da77a0873f46791af8ca43c4e5de118ea17a6cb8f0993a8dda066c495211c8f04846acf6e098a53f6afd4770099435dc28f2018dfe3bd19795835487fda832c DIST aws-cli-1.41.4.gh.tar.gz 2972410 BLAKE2B ff6ec500d10a9a3d17d8524c27bdf089253823db02bf70e520b2f911ca95d57af4106c970118fa0376d542c0269db291124a7f1db33563fbae5a4144fee4a6cb SHA512 9952f549567125e8d1e36e032cfe11b1eff4ecfe1775b2f9fc2bd5c812dc63969c6c4906df99f8accfb2bd8e7cbac6fd26a999870bbb85a0fedf51b9a7660df7 +DIST aws-cli-1.41.5.gh.tar.gz 2974935 BLAKE2B 044c8df98a4ae5aa5bf8b35e4848ce4644f5cc17902f78ddfec3c465422012514836d2328c98d1a41690f0fc894a64a2e741699c5170024fe3839d495ad88077 SHA512 bea693ffddf489c82702bb0ea3efe9a0da77b426015aa39e5fa002b2ca6c06d7ace4a0c3ad79d436bfbe5919b0e8d129e62f437f942fc75ccd96e524dce54630 diff --git a/app-admin/awscli/awscli-1.41.5.ebuild b/app-admin/awscli/awscli-1.41.5.ebuild new file mode 100644 index 000000000000..ba1a897f1ae2 --- /dev/null +++ b/app-admin/awscli/awscli-1.41.5.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 +}