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 5574C15800F for ; Sat, 31 Dec 2022 07:18:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BAB6FE082B; Sat, 31 Dec 2022 07:18:55 +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 9131FE082B for ; Sat, 31 Dec 2022 07:18:55 +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 43BBC340CB6 for ; Sat, 31 Dec 2022 07:18:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65D9C7F4 for ; Sat, 31 Dec 2022 07:18:52 +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: <1672465223.e1fd7eb2bb929f4a1bd5d76eaaf529f056d7bcde.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.41.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e1fd7eb2bb929f4a1bd5d76eaaf529f056d7bcde X-VCS-Branch: master Date: Sat, 31 Dec 2022 07:18:52 +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: f11e2c46-0c64-412d-80a5-5c450e5fcfbc X-Archives-Hash: a123c188bd754513849706ea13889334 commit: e1fd7eb2bb929f4a1bd5d76eaaf529f056d7bcde Author: Michał Górny gentoo org> AuthorDate: Sat Dec 31 05:40:23 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Dec 31 05:40:23 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1fd7eb2 app-admin/awscli: Bump to 1.27.41 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.27.41.ebuild | 80 ++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 171534ed91f1..96dda99a8d87 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -9,3 +9,4 @@ DIST aws-cli-1.27.37.gh.tar.gz 2332965 BLAKE2B 9c855f02bc63f64e3d9bb706139305a6b DIST aws-cli-1.27.38.gh.tar.gz 2333077 BLAKE2B 721ebce0e39b90b9ac18552046b62a5263ebec3d6abbe798ccbf28a9ab63dbf17699a8d2eab2d7b620717c56b8b9ff1d8b3316940a21925b3a58bfcbbc65e03b SHA512 3e529a64542fc14f179bdb5cea3b275f1a2d0d9d4df63c118f5d18067a5a69d1c7677fd8ddbb18d45cef8ce5be880fa9f2a2546d8e57475e1f35a2e0ced7b8ec DIST aws-cli-1.27.39.gh.tar.gz 2333488 BLAKE2B a50ea5601f36646fbc0e6dfd6053ff09cfee9476fe0923f8b969e639f7c7af4c52e9482be9eae9b2b48cc905263b80117d9b49ae3e6a9a1b361f6929c6640b87 SHA512 b6f7fba1ccf4a9828af63222d422a4b83c97ed848bbae899816c1323caa450f2114527d9d1acc4c14ed54fe3aa92cae10dfd4df62e1e98ab38dddc856b0df677 DIST aws-cli-1.27.40.gh.tar.gz 2333845 BLAKE2B d7ec9f54b9ccb46ac3248a839f2691a53fe16b1ff35e9068bce069a71570c9db64f092fa91ca237be61b8b60cace8aa2c699023dc49d1e5258d95bd676d031c2 SHA512 62e6cebc6a893558d2eb5a6ee462f8b632aa733b349ff3d71eb49c940cfd7ea66d29bf9109bf0150d3bd18745bf36f54d0eb499edd7087fdfc824c74ce4929cb +DIST aws-cli-1.27.41.gh.tar.gz 2333941 BLAKE2B ab39bd9acdf7d2d6f7ac6a8168b5959ede6799b4e06e04892fd49fae056b384c4fe9f7d721301b46be90f84fc0ead345968d1bc93399c8d8a374559e10c31519 SHA512 81d36eb1554386968924ea14c42e03fc21ab32ab97750f2d8fd20ac0deb6a6a7184b84b41e06ba0738ece233ff9dba08fe1f9f801bce1a2b38656c73f23e76e0 diff --git a/app-admin/awscli/awscli-1.27.41.ebuild b/app-admin/awscli/awscli-1.27.41.ebuild new file mode 100644 index 000000000000..caea725bbca7 --- /dev/null +++ b/app-admin/awscli/awscli-1.27.41.ebuild @@ -0,0 +1,80 @@ +# 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_{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 +}