From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1589907-garchives=archives.gentoo.org@lists.gentoo.org>
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 15DCF158470
	for <garchives@archives.gentoo.org>; Sat, 13 Jan 2024 08:20:15 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B2975E2A0C;
	Sat, 13 Jan 2024 08:20:13 +0000 (UTC)
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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 5F6DDE2A0C
	for <gentoo-commits@lists.gentoo.org>; Sat, 13 Jan 2024 08:20:13 +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 40A4D3430F1
	for <gentoo-commits@lists.gentoo.org>; Sat, 13 Jan 2024 08:20:12 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 910BE1494
	for <gentoo-commits@lists.gentoo.org>; Sat, 13 Jan 2024 08:20:10 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
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" <mgorny@gentoo.org>
Message-ID: <1705133991.ea60dd4e11fa9d16e4bcfa67bb6902a0f480cb06.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.18.ebuild
X-VCS-Directories: app-admin/awscli/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: ea60dd4e11fa9d16e4bcfa67bb6902a0f480cb06
X-VCS-Branch: master
Date: Sat, 13 Jan 2024 08:20:10 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 552cd79d-06e8-42b9-a411-90d2eed15cd4
X-Archives-Hash: 870af43b6d2fa6dbe3248297d3fe5c30

commit:     ea60dd4e11fa9d16e4bcfa67bb6902a0f480cb06
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 13 06:54:16 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 08:19:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea60dd4e

app-admin/awscli: Bump to 1.32.18

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-admin/awscli/Manifest              |  1 +
 app-admin/awscli/awscli-1.32.18.ebuild | 88 ++++++++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index 96cc141aed9f..058ab77b4042 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -3,4 +3,5 @@ DIST aws-cli-1.32.14.gh.tar.gz 2622299 BLAKE2B 0b7a29c756c2bdccc6bb5ef4953c2f05d
 DIST aws-cli-1.32.15.gh.tar.gz 2623363 BLAKE2B 1c0fabd073401e6cfefbff4ef13b26311f382c6901a59561449551b98727cf967dabfae9ce9d2cae2cc90b74a3da72fe7d99d11954b96a90694addc20ea66db8 SHA512 09da80164c72bf2d5e2d1129b69d8e5240adb13dd5c7b337c61daa4783221f68e5866c2cf3fb4ad6c0c9b461ef7bc296544b8f350c79ec6db03b85ba2810f1b7
 DIST aws-cli-1.32.16.gh.tar.gz 2623981 BLAKE2B b0aff685f59b60b4014ebf58cb28ded38d9462ef741ae4b51b80d82e9d1f03b705dc8e89e777cda92d150944cf1921063c10c8297320b59623a56af1bb9a0a43 SHA512 9dc837cdaeee49082cebe7d8570644185f4decc9201bbae9fb459d2f09621e9a02cebc38cc9b2f753831e5bbf99cbd3db971fd62bc27404fecd210d202b2c997
 DIST aws-cli-1.32.17.gh.tar.gz 2624311 BLAKE2B b50f5aa16c0965c37a9f65d2fa88006b33ef307bef206a4c728b9e698d2cead9e55c73c30e07b1c854f35918a4a24cf72a04a5948868b91327973d2ed32adc35 SHA512 9a4d86cc292c2e179594e27a43a7134b930a00d3c03b1494137e37c3b3fe76e7d6997a7581e8b262618f255c4d6a9d0feefbadbb0dbe9cc126b746ecf24263af
+DIST aws-cli-1.32.18.gh.tar.gz 2626034 BLAKE2B 3d60094c5b6e70f8df57ada95e269cb710975b36724eadc2fcac07733099a8bf063e7198cd90af382e3a8480ad6d173143daed3e03b5c18a529a1b3227d3126f SHA512 ab161193d52c21751fe3515eae1182adeb23a6d8198d85e922674c6af6a64c4efb68975a38a5ec36957eb62350437b5e3d6a6b9c36dc4a6b4ae4bebc4d92fdf6
 DIST aws-cli-1.32.7.gh.tar.gz 2620400 BLAKE2B dee6686b73100c607eba165f0f8ff91217336b020644c7ef7ee95dad16f57baea0878a3da96fd2f7258271573c1245286921240d141ba3020006b7ca2b37a0b5 SHA512 1df4aa8f2a2924d0e1c84e1187db1d5b974600831d7f668e39cfa17c34896ec51c604ef52d5ce397ca5950e79cac3c2e744c9b048f12164b650aa871e0c489e7

diff --git a/app-admin/awscli/awscli-1.32.18.ebuild b/app-admin/awscli/awscli-1.32.18.ebuild
new file mode 100644
index 000000000000..390708df2335
--- /dev/null
+++ b/app-admin/awscli/awscli-1.32.18.ebuild
@@ -0,0 +1,88 @@
+# 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/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/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
+}