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 DFF11158089 for ; Fri, 6 Oct 2023 04:14:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3ABF2BC0A7; Fri, 6 Oct 2023 04:14:21 +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 C6C3E2BC0A7 for ; Fri, 6 Oct 2023 04:14:21 +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 CDC49335D1B for ; Fri, 6 Oct 2023 04:14:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B7199CC for ; Fri, 6 Oct 2023 04:14:19 +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: <1696565655.2dd95d12258cb7eecc9fcafebd3e8d1866d672c0.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.29.61.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2dd95d12258cb7eecc9fcafebd3e8d1866d672c0 X-VCS-Branch: master Date: Fri, 6 Oct 2023 04:14:19 +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: 152e137b-0edc-47b9-8747-529250ac23a4 X-Archives-Hash: 445a0116589a9207c6830d599943fdef commit: 2dd95d12258cb7eecc9fcafebd3e8d1866d672c0 Author: Michał Górny gentoo org> AuthorDate: Fri Oct 6 03:36:08 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Oct 6 04:14:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dd95d12 app-admin/awscli: Bump to 1.29.61 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.29.61.ebuild | 85 ++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 76b88ca1d81b..8a4274b71581 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -7,3 +7,4 @@ DIST aws-cli-1.29.57.gh.tar.gz 2556732 BLAKE2B 8bbd17041c28e18f1b94421e624e3e720 DIST aws-cli-1.29.58.gh.tar.gz 2557504 BLAKE2B 3325dc80048feda09ebaa096b3c7be6b3da54991bf31d581a1f004844a7dd041e233d101f9f23bcfc977c02c5ed07ed08ee912a3b32b96292f68af507bec92af SHA512 5a84840be3e480651860962f8b9c6f9bf23bdef68bb521af840f4609aa4b577f43219f07e6c3440b0e25a9263359b342caec877696767a51daba6397f959aa7b DIST aws-cli-1.29.59.gh.tar.gz 2558295 BLAKE2B 16d38585064cd75b1c2e1e804bc2fa4224634032b2eb905bb55f64be53b6737748ce688349ee51f54bedf73c3d2f50da92c9465fc2604fc288b6c07613ed3fe3 SHA512 7f7c850211ae172387809a04aeecafc250f31b513bc35028fb5ca6425190524071c51fc722962e1a069282a6281afb9baed0f5b5c2e66534c362e6947bf3b07e DIST aws-cli-1.29.60.gh.tar.gz 2559662 BLAKE2B 3f968c51f3bdb5784ecc0a8981c669a730d96cddb0dc9a2c7bb091bb1fb7b874999d29a6259a017d36b6deeb117962816b69609958d97ec313d12bd675b30746 SHA512 80c265e95fb04716160e3181faee1e71b51238c180fd208e5982ccaf191ab9a1d671a104bc546c4d678f2aa4d309734e2a36b5625e51bf548195ecb18883deb6 +DIST aws-cli-1.29.61.gh.tar.gz 2559946 BLAKE2B cab7954d50a235051a11978f1ee4316a0324d9b1dd492efc61ba22c1240b6c385e327756789c66b9f67443fe317f0aa464393b1a09abc300117241a6a967f4f4 SHA512 54ccad4f811956663ef68c42c33737d424996237d6dd5486e41c2bfe8b486236ebd60226edda1fcc256c0cc48924632040f163b11d2cba48ab1d16c32c0a114f diff --git a/app-admin/awscli/awscli-1.29.61.ebuild b/app-admin/awscli/awscli-1.29.61.ebuild new file mode 100644 index 000000000000..941051349113 --- /dev/null +++ b/app-admin/awscli/awscli-1.29.61.ebuild @@ -0,0 +1,85 @@ +# 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 multiprocessing + +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}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +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 EPYTEST_DESELECT=( + # broken xdist (signal() works only in main thread) + tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_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::TestHelpPager::test_can_handle_ctrl_c + tests/unit/test_help.py::TestHelpPager::test_can_render_contents + tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignore + ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # integration tests require AWS credentials and Internet access + epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" +} + +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 +}