diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-17 06:41:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-17 06:41:55 +0000 |
commit | 6d730aa8064fbab6cc54447b6ed0e60b99c13256 (patch) | |
tree | 8c303cb48dc49dd218b79708ca71904653c5f831 /app-admin | |
parent | cb2f73d10494730ba590096a1f24ebc6d0d61a9f (diff) |
gentoo auto-resync : 17:01:2025 - 06:41:55
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/Manifest.gz | bin | 32510 -> 32514 bytes | |||
-rw-r--r-- | app-admin/awscli/Manifest | 2 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.37.1.ebuild | 95 |
3 files changed, 97 insertions, 0 deletions
diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz Binary files differindex 80588b089625..b45663b2dccd 100644 --- a/app-admin/Manifest.gz +++ b/app-admin/Manifest.gz diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 51ea3f68c8e9..22e4d80579f5 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -4,10 +4,12 @@ DIST aws-cli-1.36.38.gh.tar.gz 2879388 BLAKE2B 2780cfeb9e6ca61635638ad3df9a0e6cb DIST aws-cli-1.36.39.gh.tar.gz 2879615 BLAKE2B 54bed9cb8e5cb2d5f27178040a4f5f38fb9233a3be3531003c0a91a254185389a2508195520bfb43e7c9666e966ca66ab909d38cd09365cd1014ad541ddf3dd8 SHA512 752e80bae33456057b9c8ddc4e4fd0f97c522cae59d2e6749f549268b0ec9c7d4dd32c797962dd6e0282fd8ced4c3a1ce4f002af96af32c62faefd499f862e4d DIST aws-cli-1.36.40.gh.tar.gz 2879864 BLAKE2B f6d8ae65edb2f3bb6f15376560f5ad93936f81b1a14d6573af011e9b4fb48552888f52a5b25a29237dc66d54802babec3bd9df640119b10c713b9de7dc6fe7d0 SHA512 1c0de5ff22cd5be7d33dbf0ae3fbe11d7eb5ced13773d8567dee3f57f62aaa7f135555234c659fd33ac0ae9e1c55f95e34ac0b1490e1b7f983ce9cc4a8953809 DIST aws-cli-1.37.0.gh.tar.gz 2881507 BLAKE2B 4c6fc8921304d8f4c9cf4ce760325be42c2f7b9f072946bba1bd9e9c4d9b28d4033c39bb69b553f6c7a3b07014091d1cffffb4cb9a40bbd22ec4410b06006199 SHA512 170ba977abb2b655346cb1c507126a341e830226f8844ac719c6c7e10c7962055df8c4ff667fde3aa595be518f481a7ed1b85e249f8991365df51c6201bc04f2 +DIST aws-cli-1.37.1.gh.tar.gz 2881540 BLAKE2B 99dc9be76e0cb2a6052d630e5d87d56fde13a0fb1dc954b523e9ef8529f88234b47ab0eac02611dac2f40e7c38abf69983336e99e2ee8f9f7bc8c808e5f8ee1e SHA512 b48d1d0038ce400a1874c09c481569422211ef2d3894368a32e144fec130480bfbe31cbdecf107b632703ab2a4ee4028173d3a97f9ea2a7a0cef9cf80743cad9 EBUILD awscli-1.36.31.ebuild 3179 BLAKE2B 166dab27a2c434c083129b7cfd4dd2af3a1b7d60e98bca4c664a9540b62421228aaab77a2a654799c79b0003d81bab00c78e12bda5a931bcea30afff0ecc8c32 SHA512 10bead82e87c3c857b4fa2c4168629b4113d49b481374b95ad5813cd440d9f5d36d3e0413c28038176f31d11a873d41638e31329ef1360e5755b95a90f6e441b EBUILD awscli-1.36.33.ebuild 3186 BLAKE2B 65b27edf9a080dad4a72a8fb6426840ffb39c57c020d93482c79003438b4b3523e24526c27bc4a186630245535f796454c03f299604eb03707d777cd4bd77099 SHA512 5fac354f14a164645961d81b8731b1a03cde670d69c600cae21b89245564d6f566652fcb5d7b5eab3012de676a8e7da85c424bb823a53a570f988b5b4b9b3e70 EBUILD awscli-1.36.38.ebuild 3186 BLAKE2B 65b27edf9a080dad4a72a8fb6426840ffb39c57c020d93482c79003438b4b3523e24526c27bc4a186630245535f796454c03f299604eb03707d777cd4bd77099 SHA512 5fac354f14a164645961d81b8731b1a03cde670d69c600cae21b89245564d6f566652fcb5d7b5eab3012de676a8e7da85c424bb823a53a570f988b5b4b9b3e70 EBUILD awscli-1.36.39.ebuild 3186 BLAKE2B 65b27edf9a080dad4a72a8fb6426840ffb39c57c020d93482c79003438b4b3523e24526c27bc4a186630245535f796454c03f299604eb03707d777cd4bd77099 SHA512 5fac354f14a164645961d81b8731b1a03cde670d69c600cae21b89245564d6f566652fcb5d7b5eab3012de676a8e7da85c424bb823a53a570f988b5b4b9b3e70 EBUILD awscli-1.36.40.ebuild 3186 BLAKE2B 65b27edf9a080dad4a72a8fb6426840ffb39c57c020d93482c79003438b4b3523e24526c27bc4a186630245535f796454c03f299604eb03707d777cd4bd77099 SHA512 5fac354f14a164645961d81b8731b1a03cde670d69c600cae21b89245564d6f566652fcb5d7b5eab3012de676a8e7da85c424bb823a53a570f988b5b4b9b3e70 EBUILD awscli-1.37.0.ebuild 3169 BLAKE2B 5e19b6d6b837a3f62a7f54c25b76d2dcebbd709ada36d473cee53d0cfc2aa7b3de92cb12db09be4fafbd0b5c303761436b25bf3b4afe16cf0119481959e2b9c2 SHA512 0d30f1cd05a160c7d70f85cc5887d9333b9512421c74d394cae05799229c74c2edb307434f90b64353cd8963b85889546df20e3bf5e7a3fa8953ae2b4a6cecdb +EBUILD awscli-1.37.1.ebuild 3169 BLAKE2B 5e19b6d6b837a3f62a7f54c25b76d2dcebbd709ada36d473cee53d0cfc2aa7b3de92cb12db09be4fafbd0b5c303761436b25bf3b4afe16cf0119481959e2b9c2 SHA512 0d30f1cd05a160c7d70f85cc5887d9333b9512421c74d394cae05799229c74c2edb307434f90b64353cd8963b85889546df20e3bf5e7a3fa8953ae2b4a6cecdb MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab diff --git a/app-admin/awscli/awscli-1.37.1.ebuild b/app-admin/awscli/awscli-1.37.1.ebuild new file mode 100644 index 000000000000..4a8e0ae852e0 --- /dev/null +++ b/app-admin/awscli/awscli-1.37.1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit bash-completion-r1 distutils-r1 + +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-1).z +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 1)).$(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.11.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + !app-admin/awscli-bin +" +BDEPEND=" + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + ) +" + +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 + ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + 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 + + insinto /usr/share/zsh/site-functions + newins 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 +} |