diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-11 03:04:40 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-11 03:04:40 -0500 |
| commit | 755ecc63c34034b68719f6dac52aa76ba08bbe5c (patch) | |
| tree | 54b8b213b345547f9f11cba1eedb2c70282949ec /app-admin/awscli | |
| parent | ed2e0f29bf24219e96271574d9c99c971dff3698 (diff) | |
| download | baldeagleos-repo-755ecc63c34034b68719f6dac52aa76ba08bbe5c.tar.gz baldeagleos-repo-755ecc63c34034b68719f6dac52aa76ba08bbe5c.tar.xz baldeagleos-repo-755ecc63c34034b68719f6dac52aa76ba08bbe5c.zip | |
Adding metadata
Diffstat (limited to 'app-admin/awscli')
| -rw-r--r-- | app-admin/awscli/Manifest | 1 | ||||
| -rw-r--r-- | app-admin/awscli/awscli-1.45.46.ebuild | 92 |
2 files changed, 93 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index fe072f9ab675..8097dc9f6205 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -7,3 +7,4 @@ DIST aws-cli-1.45.41.gh.tar.gz 3183727 BLAKE2B 51f4d2fca5864d127bab4dee0a922fef5 DIST aws-cli-1.45.42.gh.tar.gz 3185096 BLAKE2B 5c272ded4b3d8a247598a98740d75adf26ad884b8fcfc3b2c37f55d27035662dbe90bfaa6978fff061eaf0a19a523c7e65ac224ea8fe04e47160edaf369a4dcd SHA512 aa75053a6aea8564919d98ec21b27b37af29d2d69e255dbf58176df2402031020ba485b42fe5940d80d4e9d26d2a408b8fbbcf1779d6fa4c74a857334e3ebd76 DIST aws-cli-1.45.44.gh.tar.gz 3185680 BLAKE2B e872d27c7601aef7ac500eb50b4a52cb95a11912606e2c5ff994788396c71fb40c81f2e93ebce0be52a6df2266add1f2a66832a936bb65bd11bf8d658626f392 SHA512 baf685611176b5e70a8885892dc43943a3dcc4fa68a318d1553ddb978a825c362e1ab24597cd4d2e65ba883074a5d09b9974eafed41cffc6c7173ab7efbb6681 DIST aws-cli-1.45.45.gh.tar.gz 3194423 BLAKE2B 271a1d48ea7dc4fa40e9047c9f031e151b9ed33cb39dc559053a835934f100600d2cc1034f39bbf2608e5df9672f4a8f77b89580d2f815a1192cbc82dcf5505a SHA512 22f8e523686d6f8bb94a10b752b73304330678d2e7a5a904a4c8ec0beccf12117fede705e4612b610eecabf4a7dc5f2bf28b8aad0bfeb829430b0a195b88e6bc +DIST aws-cli-1.45.46.gh.tar.gz 3195842 BLAKE2B 83f941c9f929174cd93b36db6d4aa7dd9ba1fdcf01fb6c08c595970ce53a73b64adaae9daea7b15366d283af27e60783adeaa91300216d39879d092dad77a5ab SHA512 ad15c12fae077010b515f0161adc0dbff49126c0a6c42d553b7d397da4023e9dabb58884549481cd72f140d0ae398145560678687e9b4c472f2fde8207b0f8fd diff --git a/app-admin/awscli/awscli-1.45.46.ebuild b/app-admin/awscli/awscli-1.45.46.ebuild new file mode 100644 index 000000000000..7d3c8ade6a18 --- /dev/null +++ b/app-admin/awscli/awscli-1.45.46.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 +} |
