diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-05 03:04:47 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-05 03:04:47 -0500 |
| commit | ff03324f0b5c30484659977ecb3a56e73f5856a5 (patch) | |
| tree | d3d9a7636e37b0d2eec93ddf61a47caeda399de0 /app-admin | |
| parent | eed03ed6da4435154826115469c3956ad88ee8a5 (diff) | |
| download | baldeagleos-repo-ff03324f0b5c30484659977ecb3a56e73f5856a5.tar.gz baldeagleos-repo-ff03324f0b5c30484659977ecb3a56e73f5856a5.tar.xz baldeagleos-repo-ff03324f0b5c30484659977ecb3a56e73f5856a5.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.64.ebuild | 92 |
2 files changed, 93 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index ce07872e6226..9902173247d4 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -7,3 +7,4 @@ DIST aws-cli-1.45.56.gh.tar.gz 3204683 BLAKE2B a819db329ce3d44ef6775adb1f0dad1df 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 +DIST aws-cli-1.45.64.gh.tar.gz 3212607 BLAKE2B aa0ea910c6fd50f1af7015f5d4e61f56beb15e0cbf7aec1983fd44b9118dc86c9aeb89d0dc65914b67b2f8656a73a007ff23ff5b3f2669497b8145b8f26e5a53 SHA512 fec1359c4f1d81517b5397190d48e95651cd7a4ba1c3cbf1d36e111e41e2aae5904631a97d64d6232081ff215a262b7de43b2fbb7109e27f2cd8503aea4e1b1d diff --git a/app-admin/awscli/awscli-1.45.64.ebuild b/app-admin/awscli/awscli-1.45.64.ebuild new file mode 100644 index 000000000000..7d3c8ade6a18 --- /dev/null +++ b/app-admin/awscli/awscli-1.45.64.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 +} |
