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 3CA1B1584AD for ; Wed, 30 Apr 2025 05:36:11 +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 22FE334300F for ; Wed, 30 Apr 2025 05:36:11 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5E5C411036F; Wed, 30 Apr 2025 05:36:04 +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 54F6E11036F for ; Wed, 30 Apr 2025 05:36:04 +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 07CB13417BD for ; Wed, 30 Apr 2025 05:36:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 651D12669 for ; Wed, 30 Apr 2025 05:36:02 +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: <1745991344.8f4553b75248678792e82d64d532db6acfe7d2df.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.4.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8f4553b75248678792e82d64d532db6acfe7d2df X-VCS-Branch: master Date: Wed, 30 Apr 2025 05:36:02 +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: 9720f2a7-f2c3-4727-a42e-c19267ad4ace X-Archives-Hash: 7d76c2f1a07772afc79636fd624aadec commit: 8f4553b75248678792e82d64d532db6acfe7d2df Author: Michał Górny gentoo org> AuthorDate: Wed Apr 30 03:50:22 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Apr 30 05:35:44 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f4553b7 app-admin/awscli: Bump to 1.40.4 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.40.4.ebuild | 93 +++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 59fbc4fc5ec8..b8af40e575b9 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -2,3 +2,4 @@ DIST aws-cli-1.38.33.gh.tar.gz 2918023 BLAKE2B 2e9539c86425b6b07594d3c8793d99356 DIST aws-cli-1.38.37.gh.tar.gz 2920466 BLAKE2B bcbe824e4b867fee378e0b9f8ce59604f0a20fc7a0ada64743439f2ff596418f7ca486250f8416a85564e3d0bc9541ff8227f808b2dd2cf19c04f4b6234c753b SHA512 9f4f6ac5e97579a1b2d119ee59ecbebf423534781a90c265c9c685cb360fce7cd18dbee8cf7a747084828f6fce85882156f1223d6f228f6cc50b5b9da1100f7b DIST aws-cli-1.40.2.gh.tar.gz 2925069 BLAKE2B a130ef1c94305d7a1a0f4cd7f23120b157479209d7647cd7ac59abae823a9af564e2742ab7ada6925bf9c97561c21b719f354a93c067cda961a9418c80bf0729 SHA512 a78289503e4f21679b1356b1cf7a93c8c0426ff4a4bc7e42007d592c6307d7fa24e7dc594a3088e92ef1117ecbe947651b725cef0a6070aa2d5c76d8032b6bc5 DIST aws-cli-1.40.3.gh.tar.gz 2925537 BLAKE2B cb40707dae3827b326e2000c8a1d298ccac18d8f063fad4207330e2faba4b2fa7ff57c88752f3670f0f1790e33b3069e90188d8119ae9da497eae95b2e0af001 SHA512 a43cdbcd7a62fdd0202272cc69285c695b954764db628530815719f56cd674678e23e717e46833daa69fad702023c4dd60187e39778695e1ff98755982734a98 +DIST aws-cli-1.40.4.gh.tar.gz 2926555 BLAKE2B a0d3c9725bac8d307795d66e0feaba00cabc3ed0793670f5f9d07813529ed02c2db61c414ac9b98b4ec829261c4849c5acd8c5ab75254da61facd7fcbe96c20c SHA512 9780d0491cdd20400fc48a18bfff62a278a089826049d38e9a93bb55af517016b1e0d8ace17372f2cb734e6b840d9e792fb137652a0df506a636929c63a21ad9 diff --git a/app-admin/awscli/awscli-1.40.4.ebuild b/app-admin/awscli/awscli-1.40.4.ebuild new file mode 100644 index 000000000000..103c6a1e1819 --- /dev/null +++ b/app-admin/awscli/awscli-1.40.4.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_{10..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 +}