diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-17 03:01:54 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-17 03:01:54 -0500 |
| commit | 704b2332929c5ee3a704315e1b371a864f9f463e (patch) | |
| tree | 5112e7a1a49250008a19bd1c18e2142a8a5ed3f3 /app-admin/awscli | |
| parent | 7c679258085e25fd48f6bc6a44d6554b82d83c09 (diff) | |
| download | baldeagleos-repo-704b2332929c5ee3a704315e1b371a864f9f463e.tar.gz baldeagleos-repo-704b2332929c5ee3a704315e1b371a864f9f463e.tar.xz baldeagleos-repo-704b2332929c5ee3a704315e1b371a864f9f463e.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.31.ebuild | 92 |
2 files changed, 93 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 5d536659e66f..1cad46bda887 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -3,4 +3,5 @@ DIST aws-cli-1.45.18.gh.tar.gz 3155549 BLAKE2B 61db0c81272ede80fa55e28d1ac4c8b02 DIST aws-cli-1.45.24.gh.tar.gz 3162323 BLAKE2B 47485a8d7d56d32675e34114f6f93cafdefe288258d1c1fde1b01d74c76503d2b5c258e381079fdfad2c28be9f68475b63fe2231fcbfe8c2b30c6eb719f55c02 SHA512 545e9ce57872f0d9eb3a7e420cc09d9a9ee4c48bf42b424698ab704407ceefe4ca2bf98ff74bb593a6b4c1ebabfac51de4aca8575fae8b77f4c781b81260064d DIST aws-cli-1.45.29.gh.tar.gz 3169516 BLAKE2B 023c852cf7930a86e09848f487f7472fd7abd7903bb15b5abdd6e0d395ed41e7b37ad1e67a45403982a41def63b828e8020f7409adbc85240f415cacd7ad7ba4 SHA512 a8914132f412f597e7cabec1ee84e2d05be24649b2c66516219a4e98eceed76fe38a01cdec52366d4f7bd5b7daeac13abcc3a5f7b0be24c21dd4783e5aaacf81 DIST aws-cli-1.45.30.gh.tar.gz 3170871 BLAKE2B 3433c2cdc48c4e31b7f064ce909b513c23f5a9901410c0e9a31c1f9cda688ea338f468d24feb712492b750b09f54fe4f1e59f105e315e246a1e1eb15f3fe77f3 SHA512 95b989efa339c8aca818644bac482d81182bacc24080c6508ce1a60d4d397805871acafc259fe3ad567785e0f2c83ebcac01e02c13c7c8991a4291b88389723d +DIST aws-cli-1.45.31.gh.tar.gz 3170870 BLAKE2B 0f10290a2c9fba855bcd51dfb08424504652c94cc9aaddf04123a585e7ff4ec4c38fa2a726d4100f3e231b3b7b5e1e17ab3d82958c60cc21a40225a59fb97f17 SHA512 f0923cd2752e799e569e810db2587dac154fb7aed4c6f3224a7b5817932da27afe02e3bc15f3b6e43699fca232746d7b5e994265e1ba41c6bef91e0023d19974 DIST aws-cli-1.45.9.gh.tar.gz 3143531 BLAKE2B 9e34ad88bc8086b62f247ab3cd7f0308521c580eead65db804ff5cabd71afe4bc92070e1a866ce51436cb9f72ad535147eac34099b1145fee49f20e26938acb2 SHA512 57247536e0fbd0dbb2179d60f22636e7633456e92e6df487c3aff805c785d7ae8ed9ba5280acc536ee7d2b5e4f524b5e594a61b4bb1d9523ab5e612950448d3a diff --git a/app-admin/awscli/awscli-1.45.31.ebuild b/app-admin/awscli/awscli-1.45.31.ebuild new file mode 100644 index 000000000000..7d3c8ade6a18 --- /dev/null +++ b/app-admin/awscli/awscli-1.45.31.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 +} |
