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 D49A515808A for ; Tue, 05 Aug 2025 03:36:48 +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 C22D033BE11 for ; Tue, 05 Aug 2025 03:36:48 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 85ED51104DB; Tue, 05 Aug 2025 03:36:40 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 7B7351104DB for ; Tue, 05 Aug 2025 03:36: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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 292B533BE11 for ; Tue, 05 Aug 2025 03:36:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 843E332BD for ; Tue, 05 Aug 2025 03:36: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: <1754364988.e13c5258f15d86bb3daa6f646fe7ac8c67a803b4.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.2.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e13c5258f15d86bb3daa6f646fe7ac8c67a803b4 X-VCS-Branch: master Date: Tue, 05 Aug 2025 03:36: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: 2f4c3c44-28cf-48e8-a6a2-333edd96ef70 X-Archives-Hash: 69b666b026da9a5402c1bc460f2b7685 commit: e13c5258f15d86bb3daa6f646fe7ac8c67a803b4 Author: Michał Górny gentoo org> AuthorDate: Tue Aug 5 02:32:19 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Aug 5 03:36:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e13c5258 app-admin/awscli: Bump to 1.42.2 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.42.2.ebuild | 92 +++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 1f707348b0a8..8d035f69eeeb 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -1,3 +1,4 @@ DIST aws-cli-1.41.14.gh.tar.gz 2984605 BLAKE2B 50771f9995323b2c3ae3025887dc7d8309b899d8c3d6e2ed3176d9a17ea8b514fb5989dfe053a936c20f9fbe765ffbbf0adfad576ac5b85af17bfaf19a875505 SHA512 39cc3770bc994a058c9683e9134088fe1201cb1693c3de7fc3f0283966c0cf5e39a716df15b143f4f9ece8680e08479fc5a512257dc575183008806127534d4a DIST aws-cli-1.41.9.gh.tar.gz 2982493 BLAKE2B 5b0d7b698840c76936ccfdbee9ef029676942d4683c64298b9ccba09530e2939d5f2d71ab90883ccdb79b905835d917673235743581225f968952898c801bca6 SHA512 8465b416104500862e48c719869e07d9e6ddb875225b21e18036486f0db651c48f5e9dd4d15735a8cd47c56cee14f93d112ee139145b49be6f42b6190feff0d9 DIST aws-cli-1.42.1.gh.tar.gz 2991474 BLAKE2B 32ebf86994739e081338aa16c1bbb3dca92c582494fcecd1053ca3e4f886b4a7e4d08b54d8ae2500054115e73c5bca3c81bec8c45f9e27614564453c231e5367 SHA512 684dbcd1bef9b03ad574842240c9c821e56556f0796dcacb9abfc4195a08ec767149bee183be96fef561188cccec7853be3a4d7f668a8071d8ac24d0584c7191 +DIST aws-cli-1.42.2.gh.tar.gz 2991268 BLAKE2B de1a4b114c9b69c4c8fbb64066c0baa07f543aba1a9efcdfcdc4a5653d828b0350dc6b84599c6234236dc10a30e3459267f1d4844145425585c30a09ffa45f6f SHA512 7e697ed76b317ec1ec012ff98795368392827f132bb774e295500430b3ed4f53f674e2609b6a9c21ebf9367a787f57b0aa5625eaa195f626f58ec9787766b187 diff --git a/app-admin/awscli/awscli-1.42.2.ebuild b/app-admin/awscli/awscli-1.42.2.ebuild new file mode 100644 index 000000000000..ba1a897f1ae2 --- /dev/null +++ b/app-admin/awscli/awscli-1.42.2.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 +}