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 D4D3215808A for ; Thu, 31 Jul 2025 03:43:39 +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 C1FE8341070 for ; Thu, 31 Jul 2025 03:43:39 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B8599110377; Thu, 31 Jul 2025 03:43:38 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 AE1FC110377 for ; Thu, 31 Jul 2025 03:43:38 +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 57D9234105B for ; Thu, 31 Jul 2025 03:43:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C3C4C3261 for ; Thu, 31 Jul 2025 03:43:36 +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: <1753929088.e8a2abee6ec3a786857d62d2bc9ce44d355bfce4.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.17.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e8a2abee6ec3a786857d62d2bc9ce44d355bfce4 X-VCS-Branch: master Date: Thu, 31 Jul 2025 03:43:36 +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: dc2fcfd0-89e7-4e3c-af9f-10f9d9fe6d95 X-Archives-Hash: 0a43efac18a73e38c11b9f4eb9cd6e1f commit: e8a2abee6ec3a786857d62d2bc9ce44d355bfce4 Author: Michał Górny gentoo org> AuthorDate: Thu Jul 31 02:31:28 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jul 31 02:31:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8a2abee app-admin/awscli: Bump to 1.41.17 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.41.17.ebuild | 92 ++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index c4f011177160..000e1a62dff6 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -1,5 +1,6 @@ DIST aws-cli-1.41.14.gh.tar.gz 2984605 BLAKE2B 50771f9995323b2c3ae3025887dc7d8309b899d8c3d6e2ed3176d9a17ea8b514fb5989dfe053a936c20f9fbe765ffbbf0adfad576ac5b85af17bfaf19a875505 SHA512 39cc3770bc994a058c9683e9134088fe1201cb1693c3de7fc3f0283966c0cf5e39a716df15b143f4f9ece8680e08479fc5a512257dc575183008806127534d4a DIST aws-cli-1.41.15.gh.tar.gz 2985199 BLAKE2B c95f7b6e004ab5bb426c25c18db77189dc8a04779601c4ef58b8b29c1997781751ad87571e72539ed2726f54655ae34c2681a4b58c408eaf03f5019c5662d710 SHA512 46e3cafa0aa6108dd22de71227264091dc079f4d45d55ae3c2dbce5f87a3826e4a5653e28d064a32c7b0f8aaa1654e6dca75a060c09789da8036faa85f36c935 DIST aws-cli-1.41.16.gh.tar.gz 2986125 BLAKE2B c3653a097ded523f7d9bbc3a0ba227e62da24c706ef86e35fe4511d6880ac30584eb49184647602f1d94d13d50063434d445cb056ba468a3fbce88d156397c90 SHA512 877dbb72a1bc9524eb0c948129b707b50a584b9b2da5ca8dba0866da6b68e30e6a077c514b06f28b48a628e7079d4762293c9b8fac3ae822c38436728737c611 +DIST aws-cli-1.41.17.gh.tar.gz 2986415 BLAKE2B b9c6eb3606db959d28a647b7aa4cfb019b4ae71b283913020efadd8b03c0e1c791cd665217e87f3be2a47b5d0a78f42502efad888118a7e44608870a01a99aed SHA512 205d085f5b4b441b1d0beff013eac327c468493f4ad34a3e2d83c784c192cb0b615d2329f2381503e9b2c22498735639a4cac3c80e1bce23d6eefa0dcfeb3baf DIST aws-cli-1.41.4.gh.tar.gz 2972410 BLAKE2B ff6ec500d10a9a3d17d8524c27bdf089253823db02bf70e520b2f911ca95d57af4106c970118fa0376d542c0269db291124a7f1db33563fbae5a4144fee4a6cb SHA512 9952f549567125e8d1e36e032cfe11b1eff4ecfe1775b2f9fc2bd5c812dc63969c6c4906df99f8accfb2bd8e7cbac6fd26a999870bbb85a0fedf51b9a7660df7 DIST aws-cli-1.41.9.gh.tar.gz 2982493 BLAKE2B 5b0d7b698840c76936ccfdbee9ef029676942d4683c64298b9ccba09530e2939d5f2d71ab90883ccdb79b905835d917673235743581225f968952898c801bca6 SHA512 8465b416104500862e48c719869e07d9e6ddb875225b21e18036486f0db651c48f5e9dd4d15735a8cd47c56cee14f93d112ee139145b49be6f42b6190feff0d9 diff --git a/app-admin/awscli/awscli-1.41.17.ebuild b/app-admin/awscli/awscli-1.41.17.ebuild new file mode 100644 index 000000000000..ba1a897f1ae2 --- /dev/null +++ b/app-admin/awscli/awscli-1.41.17.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 +}