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 B91D2158089 for ; Sat, 16 Sep 2023 03:03:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A91272BC041; Sat, 16 Sep 2023 03:03:20 +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 8B5112BC041 for ; Sat, 16 Sep 2023 03:03:20 +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 66C76335D2F for ; Sat, 16 Sep 2023 03:03:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AEF9B11BE for ; Sat, 16 Sep 2023 03:03: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: <1694833389.81bb2eec69e06a7328af32d69fcffc20a4d17e60.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.49.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 81bb2eec69e06a7328af32d69fcffc20a4d17e60 X-VCS-Branch: master Date: Sat, 16 Sep 2023 03:03: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: 6a16e77d-af32-42c6-a945-138889153c6b X-Archives-Hash: c2c71e1e7286133cd48f6c6ea15ac737 commit: 81bb2eec69e06a7328af32d69fcffc20a4d17e60 Author: Michał Górny gentoo org> AuthorDate: Sat Sep 16 02:03:20 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Sep 16 03:03:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81bb2eec app-admin/awscli: Bump to 1.29.49 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.29.49.ebuild | 84 ++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 38e52f0abb4f..a42999d1dbbf 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -11,3 +11,4 @@ DIST aws-cli-1.29.45.gh.tar.gz 2531194 BLAKE2B 458c6a847c67fdaa882154bcb0bf2744c DIST aws-cli-1.29.46.gh.tar.gz 2531529 BLAKE2B ece1fe47627f1034a8e4c29780cef8b9055776d9477a4bdf63e06e461391ebf712609dc007c68de5c42906e1a02606399bec2ec83045f86797c33051e72316bb SHA512 345832da8b760be4bb27c5f32ac1ffad14369fb1ebe4da7587308f3f3978cc7a8042e34e887300e7d1626e38c6fba1e213f623a8ad717372d381ea3c0ef95b3d DIST aws-cli-1.29.47.gh.tar.gz 2531859 BLAKE2B dd7ae6999c33773d8b1dd9869a7ccb8c79f364e6d1bc77e6ae4dd9b7159896ed85217b26029c5d1b587d4bdfe0f68d1ac87c0050dc7f734f2ee8c39f5c8e87e9 SHA512 75cccfe7221fd6c3166e60d23fe7971ad5d54749039383f88b24acd6b51c87b21f19e6fe4872cadade19acedb1eea99dbe9a66cf1a33476e8c35b1585bca1d68 DIST aws-cli-1.29.48.gh.tar.gz 2533414 BLAKE2B a7089339eb48c01ec8b2e8d6db3354c872d1b5b4f7d8e005c5939e26ddf677480e455691609ad1ceb2d5c0f6bf831a5a1f6503fdab59ccd0398b0429173a7f67 SHA512 68c6f20eeb7eef12edaf9259aa425d4132a735c804d8dd79ee5276ebbfa9bd7b63877db11a2190ac6abcfd6aae7ec1a7cd5a17159de7d90cf4abef146128d5b9 +DIST aws-cli-1.29.49.gh.tar.gz 2533689 BLAKE2B 0ead02f739adc66eed988bedf41b9b508c553a6dfcea07af022a5b3098e8a3f65e4fc59e512b3374b3f1fcf89ba30f0dcca20e2cd6638c2d2b37b09646f1f4ca SHA512 336e012105d295dc69734fbd9f47a9cb6f2a54fc4dfac388e52e24519967e0aab5e3d98920f8ad05ea242e39673b6a8f98bb9af551507ee0560ee7598c9f86ec diff --git a/app-admin/awscli/awscli-1.29.49.ebuild b/app-admin/awscli/awscli-1.29.49.ebuild new file mode 100644 index 000000000000..040a8d7bd9f3 --- /dev/null +++ b/app-admin/awscli/awscli-1.29.49.ebuild @@ -0,0 +1,84 @@ +# 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..11} ) + +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.6.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_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_ignored + ) + 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 +}