summaryrefslogtreecommitdiff
path: root/app-admin/awscli
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-23 07:52:18 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-23 07:52:18 +0000
commit4035d30ea0ada73d992bb7d583c0b37a053714fe (patch)
tree7a69165d1193f74105c13af2ed89082f75db7fe1 /app-admin/awscli
parent686be77442c7f389d8c06c6dafb97294b819146b (diff)
gentoo auto-resync : 23:12:2023 - 07:52:17
Diffstat (limited to 'app-admin/awscli')
-rw-r--r--app-admin/awscli/Manifest2
-rw-r--r--app-admin/awscli/awscli-1.32.7.ebuild88
2 files changed, 90 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index 203489a71fcf..4aa350d65e2e 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -6,6 +6,7 @@ DIST aws-cli-1.32.3.gh.tar.gz 2609467 BLAKE2B 16d5d477c35132c880b5bddefacbca0e84
DIST aws-cli-1.32.4.gh.tar.gz 2610216 BLAKE2B 7767006083a08ed1de114e177d45e37f8858afe7652a4160234514db8a02a3a0c8bf5f37277ea98ca04134d275aeb2e1017e758d678a2603bc3b9c8984bf192d SHA512 715a41701fa6f950e85bb4348b44de000c8147a77cb5d039499992a1dee9c8d447fe24c92886e22cb057c7e1a02113bbdef00dccf8743652b23330e11d662ae3
DIST aws-cli-1.32.5.gh.tar.gz 2610655 BLAKE2B e85b56e61e0e328c26d2c2fdc33255277f618d9bb4889a118e0a9996f4de282136d998a78dedccf6f4f8430d954e51224d528191265b97f00fa6ad07bbb326d4 SHA512 c58ebb963fa3467e1b7e196748027c37c010a4c559381d32102cdb89b8ef0978298d7722bb98d36109c682f6ee5bb6bb9c66b7603e7f0810ce745ccca5cf0aaf
DIST aws-cli-1.32.6.gh.tar.gz 2612658 BLAKE2B c79d8cbaef59fbc19db15985182e5679b7b89fcc1852154e116db8ef6d8a959b39dc2e70a8542bb482044a3fc12f18ddda75aa073893ade2172441a7fbd39948 SHA512 89894c512c6ad069253f26ba70a7294df86af0106fde7d042ebbb05525f2c202efc04c45176cbd64f73ea91e0b03610523e49f4d38b59e513b00b2777503c511
+DIST aws-cli-1.32.7.gh.tar.gz 2620400 BLAKE2B dee6686b73100c607eba165f0f8ff91217336b020644c7ef7ee95dad16f57baea0878a3da96fd2f7258271573c1245286921240d141ba3020006b7ca2b37a0b5 SHA512 1df4aa8f2a2924d0e1c84e1187db1d5b974600831d7f668e39cfa17c34896ec51c604ef52d5ce397ca5950e79cac3c2e744c9b048f12164b650aa871e0c489e7
EBUILD awscli-1.31.11.ebuild 2870 BLAKE2B 0f04852324dac59dbc0f8587268a00dbc9c89815eab9391af22c2b9294d5890e70cdd2ace78ad388048546954db0aa37efe6d0d2304529c2fd51ebcb4bb2bc88 SHA512 907955cc560559f84aa6ed1c1969c7e409bbf2edf7ebeea7c1d95bdc2dccadc2a344d09c76ab8fcac2cacaea97ac39a606f6319976d37b4ef36548ee44c28e7f
EBUILD awscli-1.31.6.ebuild 2863 BLAKE2B 594fcb3182f64a267050b5c05a4f1d5ac23cbf02695d4dd3d2f8ceefea03b7cd9b6400ede8e079f62784d4eb185e21fab3bded808c8fc26b7e708b25a75c7784 SHA512 980b6a42cb257a669bbc78d92a4de7896bb312a66c08a4934b6df6c7a99a5a9b0e1352fadb30ffb3eac017810ffa15f634d73ce9069380387854c690a74dddcc
EBUILD awscli-1.32.1.ebuild 2870 BLAKE2B 07e1565a1eb323a5fa24c087c1e3ce1e7f9cf861460924eec0c23310c3cd1c8ab888d1fca17901e59801c3f902e6b0207c365d7adc59a96cd7705f3a0b209555 SHA512 15c4651cb87670b9e6841aac87a96a7fa9d9d058a374057d4603fa73724e418c3b86f76d2a717f073208b5b2d0b40bdb3d904a7c606c20b84f4fb70910474d85
@@ -14,4 +15,5 @@ EBUILD awscli-1.32.3.ebuild 2870 BLAKE2B 07e1565a1eb323a5fa24c087c1e3ce1e7f9cf86
EBUILD awscli-1.32.4.ebuild 2870 BLAKE2B 07e1565a1eb323a5fa24c087c1e3ce1e7f9cf861460924eec0c23310c3cd1c8ab888d1fca17901e59801c3f902e6b0207c365d7adc59a96cd7705f3a0b209555 SHA512 15c4651cb87670b9e6841aac87a96a7fa9d9d058a374057d4603fa73724e418c3b86f76d2a717f073208b5b2d0b40bdb3d904a7c606c20b84f4fb70910474d85
EBUILD awscli-1.32.5.ebuild 2870 BLAKE2B 07e1565a1eb323a5fa24c087c1e3ce1e7f9cf861460924eec0c23310c3cd1c8ab888d1fca17901e59801c3f902e6b0207c365d7adc59a96cd7705f3a0b209555 SHA512 15c4651cb87670b9e6841aac87a96a7fa9d9d058a374057d4603fa73724e418c3b86f76d2a717f073208b5b2d0b40bdb3d904a7c606c20b84f4fb70910474d85
EBUILD awscli-1.32.6.ebuild 2871 BLAKE2B ab5c0845626f2809cad70108d65cf6e23076b804a9c987a564c93899b8195334a8ddb10b4e7d78b5c1f7bc2507155818d113dbf52c5d40cd58f3c0eb284788ad SHA512 1e00d67b3a2961750cce6d15022012795d5f561597db593f8b0e755e7379443c628ae65d99e5c28a9d68747d009b2813a571bd8c2d46c2065c081caf04b449dc
+EBUILD awscli-1.32.7.ebuild 2871 BLAKE2B ab5c0845626f2809cad70108d65cf6e23076b804a9c987a564c93899b8195334a8ddb10b4e7d78b5c1f7bc2507155818d113dbf52c5d40cd58f3c0eb284788ad SHA512 1e00d67b3a2961750cce6d15022012795d5f561597db593f8b0e755e7379443c628ae65d99e5c28a9d68747d009b2813a571bd8c2d46c2065c081caf04b449dc
MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab
diff --git a/app-admin/awscli/awscli-1.32.7.ebuild b/app-admin/awscli/awscli-1.32.7.ebuild
new file mode 100644
index 000000000000..77feb2d63e3e
--- /dev/null
+++ b/app-admin/awscli/awscli-1.32.7.ebuild
@@ -0,0 +1,88 @@
+# 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..12} )
+
+inherit bash-completion-r1 distutils-r1
+
+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.10.0[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ !app-admin/awscli-bin
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-forked[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=1
+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 serial_tests=(
+ tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
+ tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
+ tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
+ tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
+ tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
+ tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
+ tests/unit/customizations/test_sessionmanager.py
+ tests/unit/test_compat.py::TestIgnoreUserSignals
+ tests/unit/test_help.py
+ tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
+ )
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ EPYTEST_XDIST= epytest "${serial_tests[@]}"
+
+ local EPYTEST_DESELECT=( "${serial_tests[@]}" )
+ # integration tests require AWS credentials and Internet access
+ epytest tests/{functional,unit}
+}
+
+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
+}