From 26f79803004cb53e92cf2f0e889de89979385aa9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 19 Nov 2022 13:00:31 +0000 Subject: gentoo auto-resync : 19:11:2022 - 13:00:31 --- app-admin/Manifest.gz | Bin 32544 -> 32542 bytes app-admin/awscli/Manifest | 2 + app-admin/awscli/awscli-1.27.13.ebuild | 80 +++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 app-admin/awscli/awscli-1.27.13.ebuild (limited to 'app-admin') diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz index 2d6503a72aa2..b3706ae3d57a 100644 Binary files a/app-admin/Manifest.gz and b/app-admin/Manifest.gz differ diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 49357a8b4ee9..62c470136c59 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -1,9 +1,11 @@ DIST aws-cli-1.26.5.gh.tar.gz 2294226 BLAKE2B 5c52d77679dcb999626751a7aa9abe3d81a1ee49584ea928ffe7e1fbc8ab33ec02d1385b4fea1d888e4cc11eabce73901389d1fd5fe9d365369f303da09b49c6 SHA512 3c1f6b43bef84060b8d3d7a7d848189e2ec0471e93340a04456f7fe70902722cac59a864db00b9a522ac14fd787ac415403982fd40facbab51a21ef11070b71e DIST aws-cli-1.27.11.gh.tar.gz 2303984 BLAKE2B f773a631bd2f172697a013e11765307edfac0957f7bff7d05e74c326239491c03629859b5d7b4ec85a831e28acd47cbbf4a2393c8ae512fbf393142cfb7ca13d SHA512 ad9eee70eb95d2c9c71978425e96b80a42569efca6e20c5caeb6af7b27aa893b3bfe68fed8e13b18e20626c4cd9599e8efe93dacde5bcc5c347b815376819ea5 DIST aws-cli-1.27.12.gh.tar.gz 2306806 BLAKE2B b94c5ae753754ff66897263883942043fa659cef95b5eb6c4e8edee8249b0cf1010d4490a4a46b477052ad14398f5d034285ff2e21428369b1ab4b425bb75cca SHA512 104cf99cc5bee3261b04a0c11681dfe8a18ffce6d1a4b8502983f6c754cce5b7d7e9b7f1dfd314ff06ccc4d8aa81f47cc335cbdfe81b6e19e7a08bad7cf14b02 +DIST aws-cli-1.27.13.gh.tar.gz 2308435 BLAKE2B 7b9ec88744417d9b3416f85d26100ab7e07a5373ada8aab004ff0411ff1aededfe21376b4843708a7b861bcf0d47fd5182e8423fcb1a041d1f16380532514a3c SHA512 0888cede49de91790dbd8eedf0b9ec96da10c05d06f939ab0cac983ca24c5f4e2dd8d2f3c11e5543c15c04c86f2bfb0fc49f9d29fe42149a2e3c1e2e04266089 DIST aws-cli-1.27.8.gh.tar.gz 2301766 BLAKE2B 1873d92b8d2f6d3f29a65b4177927a1a14034da71dbc95ff6abf3f49df6cf3ee192412eeea15be14c8cf9fca0a5603f2c76b80b280f4feb95e661055abcd8b60 SHA512 e53828cac1b3e10e2ddd45312d71cdb748216dbc37c3e9833e7a1320b236c3bef6a13204a38b946d9182430f169fca1ddc77d3d06c1c2c6e05978dc61f675168 EBUILD awscli-1.26.5.ebuild 1841 BLAKE2B 910c8c2f46db40db315b9551493be5ca63822634b7d69158a4e18bef2594f9b8ea8c7a447441360cbfdd519b346f29a3f26d11626ae571d13a8aaa160015e023 SHA512 059c470a1b01fab20d1303f5f64dc63bbf1ceb2efa7bd9d878ef7d89899852febf599712df83b397407178f55cc1213e9e18f6ba3e50d0e9c7e8c73739039f58 EBUILD awscli-1.27.11.ebuild 2261 BLAKE2B 8db2f30612572dabd673c4b33fb8fcf3005bc3aa7762c3abbbf12ffe50bb51f9b46a043d4b849682bfb585e0638b9f8a0849b241807516b442e013085bf2f1ad SHA512 03816a71b8cf31f9bd659cace763b9143a8700290f3cee354ead69fa3333f6faa47a9769db433bbf17f5cd7a76f27bfd1a4df8bdfbdb5bd393eb4e69e7ee882a EBUILD awscli-1.27.12.ebuild 2261 BLAKE2B 8db2f30612572dabd673c4b33fb8fcf3005bc3aa7762c3abbbf12ffe50bb51f9b46a043d4b849682bfb585e0638b9f8a0849b241807516b442e013085bf2f1ad SHA512 03816a71b8cf31f9bd659cace763b9143a8700290f3cee354ead69fa3333f6faa47a9769db433bbf17f5cd7a76f27bfd1a4df8bdfbdb5bd393eb4e69e7ee882a +EBUILD awscli-1.27.13.ebuild 2261 BLAKE2B 8db2f30612572dabd673c4b33fb8fcf3005bc3aa7762c3abbbf12ffe50bb51f9b46a043d4b849682bfb585e0638b9f8a0849b241807516b442e013085bf2f1ad SHA512 03816a71b8cf31f9bd659cace763b9143a8700290f3cee354ead69fa3333f6faa47a9769db433bbf17f5cd7a76f27bfd1a4df8bdfbdb5bd393eb4e69e7ee882a EBUILD awscli-1.27.8.ebuild 2261 BLAKE2B 8db2f30612572dabd673c4b33fb8fcf3005bc3aa7762c3abbbf12ffe50bb51f9b46a043d4b849682bfb585e0638b9f8a0849b241807516b442e013085bf2f1ad SHA512 03816a71b8cf31f9bd659cace763b9143a8700290f3cee354ead69fa3333f6faa47a9769db433bbf17f5cd7a76f27bfd1a4df8bdfbdb5bd393eb4e69e7ee882a MISC metadata.xml 334 BLAKE2B 84c9f50e6c0d015aad36a7f625cddf90cf1137a8c2d445cc641cd4890d64261187c10fde59ee1a6c19b98cfdb6ff534c66ae7a7a48a00ec62d6984c9a1891750 SHA512 a845de531df2cd75abf23cdbfa613e586855b95ac4e96566ef193708d7ecf2ec7f7db72fd31b8af0ac4ccd57e51da9c6d129d426bfdc6c4feb57d7df8647f160 diff --git a/app-admin/awscli/awscli-1.27.13.ebuild b/app-admin/awscli/awscli-1.27.13.ebuild new file mode 100644 index 000000000000..9bcb01ac11e2 --- /dev/null +++ b/app-admin/awscli/awscli-1.27.13.ebuild @@ -0,0 +1,80 @@ +# 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_{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 ~arm64 ~riscv ~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 +} -- cgit v1.2.3