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 B6A2515808B for ; Sat, 16 Apr 2022 15:36:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F07DE088C; Sat, 16 Apr 2022 15:36:31 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 32045E088C for ; Sat, 16 Apr 2022 15:36:31 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D37C03416E3 for ; Sat, 16 Apr 2022 15:36:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E82C3B1 for ; Sat, 16 Apr 2022 15:36:27 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1650123374.f1e847ffc1523705fecbe2a15921667477b812b5.arthurzam@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.22.97.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: f1e847ffc1523705fecbe2a15921667477b812b5 X-VCS-Branch: master Date: Sat, 16 Apr 2022 15:36:27 +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: 9f853db2-194b-492c-88e8-af0e366345ea X-Archives-Hash: 51cd2e3bba7cccca3ac6b3bda136915f commit: f1e847ffc1523705fecbe2a15921667477b812b5 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Apr 16 15:05:01 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sat Apr 16 15:36:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1e847ff app-admin/awscli: add 1.22.97 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.22.97.ebuild | 66 ++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index e8f57784f7d2..e58991434bf1 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -7,3 +7,4 @@ DIST awscli-1.22.92.tar.gz 2187466 BLAKE2B 570e2fbb3efa0cf1664acbe6cd995799b9814 DIST awscli-1.22.93.tar.gz 2187925 BLAKE2B c4b13aada04aea6b320c9b93c83cce11a4081e6b13cb7e3a83f2ee2ba651de4dbf636cfaefeee049a5ab91519bbfa6bbea37bd5a0a06a84979684bbf7c90c65c SHA512 c13d363ffff11fe30d3b78966caebb9026bcdbb4a6b9eb6e641de4955f9f360b6a4ecae25e1315d3e4943ea341f0f4c3be2aacf5849be3906d1fb0b0a9102490 DIST awscli-1.22.94.tar.gz 2194607 BLAKE2B 985ce46ac8c3a12abc983fda4d424dbfa5c5da26c5552af9895079bc1aaa925e7f0c35f469f6b7f917007e162ce340adc68e4ae1c79f72c673bdf965ee550cfa SHA512 d34ad97d50de64591f0239de94b81d2ab77f8f4e284a356abe684bcd4c4d8f4a2d5e47d67e7b59322898d4f5b3503991eb550a424f894001aec547fe07e58923 DIST awscli-1.22.96.tar.gz 2195648 BLAKE2B 57793e65d63151b150015ef90784140a9d473618849500d81bcb94582c5bc7a66b52337148b3f5c4c6b7196d2ab302fa0592dda3d83f2ff3d4fe845d687d18cf SHA512 71fb2bbc3586868566996cb807d01e582d181d96e52754c7052fc93040124ac7a73813f10fb1b660458772155aaa4f0a4294a583d429717e0bf1f6b785f5b963 +DIST awscli-1.22.97.tar.gz 2193983 BLAKE2B f2e0efbb2332d4c405d5e97ba35426424d932a013114492890018d3419349e23aa3c8301f6c29bd8eaa662145b07ceaa30c22e41aad38012ca307400075600ca SHA512 00426aab19fcdf3241850b09d4d5dd6a1460e3ec9baa37cf203068dc6ca0fddd4fe3de7e4e93e8e6539608351777e00692bb8b9d2c362ceeacc55071cd53f422 diff --git a/app-admin/awscli/awscli-1.22.97.ebuild b/app-admin/awscli/awscli-1.22.97.ebuild new file mode 100644 index 000000000000..2040c8cb81d2 --- /dev/null +++ b/app-admin/awscli/awscli-1.22.97.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit bash-completion-r1 distutils-r1 multiprocessing + +DESCRIPTION="Universal Command Line Environment for AWS" +HOMEPAGE="https://pypi.org/project/awscli/" +#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/aws-cli-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +# awscli 1.22.55 → botocore 1.24.0 +# so botocore is x.(y+2).(z-55) +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))" +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.4.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + 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() { + # integration tests require AWS credentials and Internet access + epytest tests/{functional,unit} \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +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 +}