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 247FC1580B9 for ; Fri, 27 Aug 2021 07:28:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 785AAE086A; Fri, 27 Aug 2021 07:28:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 5A082E0869 for ; Fri, 27 Aug 2021 07:28:35 +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 1E425335D53 for ; Fri, 27 Aug 2021 07:28:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9154048 for ; Fri, 27 Aug 2021 07:28: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: <1630049303.7e5e662c537e1a629900329f1cfbca7e21bd5281.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.30.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7e5e662c537e1a629900329f1cfbca7e21bd5281 X-VCS-Branch: master Date: Fri, 27 Aug 2021 07:28: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: 70e46b9b-5c4f-4d20-b3bf-d3ddf9d83226 X-Archives-Hash: 2309ef95a108fe9cf08902d87b63adc4 commit: 7e5e662c537e1a629900329f1cfbca7e21bd5281 Author: Michał Górny gentoo org> AuthorDate: Fri Aug 27 07:04:07 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Aug 27 07:28:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e5e662c app-admin/awscli: Bump to 1.20.30 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.20.30.ebuild | 58 ++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index cc16ff9abb3..15cfff2d944 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -6,4 +6,5 @@ DIST awscli-1.20.26.tar.gz 2057909 BLAKE2B 92ed26ae13b4c6626dcf7cacda761cd8ab93a DIST awscli-1.20.27.tar.gz 2058499 BLAKE2B b8de3aaad76bf957b1aa4dec114fcc13650f0b19af747eae9c166f105101f78a499cf9e0827636896a0aad8f32fc7786ee0319310dbec674aceeb93127539a3f SHA512 e4564b2feb35857a3afea2876aab1257a211e8b5ab6282ab23b30bc2499f14ef4554043dab515b2df7b4e004432762b86d87d57d8438508d51133c916b56da08 DIST awscli-1.20.28.tar.gz 2058578 BLAKE2B 3f6993a41f46ad9d8d45cebc0d5ea95a954e15c73d236426590c389aba6de6a99b6a5000f065f932733151c14f3112bacc25c670a05d2a991a976669ce54554e SHA512 b75974450cea3744ed15cf00ca82a35aa377c55e0ef67bb5536ed136e768d5030e6707f12e2e7de8bfce48296295ff4ed4c9f9b15c642104ea34c7492291135b DIST awscli-1.20.29.tar.gz 2058922 BLAKE2B e0455b2d5475a1d070d0b97f5e321f884ad7d9f9627e36c2ac7eb61b69d0aeed35845906f03acf4c2c5202f6bd3c019693e4bcd02454a454282862949e4eceeb SHA512 67412b3a7445effde508548ec0030f304f0374b7a1dcc851a2205c01321e8e30d939b09cac85f10a51f2e9b47caca30303bd2916c4e10fc494eb599bc3ff783d +DIST awscli-1.20.30.tar.gz 2066899 BLAKE2B 47a111849b14e9cdc24a8fb117711195bee5a7ea73eff2778dcb0f1e0600e04b86f78e1424082f22f655b0c85a3382c2587f495013795126830ace0a4e6a6a72 SHA512 00965738a2dd1faf0331b8b1473969a9e8a4a4ad68e6bb1d0383077494da38a9244a732ae9093eee853b6b6246ff611b6a4f1809d7d2ebda31931eb1fec79148 DIST awscli-1.20.7.tar.gz 2045304 BLAKE2B d8f086d8d2eb36645e77fa3d9ae7c196ed3a3fddcc2a0218696f92bd69e10b453be1340b965a8d8e6697bbd3c45013d72de3ed0d31b5823515a5a0092a812858 SHA512 a41bd3ebc34a65add66ef95d5194ba07907a08f7368b0fcd6551af2070c46c4a509af47d30aeadabddce19d1a61200a58faf40a7e2f759e64915cfb2826666ab diff --git a/app-admin/awscli/awscli-1.20.30.ebuild b/app-admin/awscli/awscli-1.20.30.ebuild new file mode 100644 index 00000000000..ff429f8d3a3 --- /dev/null +++ b/app-admin/awscli/awscli-1.20.30.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 +}