diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-06-21 02:48:07 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-06-21 03:46:50 +0200 |
commit | 2ab5d031c018820c01a554e118b2fb9cffa7e770 (patch) | |
tree | bfb59f12043934dacc9ab1aa220696b19f5347e5 /app-admin | |
parent | dev-python/boto3: Bump to 1.34.131 (diff) | |
download | gentoo-2ab5d031c018820c01a554e118b2fb9cffa7e770.tar.gz gentoo-2ab5d031c018820c01a554e118b2fb9cffa7e770.tar.bz2 gentoo-2ab5d031c018820c01a554e118b2fb9cffa7e770.zip |
app-admin/awscli: Bump to 1.33.13
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/awscli/Manifest | 1 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.33.13.ebuild | 90 |
2 files changed, 91 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 86e675e62c64..118b51c503b0 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -2,5 +2,6 @@ DIST aws-cli-1.32.117.gh.tar.gz 2732508 BLAKE2B 699d7596ea0e417f624f72e801d2c6e5 DIST aws-cli-1.33.10.gh.tar.gz 2748804 BLAKE2B c1fcfb37ee48a9c712daccde660fa2a1b66a85eab4a2cbefca575560c4068422bc16fa18e4803ccd923b0d50e3d17dec37a6e18ea82d09da7af438d8e415a28b SHA512 66d0829d6de4e4a09783860020907efbd50e4c57b7306bd9d16a9c5cd5566797327bf72326fe928d84430869e234ab8c0712794f62e6c6a4ecfcb8210749c0ec DIST aws-cli-1.33.11.gh.tar.gz 2750353 BLAKE2B 0ab7a387c9f8a4d147c05e806e374a0fe82e1da2cfaa4f72804fb6e04a686999f3657e99b43cb304f3f19520da95747e89f682d6a314f937c6c2f292b3bfb821 SHA512 940e88c18e824a44c62b3e12212bdff54eef7da3c07b2b0bdda5268519433b10818eb0c99c8ee57590cd3e10147637f33a34bb1ab3b5df4431d4c8f9a1ef3875 DIST aws-cli-1.33.12.gh.tar.gz 2750564 BLAKE2B 690eabe17ad0dd00b315653c84e5717107efad7a9f702689447c4b85a57abbc8ffd8ec4cfb710d8c5b656c368b93cae3a0f399ac23fdd74caa42bf39cb0b695d SHA512 a988cd227bcd82f641a368ed66e00cbca48ce4825df25e5434cc7a23abd54a8676ac84fe48f5d4c1eac450493e4460fdb24e8cb4484e40542891410519417020 +DIST aws-cli-1.33.13.gh.tar.gz 2751169 BLAKE2B b849f4c5c0eac5092c3f163c4344a7bee332f374f252bc295794cb1e5a4024e08f353815362f0e7016b054d881927650c407d527f557c828543d1a5b96e9bd0b SHA512 7cdea65b6cd4fc7b51b657f9abf2e5cde41ef5d87f6fa45659ebedb2047fc09af9d457aeb8779f56fb55518acb12d139d486f8e95dfe7679ae5f8c21d901e608 DIST aws-cli-1.33.4.gh.tar.gz 2740224 BLAKE2B 40fb26f895a28e41e45c861194ca959490d1675e2f9926bbcb5b092d4496b20be3e68f4eb370ffef541bd607c41181d34caa4e5674fc262b60cd882401530153 SHA512 faeced07895fc891803136061839d499b372cbf89e6e642e2782120d2b1a50486e01ae07ba7ee04c9fe84ffefd0e329e000d76f38f5839b048bbfdab59a64785 DIST aws-cli-1.33.9.gh.tar.gz 2744062 BLAKE2B d888e111d93ec22c6bbabf083d612b15845883e2e56814a37173f79c108e4fe25745dbba83d46f99f54e7ddcc2f471c81e3b568de7233eb7e0bb51ed25a89f7a SHA512 5bdb9873487570c841b582ee466d989705c2fc5827386356819507caa8e105b76b0101555f8a6ee485f38aaa433881470fdde5cb21f6fdc88243c92ce7c31a81 diff --git a/app-admin/awscli/awscli-1.33.13.ebuild b/app-admin/awscli/awscli-1.33.13.ebuild new file mode 100644 index 000000000000..a7a293c4a8e8 --- /dev/null +++ b/app-admin/awscli/awscli-1.33.13.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 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+1).(z+118), sigh +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1 )).$(( $(ver_cut 3-) + 118 ))" +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/packaging[${PYTHON_USEDEP}] + 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/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_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 +} |