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 55DB215800A for ; Fri, 25 Aug 2023 03:04:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95A972BC016; Fri, 25 Aug 2023 03:04:58 +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 F13632BC013 for ; Fri, 25 Aug 2023 03:04:57 +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 C1D05340BEA for ; Fri, 25 Aug 2023 03:04:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0456F107C for ; Fri, 25 Aug 2023 03:04:55 +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: <1692929518.7b8bc04b1c523994c2cafb639ba9a10e13835330.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.34.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7b8bc04b1c523994c2cafb639ba9a10e13835330 X-VCS-Branch: master Date: Fri, 25 Aug 2023 03:04:55 +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: b3f4101d-faf0-4156-9f7c-7a679a7b084f X-Archives-Hash: 55c52425044d3d961def762afb4af3e4 commit: 7b8bc04b1c523994c2cafb639ba9a10e13835330 Author: Michał Górny gentoo org> AuthorDate: Fri Aug 25 02:11:58 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Aug 25 02:11:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b8bc04b app-admin/awscli: Bump to 1.29.34 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.29.34.ebuild | 80 ++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index e753ea8c897c..118557b308e4 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -9,3 +9,4 @@ DIST aws-cli-1.29.30.gh.tar.gz 2509672 BLAKE2B 4c81e02da68497cbf91ca407389707e21 DIST aws-cli-1.29.31.gh.tar.gz 2510291 BLAKE2B 9b28bd5b22cbcde62f1375920f97a53a152a89d67b68788cbcecc3534932e037f94f6427324431c6f063a5cbf2fd4903a43a6129cb052198baefefed38b6e763 SHA512 3f56edd418556e4575f44ef08d631e1b36a4d1f77e6d189ed5d9e46acde0c02e561d22df9d7063efc3011561816b99ad8faaf12855d7eaef76b16f47d77f8c65 DIST aws-cli-1.29.32.gh.tar.gz 2510913 BLAKE2B bd22cc1fc38963f97a51c6c881986a48de072c9a4b5e4d59cee0b3df04f3f006660a194968d0114d803532572c7b229633802f0875fb891f7c58732894f97f92 SHA512 7951fe240f39f72fe3ddc03f350515ac441a836c6b943c6347672a228d7dfb4fbb3ab8a6a765e3346f2ff59a71620ee0cff146525057757e64ca1265f011332d DIST aws-cli-1.29.33.gh.tar.gz 2511146 BLAKE2B bd719f8789fd0861ecab4d2ac7def020c90d3f990e8465ce910904ea21f174fef764467374e98537f102658bc3e79b383b8cc12b595874bfa3331cae10880788 SHA512 3d0d55507c9b2cf6a0e088b0338d1a32d3f5377c24833db6001ddc6e0c92d91b5849a66038dd82238a9a98b2d20f8da78daa08ca82c475fa9f0a5190d89e0b60 +DIST aws-cli-1.29.34.gh.tar.gz 2513018 BLAKE2B 74eaa3b94f28d995f8a789421d5a0e8be3dc21359aaf70c932c610239c941361aa62ff0fb43dc4a848a225f42d8d6d88a0a17df793f600ed7db95dfe81f5b917 SHA512 115f82078770c27e1a2e5754505f1712cce7a8ebd83e87e7a3f7fbeac7f552005e7c5a0471914fa584ff4bf6f8394dc9df0779270d162abc4c1a9464d06d9c31 diff --git a/app-admin/awscli/awscli-1.29.34.ebuild b/app-admin/awscli/awscli-1.29.34.ebuild new file mode 100644 index 000000000000..62c19f3a63fb --- /dev/null +++ b/app-admin/awscli/awscli-1.29.34.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 +}