diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-04 03:04:36 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-04 03:04:36 -0500 |
| commit | eed03ed6da4435154826115469c3956ad88ee8a5 (patch) | |
| tree | 0248639bd7885d12af7c3290904261280966e8a9 /app-admin | |
| parent | 99a5f9c4362a74766819e801b3a0f1539820e706 (diff) | |
| download | baldeagleos-repo-eed03ed6da4435154826115469c3956ad88ee8a5.tar.gz baldeagleos-repo-eed03ed6da4435154826115469c3956ad88ee8a5.tar.xz baldeagleos-repo-eed03ed6da4435154826115469c3956ad88ee8a5.zip | |
Adding metadata
Diffstat (limited to 'app-admin')
| -rw-r--r-- | app-admin/awscli/Manifest | 1 | ||||
| -rw-r--r-- | app-admin/awscli/awscli-1.45.63.ebuild | 92 |
2 files changed, 93 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 3da799a242e9..ce07872e6226 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -6,3 +6,4 @@ DIST aws-cli-1.45.51.gh.tar.gz 3200160 BLAKE2B 68871f50fe7cf35dde99bd6647670a163 DIST aws-cli-1.45.56.gh.tar.gz 3204683 BLAKE2B a819db329ce3d44ef6775adb1f0dad1dfe741423c01e7401723020b5f45aabd1a099183e624d61343cb7c814166a9f7050d9a3ae635dd14721f5e6a8ab346ef9 SHA512 f4f79af963a8cc753cbf000cc95e05c9431849ee8229ecde69d5bcb5ac5b74bd35b0e3a420aaabd03d2bfe0a67067e71e1595d06b5e3c60e3dcea1172b5df95d DIST aws-cli-1.45.61.gh.tar.gz 3209884 BLAKE2B a2e21cfe74e44cf9f51a8a79ebad5ee00b45a91ae7dfab63b515f7ec64fb2d3c202498f56cf32f08fc6458cad218a7d587e65a911768d9a4b0ef1bacd9445efd SHA512 3516f572eeb7f18d32ef8d60da53248606ac4d54099503a70f1fd3524c095c8c37df3e48ee42a6354b8275aa7aedb7dce1afa7cb5f29ec13dc85391bbc5fdbbe DIST aws-cli-1.45.62.gh.tar.gz 3211031 BLAKE2B 257686a87377966a530fd8d6b4c93839ecdc0fcf7ccdacc3dc4c4c7f6c3a81072beaef631dce60e9d5b13a525c53593dada7092b12d7e6b6de1a93b6a4cb3a59 SHA512 2fc179e5834e1b9dd6d36b44a9d96d7102a106676cc9ca3654859a8d93f51caee6ad05df6f5f75f0854e84342b3b5d3221555958e8c62606e603765fddd40ef3 +DIST aws-cli-1.45.63.gh.tar.gz 3211646 BLAKE2B 450bccef65e2b6340a7ee234b85e1afe223a51285c54a4b1ae9c44b92e817f7565fc0d566bd32e94217537533338b6f2880fb6d30c03b734269b2384561e5b47 SHA512 a2d4398fef6202b7b56cc055c6284115b0dba620ce5fe4989b5e6dc34878f187ea82f3844cb20703695e7e35542775ab3050111119b53e14dad7a75ff7ae4a49 diff --git a/app-admin/awscli/awscli-1.45.63.ebuild b/app-admin/awscli/awscli-1.45.63.ebuild new file mode 100644 index 000000000000..7d3c8ade6a18 --- /dev/null +++ b/app-admin/awscli/awscli-1.45.63.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_{13..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)" +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.18.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 +} |
