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 328C5158020 for ; Fri, 21 Oct 2022 05:15:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6853E07EA; Fri, 21 Oct 2022 05:14:59 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ADEF3E07EA for ; Fri, 21 Oct 2022 05:14:59 +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 A78B8340DDA for ; Fri, 21 Oct 2022 05:14:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 454F6625 for ; Fri, 21 Oct 2022 05:14:57 +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: <1666329276.d79b0901047ecffdb173bc337bc6a70b771a4fed.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.25.96.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d79b0901047ecffdb173bc337bc6a70b771a4fed X-VCS-Branch: master Date: Fri, 21 Oct 2022 05:14:57 +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: 2e6da008-2025-4d7a-b4cc-449ad3441fa8 X-Archives-Hash: cd3af66efcb574baea151ec2af716263 commit: d79b0901047ecffdb173bc337bc6a70b771a4fed Author: Michał Górny gentoo org> AuthorDate: Fri Oct 21 04:00:36 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Oct 21 05:14:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d79b0901 app-admin/awscli: Bump to 1.25.96 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.25.96.ebuild | 72 ++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 926a8f258bb4..82b3536d2a00 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -5,3 +5,4 @@ DIST aws-cli-1.25.91.gh.tar.gz 2287481 BLAKE2B 6cc39905deee332187249124bedc14ef7 DIST aws-cli-1.25.92.gh.tar.gz 2287842 BLAKE2B 5cbadaeed098efa7a7ac911e76d1259e2fd7310b4c87f6f37fb4c3aa731d4f4fdacf6a3ea4345a295e8f6eba2985698ed36287f84303ba22e1466afa7acdcd06 SHA512 9c646c7f081ffe26571d36953e1c98a80a863ae4b0b3cf941aaa4958a96967481aeb634dfb84dae2bf9d3e20ad528b093634d2bb011ec85f3d583de84c72ebb8 DIST aws-cli-1.25.93.gh.tar.gz 2288018 BLAKE2B ef0a0c679f5e4e698b21f84f2f0aa594889205c0f468cd3ac665040987a843ad9888687e3127f7755d90c715680fcba39430b094e35c8d017837cd9e8b1d51f0 SHA512 6052e677e04b84eb90a853bb6a85506f1b0b1270e64e2f93d666c66deda1824392cbfa1746a55dfb4f2a64554decb54a94e91b60564291621ff939c894f39ca3 DIST aws-cli-1.25.94.gh.tar.gz 2288438 BLAKE2B c30b798d1e489b04d0d63630fee9a782262be83cb30df6e66793cbba7951135a814734d90cb6117f87382ec520204f7e553a16bee87c1acd448d22581e0cc14d SHA512 9407751a543c4d15d80d8986508abe2b4c1eb2bc375119f17e60928342f3af442359982f6600b551c318fda0c80629ea02511ad70cdb096adf8e91891ceadc03 +DIST aws-cli-1.25.96.gh.tar.gz 2289725 BLAKE2B 8f1a562a9b144f32e0e72eb8a34cf02ce96f740bded6ebe2e14e16da69d614d06f5285614ff2a1c428330290cc2e6c9cab80639dd4b8da7219d16c112d26cb91 SHA512 c45e0ac254a4f3f7d84fdb082a7932f98921b660b465892b759302937f295ce4eeb7750c492be62c36f96cc6c21d5699c44093c5cd00a32a98659fc707b570a7 diff --git a/app-admin/awscli/awscli-1.25.96.ebuild b/app-admin/awscli/awscli-1.25.96.ebuild new file mode 100644 index 000000000000..511be374181c --- /dev/null +++ b/app-admin/awscli/awscli-1.25.96.ebuild @@ -0,0 +1,72 @@ +# 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..11} ) + +inherit bash-completion-r1 distutils-r1 multiprocessing + +MY_P=aws-cli-${PV} +DESCRIPTION="Universal Command Line Environment for AWS" +HOMEPAGE=" + https://github.com/aws/aws-cli/ + https://pypi.org/project/awscli/ +" +SRC_URI=" + https://github.com/aws/aws-cli/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +# botocore is x.(y+2).(z-1) +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 1 ))" +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.6.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + !app-admin/awscli-bin +" +BDEPEND=" + test? ( + dev-python/pytest-forked[${PYTHON_USEDEP}] + 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)" --forked +} + +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 +}