From 18a69c52453e0db481bfa441cf1d9616c97c9928 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 30 Nov 2023 11:00:41 +0000 Subject: gentoo auto-resync : 30:11:2023 - 11:00:41 --- app-admin/awscli/Manifest | 2 + app-admin/awscli/awscli-1.31.4.ebuild | 88 +++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 app-admin/awscli/awscli-1.31.4.ebuild (limited to 'app-admin/awscli') diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 0b91e7ee8a30..040f410fd44b 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -4,10 +4,12 @@ DIST aws-cli-1.30.6.gh.tar.gz 2596217 BLAKE2B 3b4cbd540ede2826d212233e76a4431f09 DIST aws-cli-1.31.0.gh.tar.gz 2599974 BLAKE2B 3ffc916e01cebd9e8532d01190324c3d8a51f13710751df530ab7ef24f759202bf41072367ffa871cf1a1c9d980d5bb4d5739fb9f5cc651e1e660a9684dad79d SHA512 d99497c945af03ac35fa19e6cce3b25b4cd13e5f7e84eef85bfd32bd9411d6ae0e41ca96117e2ea26c791b56cae19e4c92b742c83ef5cf5338f27ee287d78b8a DIST aws-cli-1.31.1.gh.tar.gz 2600259 BLAKE2B ebe55d0b5cd1ba730ce4ef6b6911b5d4877668c04428d59dd75a353ac55ddea4a42296399b53ce4ed119fcd7b877762adbf606b0dd114274cf4c68186577d1c1 SHA512 96a97b585ad8b47394412ed4d1494414e70ddb52788da5c2e8e977652b5fde2300b2c98b0727f19e1f305ff5b55dd428049cdd6fd3fbc746a4aec28d68c25f9d DIST aws-cli-1.31.2.gh.tar.gz 2602541 BLAKE2B a24a6a4d7c5714e4d54d6eaa2e77a0a642a815f917951b0aea23a91da745f78e647543b47e656cb1ceb6a952552b498b7ae6f316763bfae34ec5e84789564699 SHA512 a0e0e88210ce9be19c66981a8a9def72f1032492cbb6075afd0c4f9c753d270b82925fc2428f81811a6bc8745a2dccb7c2e1ad2291969c2139a9a40915c48542 +DIST aws-cli-1.31.4.gh.tar.gz 2604265 BLAKE2B 224072e17f2f2ce1227b4b1e704cc796d35c01b90aeab7a86ffbe561ac7d28bee9e5ce07e5c77c47db529c6ac590c4c1813405fae6a748869b04423dafc1acf1 SHA512 b0c34752417ee3fa03402db8024d781c198a54416ab93f7e934c1146c77685aaf7ca441946f392c5c5a1b8b228eee21283cb35ff9fb45ef97365bd3e22e79cb1 EBUILD awscli-1.29.84.ebuild 2729 BLAKE2B ab4ab697b7133db15d9148aaed10613cde4010ff6edd0075a5cb036011f577fce75aca06c55fe101599b21758e57e74706066d79b7f503f17b86a556febf44e2 SHA512 15436fbd6b0aa43524d5db6ffb3840e4e5f00434e6c45d3c6b7c7bd2197849700c80c6527a99551ce32e9adcc55b1877b0ebdc53ccd9dda9cf63bc71332dfaf8 EBUILD awscli-1.30.3.ebuild 2736 BLAKE2B e66384bff893ea10cb95002752b2adc2d126e1ea88a84f27e1ad9860c50098c9cfefa407fcafb84ef3ba575c669b8fb3c3b08e0ce12e50220b2d49ef7a23bd76 SHA512 ed98a9461b1edbe0f61704cdb69785d63df871a30890cb95ee1f10da78324b18e8bfe4f2c5010ea2429e09ff293ad8b7c1fbf4a3702788d9a9921701f833a730 EBUILD awscli-1.30.6.ebuild 2751 BLAKE2B 8a51dd7be20208a7fde6fb8836e136abeb6f3e679e43fb8bd6e817df6b7eed1183079b9a170dc1d4034a0167a05b3ad7d2c2c867dc33f483316c1fc972126a17 SHA512 48eea9498ca084097d04d2853bc75bcf1e89a6e7c0a6a1f44b2df3006f8ba0b2a610f10b44152c42e797a8664dcb17c51531b004278eaef0b69184d2b326c9ac EBUILD awscli-1.31.0.ebuild 2751 BLAKE2B 56ad4d6b07ecffc35a75959f4045c6c7d9ebd0e4dde78a229c3f3af09b3c08e3cd54e637f292bc1fd02e172b1ffcdbc796718b501dd59cdd5176571b2f17ad1e SHA512 a74e2b8f63a9899ae32162f5b1fc6d6c67e960d431e31244c92357a2de276f8b0a621ce06dc7efff952eae2b846ad94443b67fc8425ad4c3509d7a4bbf685fbc EBUILD awscli-1.31.1.ebuild 2751 BLAKE2B 56ad4d6b07ecffc35a75959f4045c6c7d9ebd0e4dde78a229c3f3af09b3c08e3cd54e637f292bc1fd02e172b1ffcdbc796718b501dd59cdd5176571b2f17ad1e SHA512 a74e2b8f63a9899ae32162f5b1fc6d6c67e960d431e31244c92357a2de276f8b0a621ce06dc7efff952eae2b846ad94443b67fc8425ad4c3509d7a4bbf685fbc EBUILD awscli-1.31.2.ebuild 2751 BLAKE2B 56ad4d6b07ecffc35a75959f4045c6c7d9ebd0e4dde78a229c3f3af09b3c08e3cd54e637f292bc1fd02e172b1ffcdbc796718b501dd59cdd5176571b2f17ad1e SHA512 a74e2b8f63a9899ae32162f5b1fc6d6c67e960d431e31244c92357a2de276f8b0a621ce06dc7efff952eae2b846ad94443b67fc8425ad4c3509d7a4bbf685fbc +EBUILD awscli-1.31.4.ebuild 2870 BLAKE2B 0f04852324dac59dbc0f8587268a00dbc9c89815eab9391af22c2b9294d5890e70cdd2ace78ad388048546954db0aa37efe6d0d2304529c2fd51ebcb4bb2bc88 SHA512 907955cc560559f84aa6ed1c1969c7e409bbf2edf7ebeea7c1d95bdc2dccadc2a344d09c76ab8fcac2cacaea97ac39a606f6319976d37b4ef36548ee44c28e7f MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab diff --git a/app-admin/awscli/awscli-1.31.4.ebuild b/app-admin/awscli/awscli-1.31.4.ebuild new file mode 100644 index 000000000000..18db68f93233 --- /dev/null +++ b/app-admin/awscli/awscli-1.31.4.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.8.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 +} -- cgit v1.2.3