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 D912415808B for ; Wed, 9 Feb 2022 09:39:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0616E092D; Wed, 9 Feb 2022 09:39:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 6DD03E0929 for ; Wed, 9 Feb 2022 09:39:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 18C50340F73 for ; Wed, 9 Feb 2022 09:39:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 045D02EE for ; Wed, 9 Feb 2022 09:39:32 +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: <1644397679.c5e660fee961da72c7f135c0d682da5779ec270c.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.22.51.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c5e660fee961da72c7f135c0d682da5779ec270c X-VCS-Branch: master Date: Wed, 9 Feb 2022 09:39:32 +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: 80821dc4-9bdd-4ca0-947b-a246316a5a64 X-Archives-Hash: 58cbba905ed3aa0bce67153494661db9 commit: c5e660fee961da72c7f135c0d682da5779ec270c Author: Michał Górny gentoo org> AuthorDate: Wed Feb 9 08:48:21 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Feb 9 09:07:59 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e660fe app-admin/awscli: Bump to 1.22.51 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.22.51.ebuild | 58 ++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 7a4c904a23fc..fcc842da83a2 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -5,3 +5,4 @@ DIST awscli-1.22.47.tar.gz 2161197 BLAKE2B ede83ea2a0ca35aab53eea5950eab59a5f845 DIST awscli-1.22.48.tar.gz 2161566 BLAKE2B f9ced24e30951ec517753fa0d1e8c321d9f5d2b32374c82c794f669c012f6e56b69456fed550db2c1753d9cd9c0bf4c5a964c5dc656e66da99815ee063940323 SHA512 149d06dd400d4a5616d4da38c5b6ef4223da88f09ce77e82524dac1b1cb27deb047b032759f0188ba6a6fda456101e361655fa363fd2c50554a3a1e506e5ffe1 DIST awscli-1.22.49.tar.gz 2161874 BLAKE2B de97f0f9aeb075049e69c5bbd4bc67d59ba964f6508c92f8c2d1574f77dd4f2d602cd16b07270242c516e68d4119f8df95834935bfbcb16eccc3c1bc0a6cb08a SHA512 d55cf65bb8f70e4f98bd1eb0a79385d0959985b1b969e6f0269e7185c4af2cf3b40e0cd6d736431a489e21e4ec5b055ac0727dd1b2226b6d4dc6b19c4609ff11 DIST awscli-1.22.50.tar.gz 2162541 BLAKE2B cd7dda4d0d36897d299b39798d7ee5810a5b5d45759c548bf02ab66694954e470b00e141d6459dd8741c64dfc565e8227f468bd1f95c020963f0f8151460da18 SHA512 bd8e9b71eb370e409e3b06ff9c20db84f6329eef49b50fedf21225767ef7433f1d941c8f224e82a10159c319a87ab3b69a9255446ee3d0ce6f65c00531c1bb7d +DIST awscli-1.22.51.tar.gz 2163551 BLAKE2B cd7c0b312b96f1dc44f9826a6606deb6d7467b64a674efbb6d8293720c9daa9bdc3cea9d71f2da75fe308fd80bead172f2cfcdba045e6debe44d1e884c0aa64b SHA512 c4bfa7022181c93fd319b18d916ed1af281b4a6bbefb81e693e4479b3ed07200e4c8c8687b79bd0d411b194e049fcbbf8e59c977ce551076b98840f973621bf4 diff --git a/app-admin/awscli/awscli-1.22.51.ebuild b/app-admin/awscli/awscli-1.22.51.ebuild new file mode 100644 index 000000000000..1f3430af8a9f --- /dev/null +++ b/app-admin/awscli/awscli-1.22.51.ebuild @@ -0,0 +1,58 @@ +# 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 + +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" + +# botocore is x.(y+1).z +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(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.4.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${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} +} + +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 +}