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 B3A1215806E for ; Fri, 19 May 2023 03:44:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB847E0876; Fri, 19 May 2023 03:44:53 +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 9EEE6E0876 for ; Fri, 19 May 2023 03:44:53 +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 63F27340E08 for ; Fri, 19 May 2023 03:44:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C4F0BA72 for ; Fri, 19 May 2023 03:44:50 +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: <1684467886.db03fe2858492d65d1997d3e261784d5c793d092.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.136.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: db03fe2858492d65d1997d3e261784d5c793d092 X-VCS-Branch: master Date: Fri, 19 May 2023 03:44:50 +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: 299eb2a7-07f1-4312-b259-801becbb0a62 X-Archives-Hash: dbb5d980fe34c25695b16a9d86e5f27c commit: db03fe2858492d65d1997d3e261784d5c793d092 Author: Michał Górny gentoo org> AuthorDate: Fri May 19 02:39:14 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 19 03:44:46 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db03fe28 app-admin/awscli: Bump to 1.27.136 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.27.136.ebuild | 80 +++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 648d6cee52ce..e0309d8fa600 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -8,3 +8,4 @@ DIST aws-cli-1.27.132.gh.tar.gz 2420336 BLAKE2B 585b35e4e07933e7fcb1b1c93924bbf2 DIST aws-cli-1.27.133.gh.tar.gz 2421348 BLAKE2B 0511291bf018bb62616f11231327b47abd153533c8ef0cdd5414d1c6f7f96ca529e3bbc3e5bb73cdb59d010502ebd122c3e83dc63bb7b4d84a6f7b011d3a03bc SHA512 a308d805091ecc054e86bd83ca5525d5332f5f6efd2654ce1242e70c7459de75d4175689381cfcb530cb7b2b43d852fb827d54ef2845cb95206ef2379f8e3dc6 DIST aws-cli-1.27.134.gh.tar.gz 2421575 BLAKE2B 7fee144f529720aa2bc2799bb617df5faa6262df3568c3c4021bcf5d6d2e3786420d6285b2f81fbb9ab9facac65c860a39ab09ff995ecb5c9bb7701b17c7e57f SHA512 f3aa56d46cc74050495320e7743680993e9530fd19ca0d6563b01c6379151e383c3a441f47f3fd3038837a4ecba54c2dc48f764545726d72304fb4e6a3208b96 DIST aws-cli-1.27.135.gh.tar.gz 2421852 BLAKE2B f6c684a68e9bbc37c0e5722926713e74f9d259b758d3a0e994280eb2f2fd9ea4dc78915ce88628db4df1121f819c96c1f142b2b1cbf2c0f706b9803a97741725 SHA512 633e431fcd93c6768854eb36b694cfc32499bee58e71830890eed3f06947fb00e075bfc0fa2fe0ad77bb4bdbd6018a45ed6fb810176fc07705110f8a72defb3b +DIST aws-cli-1.27.136.gh.tar.gz 2422696 BLAKE2B 8df6331a45752c5176abb03d1b12888a5f6b062785ca1cb0e1f6bd523326bb454b90638a01406ac40fb32c5154e2943a64ef08b6b3106f76fc574369e3570fe6 SHA512 4efa236b62aca24cb04323236e7a895f8d9fcdc659348dc066ab4b17b6818f790f54de1cb364ab949bb1efb811f9cb065a6b095e1d4ef481d745fd79d81abac9 diff --git a/app-admin/awscli/awscli-1.27.136.ebuild b/app-admin/awscli/awscli-1.27.136.ebuild new file mode 100644 index 000000000000..62c19f3a63fb --- /dev/null +++ b/app-admin/awscli/awscli-1.27.136.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 +}