From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D2B99158041 for ; Fri, 8 Mar 2024 05:40:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E48BE29D7; Fri, 8 Mar 2024 05:40:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 pigeon.gentoo.org (Postfix) with ESMTPS id 65711E29D7 for ; Fri, 8 Mar 2024 05:40:43 +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 04EF633BEB9 for ; Fri, 8 Mar 2024 05:40:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4EEC1137F for ; Fri, 8 Mar 2024 05:40:40 +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: <1709876419.9f0c3af3c3f75fa93997d73039864a6466815895.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.32.58.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9f0c3af3c3f75fa93997d73039864a6466815895 X-VCS-Branch: master Date: Fri, 8 Mar 2024 05:40:40 +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: 6be6855d-e2ac-4c49-a1dc-61c8cc1befdd X-Archives-Hash: e99819dbdcdc0bf36dd16f7ccbc2fa1e commit: 9f0c3af3c3f75fa93997d73039864a6466815895 Author: Michał Górny gentoo org> AuthorDate: Fri Mar 8 04:27:18 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Mar 8 05:40:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f0c3af3 app-admin/awscli: Bump to 1.32.58 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.32.58.ebuild | 90 ++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index ad245b452a8d..9fdf0722437c 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -4,3 +4,4 @@ DIST aws-cli-1.32.54.gh.tar.gz 2656395 BLAKE2B 7f41ac7bb0b11ef851cbc1793c202dd38 DIST aws-cli-1.32.55.gh.tar.gz 2656402 BLAKE2B 8ff707317be8c9d686cf11c8e1846e2f77bdaeaea327f98243e4c907f5c1f716ac8255cafb74faeea1ed65f683ed777c4561d05343a601489e772d6449735ee6 SHA512 ff796aee3b2127c3a11afae1642a5da8cc2229382858a30c2a05f48d1a4417317c88b2de5763ee3fd859d2b87ed42f105e27f2cb7d0fb09e835df501af5bb32d DIST aws-cli-1.32.56.gh.tar.gz 2656488 BLAKE2B 79f88813757cf30430f8b8ba08798447e8e4f2b4e9359b8a57ee1cfa289e47e38c9d608df89bbec390b860f3ed89d19408b6c3112857c66edbd3d30f2f5ed43d SHA512 af445266266d739b98d844e9718a0cf661f541e464cc7c07cf770528590867b3e9fc5e9b4472e638c0b7952eae50bdf0a6cb8860e1497a1347c5fb43e6315a3f DIST aws-cli-1.32.57.gh.tar.gz 2656770 BLAKE2B 008133ab151d103fcf6f00ee953e0c4ab85d401263606da1ae91231a8c2ef1f7c5238c30e127741bb3899ef532d272d6231bb76cb54d673c3234a634343b45d2 SHA512 b3ff04b57fb19ee2d0eb1f57e3559dd36297fa8e1027d3958257508aa88202feccf0af6f86f64b779232a013bb819a06cd5314429f442d2e13b6d2a983b1f20f +DIST aws-cli-1.32.58.gh.tar.gz 2658262 BLAKE2B f3782758f3f2bb87457f1a66b9e06fabbee1c27dd44af4db87744303de3bb072065d6a657af8e0e64010bf4d7ccd281751489330cf61cd30426a61ebb0dd8d0d SHA512 293d6d99ec2cfe180beab5e127c0dd589fb88fdf6590d4ff0a302fa14f6a7bf0294e9ef1f21729f668a8848baecef17750f0eda01d26476790c8b82cb6d608eb diff --git a/app-admin/awscli/awscli-1.32.58.ebuild b/app-admin/awscli/awscli-1.32.58.ebuild new file mode 100644 index 000000000000..4a677affdbc4 --- /dev/null +++ b/app-admin/awscli/awscli-1.32.58.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit bash-completion-r1 distutils-r1 + +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 +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.10.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[@]}" ) + # integration tests require AWS credentials and Internet access + epytest tests/{functional,unit} +} + +python_install_all() { + newbashcomp bin/aws_bash_completer aws + + insinto /usr/share/zsh/site-functions + newins 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 +}