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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4ED561580B4 for ; Thu, 2 Sep 2021 21:00:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66B52E09E0; Thu, 2 Sep 2021 21:00:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 35859E09E0 for ; Thu, 2 Sep 2021 21:00:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C317F335DA3 for ; Thu, 2 Sep 2021 21:00:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1371399 for ; Thu, 2 Sep 2021 21:00:13 +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: <1630616398.5e323c626dd4eda0aab3bc5149391fc6df5012bb.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.20.35.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5e323c626dd4eda0aab3bc5149391fc6df5012bb X-VCS-Branch: master Date: Thu, 2 Sep 2021 21:00:13 +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: ed41cfa4-9b5c-4d9e-8b22-7869150e2217 X-Archives-Hash: 432e2752413b57a39ee7a7ac057899e9 commit: 5e323c626dd4eda0aab3bc5149391fc6df5012bb Author: Michał Górny gentoo org> AuthorDate: Thu Sep 2 20:37:57 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Sep 2 20:59:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e323c62 app-admin/awscli: Bump to 1.20.35 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.20.35.ebuild | 58 ++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index a6191eae902..ec5659d4a51 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -11,4 +11,5 @@ DIST awscli-1.20.31.tar.gz 2067614 BLAKE2B 28c268f89f733dcf3db18f83abaa312ab25b0 DIST awscli-1.20.32.tar.gz 2068048 BLAKE2B 396aee12287bad95e825159a4352e3ac259a9e572b593384244fdaa7a9e632cac9fe2115584dcc23cd6feefc6c4f7e6ae5eb1a2a9e7c18c7ac0c750f725204ac SHA512 e46c3e5fc9572ee9d3b4dc186f98801a207b2d9d8d8edfa44676710bf8b175044a7900ef95779cdaf439fc0b492ac933948dd0cc9b0def316468412b50996bc3 DIST awscli-1.20.33.tar.gz 2067909 BLAKE2B cabdca002d42220286cd3352e8c1b4f21aa28a7898676f7e9403da894c7e2756865d47f4b541ba44acbfc926823671748dbabc0c776ae4767b4ff8d73918ff82 SHA512 3a8b3474eb2056be33aff65bfa3f421f4ff3fbc0ea74f6dec53d7eb961d5f1938b92f7a403b3fe6afa52e403a174bab44b8f5ba71632fd7609f9ba2e1084b4fd DIST awscli-1.20.34.tar.gz 2068450 BLAKE2B 93cf9aa129b5d9b30b0fb82aa8508f997ef2d9477498626c98e4a3b2718b0a0f96ca3b5d666cdcfdadbc4bfee28b508cca78e3909da9ad9fd2cb6c2e36844989 SHA512 f7754021133aca4cdefac3a6eba2e2441942530fc9440115a97fab6bde62cdcac0e4529599630cae020764a086c4ea951d4ec8045547084fa4cc8ea3e3b9afc8 +DIST awscli-1.20.35.tar.gz 2069361 BLAKE2B e19666a42ae7b39297d62532d5028beb099ba195e80233f43f28697184be10c3abb859db5271980e45cade0c6d580988b63d0c2b5e3adc66aee97e76c7883144 SHA512 7fecf089e72a520004aef0d002b2ec07c524b8f927c27e4a497cedfcbcd38e0db57c3ce7e67d4e7f4a4fd78a0ec3e950ef6d7f6d2f7918e0d03a5fb3b2ff8ddf DIST awscli-1.20.7.tar.gz 2045304 BLAKE2B d8f086d8d2eb36645e77fa3d9ae7c196ed3a3fddcc2a0218696f92bd69e10b453be1340b965a8d8e6697bbd3c45013d72de3ed0d31b5823515a5a0092a812858 SHA512 a41bd3ebc34a65add66ef95d5194ba07907a08f7368b0fcd6551af2070c46c4a509af47d30aeadabddce19d1a61200a58faf40a7e2f759e64915cfb2826666ab diff --git a/app-admin/awscli/awscli-1.20.35.ebuild b/app-admin/awscli/awscli-1.20.35.ebuild new file mode 100644 index 00000000000..ff429f8d3a3 --- /dev/null +++ b/app-admin/awscli/awscli-1.20.35.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +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}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests --install nose + +PATCHES=( + "${FILESDIR}"/awscli-1.19.47-py39.patch +) + +python_test() { + distutils_install_for_testing + # integration tests require AWS credentials and Internet access + nosetests -v tests/{functional,unit} || + die "Tests failed for ${EPYTHON}" +} + +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 +}