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 1343315808B for ; Sat, 12 Feb 2022 09:15:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 107DEE0837; Sat, 12 Feb 2022 09:15:11 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BDE87E0829 for ; Sat, 12 Feb 2022 09:15:10 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 76FF2343045 for ; Sat, 12 Feb 2022 09:15:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D48112D3 for ; Sat, 12 Feb 2022 09:15:07 +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: <1644657300.8425bd13cb7cb5f1c7b1f32427af61d13c60a55c.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.54.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8425bd13cb7cb5f1c7b1f32427af61d13c60a55c X-VCS-Branch: master Date: Sat, 12 Feb 2022 09:15:07 +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: 5c052b3f-7b29-4d2d-8976-9e813c93ebf2 X-Archives-Hash: 10a078649f27a1a82f730689e87831be commit: 8425bd13cb7cb5f1c7b1f32427af61d13c60a55c Author: Michał Górny gentoo org> AuthorDate: Sat Feb 12 08:06:11 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Feb 12 09:15:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8425bd13 app-admin/awscli: Bump to 1.22.54 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.22.54.ebuild | 58 ++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index b70228639678..6462ca127bc3 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -8,3 +8,4 @@ DIST awscli-1.22.50.tar.gz 2162541 BLAKE2B cd7dda4d0d36897d299b39798d7ee5810a5b5 DIST awscli-1.22.51.tar.gz 2163551 BLAKE2B cd7c0b312b96f1dc44f9826a6606deb6d7467b64a674efbb6d8293720c9daa9bdc3cea9d71f2da75fe308fd80bead172f2cfcdba045e6debe44d1e884c0aa64b SHA512 c4bfa7022181c93fd319b18d916ed1af281b4a6bbefb81e693e4479b3ed07200e4c8c8687b79bd0d411b194e049fcbbf8e59c977ce551076b98840f973621bf4 DIST awscli-1.22.52.tar.gz 2163541 BLAKE2B a8aca6f818141bc8ba9ad8dbe9d0732d8635814530dab483c327d30c85098f9bc7f5ce90ccf930df76ebe724b441ce67af08aba45a4e8a4f5cb228464b4fd3e7 SHA512 8ed0504428dea9869d069ebc077e72c4e0d0099fdf4087acb8d81dc77c5c4d2ae3e04dc5772cd4e21ff80ad4dde1344b9abd180530a5049b6438c2ef1fe5154e DIST awscli-1.22.53.tar.gz 2164193 BLAKE2B ec96c4c39799ea99828c1aa2c75830ae6e042117f825589bf63a4ee534152d1c5c610f3b9d0d560f917c33283a355617b761262a888827bdfe0e00d6b36e6e55 SHA512 65a7fa3ab090e4bfab3227f265c3180321b5240d84c38f9e5da4de17bbcc37011e3d92e5c91c5c05c7ad03601f3e860eafcfd14231c4ebb52a5409e323b725c7 +DIST awscli-1.22.54.tar.gz 2164355 BLAKE2B 86f103c0ab646f78b77ca35740af816d1e36b2a4055f5f3283a7ce70eea2e3f4c481f2fa0b82f964ad1e725705c3c1adde7f365b2e21b3a435b5766da3d4b645 SHA512 63e95c767cd38fd7b68a4a74acac72abeb02c220ef16941b6d9069c74f9eca1ad29c6f63a89da2873b65b45999017dfe667dab4864cf7877405ac6328865c811 diff --git a/app-admin/awscli/awscli-1.22.54.ebuild b/app-admin/awscli/awscli-1.22.54.ebuild new file mode 100644 index 000000000000..1f3430af8a9f --- /dev/null +++ b/app-admin/awscli/awscli-1.22.54.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 +}