summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-07-28 06:44:25 +0200
committerMichał Górny <mgorny@gentoo.org>2023-07-28 07:32:42 +0200
commitc672ddff9a511fb22012ae270c90c3e68c990620 (patch)
treee6819edb075205ce47edd09245f105c62000dc7c /app-admin
parentdev-python/boto3: Bump to 1.28.14 (diff)
downloadgentoo-c672ddff9a511fb22012ae270c90c3e68c990620.tar.gz
gentoo-c672ddff9a511fb22012ae270c90c3e68c990620.tar.bz2
gentoo-c672ddff9a511fb22012ae270c90c3e68c990620.zip
app-admin/awscli: Bump to 1.29.14
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/awscli/Manifest1
-rw-r--r--app-admin/awscli/awscli-1.29.14.ebuild80
2 files changed, 81 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index 87c3fa380a6e..5bac7d458fcd 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -1,5 +1,6 @@
DIST aws-cli-1.29.10.gh.tar.gz 2455920 BLAKE2B ac190d5d450b02f2515578c0e6c6977e0264e8eacf1591e668826dbd8e1b682da86bb0794868d159ea1066e3db451e88e4ee9a59b6723a6049eafd82e60af086 SHA512 a7e6f7b50ed1b6af5b471f6ff68a8166fdc4cfb130090b513da678d21c4096cb1618052260b7ee956255a7dd63ae77dafa80d13c54a641f2cd66cf957ec1404a
DIST aws-cli-1.29.11.gh.tar.gz 2456638 BLAKE2B 31deddef1c85e5ffcf096b91c6da366578dbae9bee06d70ca665270dc5edbb954f51b79a65d0820ea052ae077a8fdab408a2061e80e6d05434f159f0abfc8442 SHA512 691dd4e07367c3dae975e4e67b01f054684689ea40d9c9ea0a0462ef90adc96115239b639b56448856d4e30b4cc3f48a3f5679b7f800e049f6204bca2e61def3
DIST aws-cli-1.29.12.gh.tar.gz 2457227 BLAKE2B 7d9ba5e9fe3425dd4dfaa330323ff546ea1f6bd3aee0757b3b994fcfc865c9f9bebbffd5aa038b61a0c8644bed9a4123daf878bdae9fb7ecb66e308b20a47983 SHA512 82c3fcad4ca6beaeb0cfdfbe5e7e585cd9cff100062943bc9c42d940a1e3a6ffd5d4ce3d1c45c61c81cd647ef22100a1e51dbf39ac45bc7566d1a8f533e76ba1
+DIST aws-cli-1.29.14.gh.tar.gz 2495994 BLAKE2B 904bd6cbf5230a277a94f67caa6a6da671a1869c9a031b9eabef30343b9f1f62949609f86291a94955256bfbcb6312138b148dd40693e97f21258dc198395bb4 SHA512 c47972c69da5e1b8263dc6743c13ee6449d6281da26d4dfb9573b70ad01ea1c7e020b2884baf0e508054ceff36a319163b224e23912dba49407ec5bd4243aad2
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.14.ebuild b/app-admin/awscli/awscli-1.29.14.ebuild
new file mode 100644
index 000000000000..62c19f3a63fb
--- /dev/null
+++ b/app-admin/awscli/awscli-1.29.14.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
+}