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 8763915800A for ; Tue, 8 Aug 2023 20:07:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B15622BC024; Tue, 8 Aug 2023 20:07:02 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 500462BC02B for ; Tue, 8 Aug 2023 20:07:02 +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 5E12F335CF4 for ; Tue, 8 Aug 2023 20:07:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B49A1F34 for ; Tue, 8 Aug 2023 20:06:58 +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: <1691525212.166e6b6cd0e5e64aebdd527e4c92fbbae91d99ca.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.29.22.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 166e6b6cd0e5e64aebdd527e4c92fbbae91d99ca X-VCS-Branch: master Date: Tue, 8 Aug 2023 20:06:58 +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: d21ebb47-a155-419b-b798-79bb8c250733 X-Archives-Hash: 46ced89b16e2f68b31d94c1d2c8ce1a9 commit: 166e6b6cd0e5e64aebdd527e4c92fbbae91d99ca Author: Michał Górny gentoo org> AuthorDate: Tue Aug 8 19:26:20 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Aug 8 20:06:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=166e6b6c app-admin/awscli: Bump to 1.29.22 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.29.22.ebuild | 80 ++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index f8f2713546a6..b93af00b6e8f 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -9,5 +9,6 @@ DIST aws-cli-1.29.18.gh.tar.gz 2499882 BLAKE2B f62d0994be7cfc0f6d11577324dbda5b5 DIST aws-cli-1.29.19.gh.tar.gz 2500180 BLAKE2B 64bd861ad84157e81ad9d6f2528befb556ba738c92dc81493cd58a073c9b16bda30701914c6bf59dc308093ed32add733fedf6546c701ec1a3f7ea0005ae498d SHA512 cec92149f30937b70e98a89319139a060ffad2cc433b5718ec6ddff9fb64cefa8064dac5a8c429572f0ab520ca2dfaf05f2f1378792c6ad1a19e544e12aef86b DIST aws-cli-1.29.20.gh.tar.gz 2499798 BLAKE2B e9a8d4a8f804132a5c6ea2c5d8ef99f49c09939b0d0492adce5cfdbf0f85d9c6c2010d17d45a3905bff3888c5984c8f5d81e28dafe3ea9b8629f96dda9f1df2b SHA512 14e2dc38f5373c648973d927e549e53bf722c0b4184fb210d732ebb2af37436ede84eb6037e520f5c543b4f90eb00afca8e506fe3aca3e28dd196fd664bc8f0c DIST aws-cli-1.29.21.gh.tar.gz 2499845 BLAKE2B 4cbc6bb9ba492c4ef3bcd03f43769888c2375a8aaf0a8365547aa00ae02d2fceec09e5d49d7893cbf561b2ef1a30f2f6f7f29bfda8affb8f000d3900d780402a SHA512 af482e8ffbbf0567f00acdeda11d65c845a48f582acd910a630567e14e5d938a7ad2942c3ca2cf75ffdc3f101add9810dedde6418e3a8df7bda8689bec3466aa +DIST aws-cli-1.29.22.gh.tar.gz 2500297 BLAKE2B 7de13b7e8ced5be80a293cbed25505420569283e54ce719958519f3748b6fdc87c11c6b106eeac0afe41c219259cd5aa3231cd2060506c755b5a687d5f04598e SHA512 874574a542261e1095265e0184c2fc82d70bbacefebf4a586960a59c0d69925f842979e9a6fb35fc685723bdd360c8dc838593539c3c0e07e2ab6395d5422c92 DIST aws-cli-1.29.3.gh.tar.gz 2450427 BLAKE2B 6e240905c8fbb2916334c2de0e9fd851636acfbc050916baf971e2f5e5a1d93d398c77c6a1fe0766f701ad53683e5f41b1bb5519e5ac7b5e8f0a64d37e113c34 SHA512 3446e057abcc956e26b55de85383d0d40c041bcfda0f7e566309d80bbd22d567a474d93ab74461e91bdd7eaff1db9c77813912653c7864bcc851d12d2cea8ee2 DIST aws-cli-1.29.9.gh.tar.gz 2454843 BLAKE2B a4e49923aec2d09d8244e58fe737f1a0528956397050b693892b2d4521d4e41956fc2a11f6e8bc0c88d6ea16ae4f7f85276037a7864c989334109ef090623f99 SHA512 2238c70ccaa8e73cedca9a56e4cda48a62b0b26999c481585769872b42517f2a25d80b94cf9e18961c5fb81c9d8fe44bda9dbf6024e31bbc7409d6ce53f1a915 diff --git a/app-admin/awscli/awscli-1.29.22.ebuild b/app-admin/awscli/awscli-1.29.22.ebuild new file mode 100644 index 000000000000..62c19f3a63fb --- /dev/null +++ b/app-admin/awscli/awscli-1.29.22.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 +}