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 2771215808C for ; Fri, 18 Mar 2022 22:28:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5F23E08E0; Fri, 18 Mar 2022 22:28:50 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 9BF11E08C3 for ; Fri, 18 Mar 2022 22:28:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A084A34388E for ; Fri, 18 Mar 2022 22:28:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 31A5D32D for ; Fri, 18 Mar 2022 22:28:48 +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: <1647642490.31dad22bb32285abcbf8cdd995e9be1050132fda.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.22.77.ebuild X-VCS-Directories: app-admin/awscli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 31dad22bb32285abcbf8cdd995e9be1050132fda X-VCS-Branch: master Date: Fri, 18 Mar 2022 22:28:48 +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: 7f0b8ac6-7fde-4e8e-b812-86c1b4a58476 X-Archives-Hash: 989821d402f51b3b61709ab60734ff98 commit: 31dad22bb32285abcbf8cdd995e9be1050132fda Author: Michał Górny gentoo org> AuthorDate: Fri Mar 18 20:55:20 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Mar 18 22:28:10 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31dad22b app-admin/awscli: Bump to 1.22.77 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.22.77.ebuild | 66 ++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 7d8f36c00459..952947bed6cd 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -5,3 +5,4 @@ DIST awscli-1.22.73.tar.gz 2178216 BLAKE2B 14cd910f0218c015c3f349f57f268b818737d DIST awscli-1.22.74.tar.gz 2178286 BLAKE2B bab52f3a46033c0f6b36419a612ef01ed79ac8f361bdb90ad2e07aede8b6244e0d0cca20dd4eae6b664f24ae9564e4ad548fc1eb55526242d2cbdd1771ba329c SHA512 1027658bb97e214047a90079384cad5b9f045e0a70f734fef24d1ed4b09a930a985f516ed2dc3965cb78941d702008a9cdaf3e420d992c77b4175eeda85577bd DIST awscli-1.22.75.tar.gz 2179099 BLAKE2B 697c02e6981213cd6694d1d4f988148488ba4be91559b5686b6820543d38e9a5864242a254ac1151bca147557a970ad8cf8bc07c3ed6100305b1ec65f918edd7 SHA512 783e3f057896c929d2324d1af0bc3907a23bffbb7856b201ba1b03a6ca00e0aeae2c7e04468bf0494f91d054d35423255130332b366bba0ac60513da1e4d35fb DIST awscli-1.22.76.tar.gz 2179831 BLAKE2B 4c1bf344a7e21dbe3e96cade9aa5f2efcabe969ebd7804a05b6ba361a2dc11c9f07786198923fefed419b425dc7e4d469a9683474a30495f399e39e9cee8f15c SHA512 bf4971e1d92294901f273891d6e2d2ae2c142842df3fe09391d5f12672f2504ddcc3b467db82439dba434f2e50c4a529c5141366b34ec9722e9ad9705ace5f09 +DIST awscli-1.22.77.tar.gz 2179996 BLAKE2B fec49002841fa634bd2b7ae72f534bda875d69169179bbeb85eac18f2d9e9102121b6c0d73d8c7132ac0a6b8e5a8a39cea258d90c15f90b29b44d12ed509cfd1 SHA512 0fa89b6a2dd9dfc7e7be713c10b7470ad8fe8877a7fa9712510254cfbef36771f9e2541adfef9366e13e2273a373c2b88730572f7f1ad79c19f67e57c17e6631 diff --git a/app-admin/awscli/awscli-1.22.77.ebuild b/app-admin/awscli/awscli-1.22.77.ebuild new file mode 100644 index 000000000000..2040c8cb81d2 --- /dev/null +++ b/app-admin/awscli/awscli-1.22.77.ebuild @@ -0,0 +1,66 @@ +# 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_{8..10} ) + +inherit bash-completion-r1 distutils-r1 multiprocessing + +DESCRIPTION="Universal Command Line Environment for AWS" +HOMEPAGE="https://pypi.org/project/awscli/" +#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/aws-cli-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +# awscli 1.22.55 → botocore 1.24.0 +# so botocore is x.(y+2).(z-55) +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))" +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.4.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + 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() { + # integration tests require AWS credentials and Internet access + epytest tests/{functional,unit} \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +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 +}