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 F2E381584AD for ; Sat, 03 May 2025 06:08: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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id DF6DE3430BF for ; Sat, 03 May 2025 06:08:20 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C7F4A1103DA; Sat, 03 May 2025 06:08:07 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id C278B1103DA for ; Sat, 03 May 2025 06:08:07 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 76CA13430B1 for ; Sat, 03 May 2025 06:08:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 050BC2699 for ; Sat, 03 May 2025 06:08:05 +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: <1746252465.17862bb412934b5a838d06d6b151e6e65c75eb62.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.40.7.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 17862bb412934b5a838d06d6b151e6e65c75eb62 X-VCS-Branch: master Date: Sat, 03 May 2025 06:08:05 +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: fe4b7522-01ca-4b1a-b092-15ae3b8c561c X-Archives-Hash: d094a63961815b0371308c84e4f3195d commit: 17862bb412934b5a838d06d6b151e6e65c75eb62 Author: Michał Górny gentoo org> AuthorDate: Sat May 3 04:27:23 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat May 3 06:07:45 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17862bb4 app-admin/awscli: Bump to 1.40.7 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.40.7.ebuild | 93 +++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index bfd662aae511..7bcbb3ce923d 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -5,3 +5,4 @@ DIST aws-cli-1.40.3.gh.tar.gz 2925537 BLAKE2B cb40707dae3827b326e2000c8a1d298cca DIST aws-cli-1.40.4.gh.tar.gz 2926555 BLAKE2B a0d3c9725bac8d307795d66e0feaba00cabc3ed0793670f5f9d07813529ed02c2db61c414ac9b98b4ec829261c4849c5acd8c5ab75254da61facd7fcbe96c20c SHA512 9780d0491cdd20400fc48a18bfff62a278a089826049d38e9a93bb55af517016b1e0d8ace17372f2cb734e6b840d9e792fb137652a0df506a636929c63a21ad9 DIST aws-cli-1.40.5.gh.tar.gz 2927738 BLAKE2B 241bac87d72efadf63173bb119a25f1e7921bda70134aba9d8fa46ca3d224f4c503b8822883a5b800fe8005317ff8b312b97fc2cabb6dd6b291e0ef4719c84bc SHA512 ae19d29240860e7c09664226eda4b78f950b4068418f3bbca4f7b9ce6907c7998093c79baf258bea6262ae3e3de1274cabeb5e71c2f1528a1869ade2d9e7178b DIST aws-cli-1.40.6.gh.tar.gz 2928366 BLAKE2B 3697f7f417a5d4ddcdd22903171768a08a591f92380eee366eafaab346b57042aa7c7f1d3058981ad195a556b8eddff7e5b58096797ad1b1cd109cce7906dfd8 SHA512 517a769aea0dfc7088cd5c3370cdb85d8cf88c9eaf6d03fa7f028272060d6eb0cee8bd621d6debc8162ff4f56441ceb2b803bde69c1822314694287e735422dd +DIST aws-cli-1.40.7.gh.tar.gz 2928409 BLAKE2B 29ac7685b1289d98cae3338ccb2ecd86e8936bb701160e08501d40ba1d9eebefa43066de7c4b534a6f7098faa572227eb51d6807bff042132fb0570e1c133d63 SHA512 33065fac1278f5f2f0835f3cc8e778bafe7d2d806893a3235894ac639d8c50d4a617dcfade0563e4af4d6efb1b9c448d5e41960741fb1d3bc5ae8a22665aeb06 diff --git a/app-admin/awscli/awscli-1.40.7.ebuild b/app-admin/awscli/awscli-1.40.7.ebuild new file mode 100644 index 000000000000..b654b3f82728 --- /dev/null +++ b/app-admin/awscli/awscli-1.40.7.ebuild @@ -0,0 +1,93 @@ +# 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+1), sigh +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 2)).$(( $(ver_cut 3-) + 1 ))" +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.12.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + !app-admin/awscli-bin +" +BDEPEND=" + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + ) +" + +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 + ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + 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 +}