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 7AB5715806E for ; Sat, 27 May 2023 04:41:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6922DE085E; Sat, 27 May 2023 04:41:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 4917BE085E for ; Sat, 27 May 2023 04:41:04 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1BABC3409E6 for ; Sat, 27 May 2023 04:41:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 53232A7A for ; Sat, 27 May 2023 04:41:01 +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: <1685160124.e8b5d226c8e3c0fb3fdd4a1f7a6b9a03e16a6115.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.27.142.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e8b5d226c8e3c0fb3fdd4a1f7a6b9a03e16a6115 X-VCS-Branch: master Date: Sat, 27 May 2023 04:41:01 +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: 46181332-8d35-48a8-b2ee-7ad200015fd6 X-Archives-Hash: f8e2fe5a994f335f81ebbad81f13f97a commit: e8b5d226c8e3c0fb3fdd4a1f7a6b9a03e16a6115 Author: Michał Górny gentoo org> AuthorDate: Sat May 27 04:02:04 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat May 27 04:02:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8b5d226 app-admin/awscli: Bump to 1.27.142 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.27.142.ebuild | 80 +++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 22787a3fd19c..4929ffcce981 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -5,3 +5,4 @@ DIST aws-cli-1.27.138.gh.tar.gz 2424550 BLAKE2B eff6712357722f6ade0fa8365f034dcd DIST aws-cli-1.27.139.gh.tar.gz 2425326 BLAKE2B 4fafb3611931cef28017b8d1dabaff694cdd14fe327c7d5ddac6f7e7623b2321bc51b5ae5219b1ddb9c10e22b2398932ef3ce41d8784bcc2da4363bbf2a1b63b SHA512 3fb7c62c9fb21e4f45d0b6c93fbb2524bbb3a2f2c62f79ecbc33d8fbae0dafae642452e8a8fe87083f219a6dd8fbe0c5a3bb217e88f6e2300a11d993443bfde2 DIST aws-cli-1.27.140.gh.tar.gz 2425531 BLAKE2B febb388738dac60d0cd6ed6b5ad0749710af307cf9657d6d4c6c0bca4cfa527c8dad13402723bdc858de286eadf98bee86aef59ba28d439716b939dce0216b16 SHA512 73d7530b61e1bafd873ac430bd182833875c0e05af90761c9219682f0d400c1caa4ec2e74fd8d4eef9e7203abe3aeef18746c61a03fb4b963e15c7c7d7fd4cf7 DIST aws-cli-1.27.141.gh.tar.gz 2426793 BLAKE2B 85092e14e16792b209fda51b24553e21532c7e46f08f45ca8cb38ec01680aabee660011c8b0917dbac4b28f1e0625a869eac59a3814131a0c902f906cb2b9212 SHA512 f8bd840125c2c41fb0badb9240e4769f8ff6ed5a8cdb01a9bc6213a1554d1bab8998b44754cdbf185e9fbfc702d1b4ef9ff54cf19f7f68b1983c61fe1aa189e8 +DIST aws-cli-1.27.142.gh.tar.gz 2426758 BLAKE2B 587791e0102d51b9681718a71c1225c673f1545f98d2cbd679d266c559ae4252e92ec2c41a640584b5ce1e4aced885489723edb90e0700846e3fd74968be42bd SHA512 cb2ba71dc955ddd5a738f6e703a16216effdbd1232fa4e14c5974bf59c6f871ba80a4a61614dccb0fc110c689ce24f466c4142967be83f48c5de41699450d092 diff --git a/app-admin/awscli/awscli-1.27.142.ebuild b/app-admin/awscli/awscli-1.27.142.ebuild new file mode 100644 index 000000000000..62c19f3a63fb --- /dev/null +++ b/app-admin/awscli/awscli-1.27.142.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# botocore is x.(y+2).z +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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.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() { + local EPYTEST_DESELECT=( + # TODO + tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple + tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only + tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing + tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid + ) + + # 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 +}