From 9beb8af18ac3375b98bd1eb695c92bb0ee536e48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 14 Jan 2026 03:10:37 +0100 Subject: [PATCH] app-admin/awscli: Bump to 1.44.17 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.44.17.ebuild | 92 ++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 app-admin/awscli/awscli-1.44.17.ebuild diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 203ad8dfd631c..6125e20969308 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -2,5 +2,6 @@ DIST aws-cli-1.43.15.gh.tar.gz 3035398 BLAKE2B 18b197a2897d52567694b1738a788dc3f DIST aws-cli-1.44.11.gh.tar.gz 3047353 BLAKE2B 738bd7864ea1465250d410235e767b4577258d8913745e9d90613dc4f4dc0cad7ccfc925b727fef3225f922acb50a56bbccc374ddde103a57758783f809a8a81 SHA512 8e62bb9414f1732869a0280a0f38aa03059e014b4ddcb03bc5de4cfe3300d1e5a87d91e45084b65802a2ccfe24d9c3c10139b1ca45b667519ac30c63c5909733 DIST aws-cli-1.44.15.gh.tar.gz 3048689 BLAKE2B 35dbc80e264258fdfbd68ab91b81fd1fd388ede68bb0738949bd9854b346f1ee3314ce6ed76a384bbf1b19686688ac46d05c51314b37c6ff5d1f4ee207dc6956 SHA512 9499818807a7a5f6e9fe37aac4fd2a1d50df8014efc04fcd673d377536f7e4255fbc35c2e5484b81d9011eadea6c292eea184618b02837397bbae7664ee9bbb7 DIST aws-cli-1.44.16.gh.tar.gz 3056097 BLAKE2B 767127798ce9c072ee002b9bd35d560d39b9f186991a84a8f396defeaf363c102e2ea93af791277cedaa4eb206027c8c3f3060b0ae8f6d62025f355efe47c839 SHA512 073f88e59eac675755432e28f5c33f213181884a60001e7928fa5afe153fa29a2a7ffefd4263bce5eaf3970fb3f875560c6ff2a0a16d6a59820de4392362f035 +DIST aws-cli-1.44.17.gh.tar.gz 3056239 BLAKE2B 9446ef77aab8c0a6ea704a6a27ea899c6a6cd15e81df50bb3b23824769bd8ceafbc676f5402e760c442a795dd46d0b14a85cd629641423722159fc1e44135b09 SHA512 dca9214270d9ed808a4f2af358bf0396221e7b00060b3c4d48ef8c5a78a5fe37d5d284df229ca94614134125ad68bf2c7e1af561bf3f49d949eff2d0d14ba512 DIST aws-cli-1.44.4.gh.tar.gz 3049973 BLAKE2B a493a4831e894949d04bf88ae8fc273319f876cce2e52d6621bfee5c591a4975c2ff753dea978b418344487a4351596499b7cb280ed1ab3e39e70c4582fd493e SHA512 1228ff933b02cab986753a80c6f76e60fc0b5256a5dd8d2dc80e3d197a0056e83fce472fba40d0ac49654c117b867b58f832f1d037ed7c1dd76142f72c0e2ca0 DIST aws-cli-1.44.7.gh.tar.gz 3056565 BLAKE2B c65d74973f229424145ee21a8e052dccaa7258a6cd8bced98a7895d4caef5ef2f0ee2cc58b21b0ba0edca21cd9837de43118a8c818afc8f6ab67ec8f62277875 SHA512 a927344ffd084eea0189bddd8b8c0e81ef36cf19f1b080994b194c41c4f4854158471123e34f20c333615e8749df0802de9ea957e942eb50737b166d85862e76 diff --git a/app-admin/awscli/awscli-1.44.17.ebuild b/app-admin/awscli/awscli-1.44.17.ebuild new file mode 100644 index 0000000000000..993f89ea1d78e --- /dev/null +++ b/app-admin/awscli/awscli-1.44.17.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 shell-completion + +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+10), sigh +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 2)).$(( $(ver_cut 3) + 10 ))" +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.16.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + !app-admin/awscli-bin +" +BDEPEND=" + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-forked ) +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 + ) + EPYTEST_XDIST= epytest "${serial_tests[@]}" + + local EPYTEST_DESELECT=( + "${serial_tests[@]}" + + # flaky (some ordering?) + tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32 + ) + # integration tests require AWS credentials and Internet access + epytest tests/{functional,unit} +} + +python_install_all() { + newbashcomp bin/aws_bash_completer aws + newzshcomp 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 +}