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 A41FC158099 for ; Tue, 21 Nov 2023 04:44:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E50F32BC030; Tue, 21 Nov 2023 04:44:19 +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 pigeon.gentoo.org (Postfix) with ESMTPS id C5FED2BC030 for ; Tue, 21 Nov 2023 04:44:19 +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 ECFBF335D64 for ; Tue, 21 Nov 2023 04:44:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5281C13AB for ; Tue, 21 Nov 2023 04:44:17 +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: <1700541848.5d4c16b9c0feea67e3a7b94aef32488acb66a007.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.30.4.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5d4c16b9c0feea67e3a7b94aef32488acb66a007 X-VCS-Branch: master Date: Tue, 21 Nov 2023 04:44:17 +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: f95dfb9a-9929-4ca2-a36c-0fb2ce5d071f X-Archives-Hash: 4f6e2d54b4273c02cacee7b5df046019 commit: 5d4c16b9c0feea67e3a7b94aef32488acb66a007 Author: Michał Górny gentoo org> AuthorDate: Tue Nov 21 03:38:31 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Nov 21 04:44:08 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d4c16b9 app-admin/awscli: Bump to 1.30.4 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.30.4.ebuild | 86 +++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index cefec8409d73..af717bbaa5b9 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -5,3 +5,4 @@ DIST aws-cli-1.30.0.gh.tar.gz 2584557 BLAKE2B d88e0987b019ca6a86ffb599ee894b8270 DIST aws-cli-1.30.1.gh.tar.gz 2586590 BLAKE2B 6520fcb6818213d4ad9c002cf4dddcf16b35c32fe0a0048a3247a1ba3fd7cbfb32df95715d4397132a0229cdf5aebbe9635f012c5e4f8fa212f41c5a8e1c07bf SHA512 78f7bd8286cdd5e433e2024c0bcac3cf3a9a74f9eca344c4d09b0506c314b3e38c34d8d2c85bbc91a3ac6395bbc319c6bb91536a364a587e7c27902362fdc005 DIST aws-cli-1.30.2.gh.tar.gz 2589683 BLAKE2B 786aad7e939d3d8349d2d1930c82bad7b0bcdaa36f9df389f155f23e610019ff2f0bdd52da2d6ac4f4e1896a236d7aee895641245a518a3cb094ba3e43e3a594 SHA512 8fbbe9b951942d7230d9875a153403f2fa952657e124686926d94a6f816b9ae093ec025b595ccd7f7a532a930b8b3e516f1030ba7d7038dddaa188c5d3ee5ea9 DIST aws-cli-1.30.3.gh.tar.gz 2594517 BLAKE2B 67ffda10491b734a15119ed3963735e53a66d868954e908816ef918b0adb706ef23337a4dde76758bb1fc957be8a6794106c2d26b9865a9e9dd6e11cc70c4016 SHA512 9b9474a6206cecd0d9f15aabf1c94421aabf4b0ea2d5c829e59747d5fa68093e6f79b0e554ea1dfb891774a0ab49d1143cd582521bd21735e209b40f040973cd +DIST aws-cli-1.30.4.gh.tar.gz 2594809 BLAKE2B 2c4ec84c853f18045b3bc29719a4218e250594df3eade300f755d4c0aeec3f8a6001cee3a3a99c9973b848707a1c545b338958341e8ab9028a6b75ef45cb5533 SHA512 18692c83db93a60734fd689ac9808b00cccee4bec2b0ea420e265bead1d14324eaa522f5022c763b2a2835860ec6bafc9e18412197fbec37c12523628df0b3a5 diff --git a/app-admin/awscli/awscli-1.30.4.ebuild b/app-admin/awscli/awscli-1.30.4.ebuild new file mode 100644 index 000000000000..e5b1ee0667a3 --- /dev/null +++ b/app-admin/awscli/awscli-1.30.4.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2023 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.7.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + !app-admin/awscli-bin +" +BDEPEND=" + test? ( + 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/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/test_compat.py::TestIgnoreUserSignals + tests/unit/test_help.py + ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + 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 +}