diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-20 09:50:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-20 09:50:23 +0100 |
commit | 547caa904733bc2a3ac112415990a114ecbe8824 (patch) | |
tree | b8976d40b28d2cb015e3c07254aee99fe0ad655a /app-admin/awscli | |
parent | 9346d46d1a9e0399ca3a4d3eb40689d0daa58ebc (diff) |
gentoo auto-resync : 20:10:2023 - 09:50:23
Diffstat (limited to 'app-admin/awscli')
-rw-r--r-- | app-admin/awscli/Manifest | 2 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.29.67.ebuild | 85 |
2 files changed, 87 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 2d9c2f9d61b7..cdf4faadbca2 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -6,6 +6,7 @@ DIST aws-cli-1.29.63.gh.tar.gz 2561207 BLAKE2B 83d1bf59c565ae5035eea0bfff91b2ac4 DIST aws-cli-1.29.64.gh.tar.gz 2561807 BLAKE2B a4423549d6bd5789ebbd027febc411a7ab5be46bbcf1b407dc40fa95005c00bf413205c47099bb17e1f26f9d693a1af34479cbf29881dfa1544c42cc5193c0d6 SHA512 1238881d78483f7e5bd06c4653471406f7c5da8904bf5ef1a9fa3c4f8b44138313289ea626e411b2827b89a779bd1990a99a43b909b59ba022f95e38b3a025ff DIST aws-cli-1.29.65.gh.tar.gz 2562601 BLAKE2B 4c88ae2dcd37685f6908e027dc960d14e08f268f4f0784763b2e371f598d848c055847e27540c14d1ac745e4d87ce894e1e5a375c46ea522c384cb377146816a SHA512 b2bbcb989602be9b4f513cf8c0feddd2c680d005568d0f82a82206ebf13f2235fd0650d85502738bd0f2410e5a006d14fafa1873b7d9ba453843e8f055985a51 DIST aws-cli-1.29.66.gh.tar.gz 2563105 BLAKE2B 547b401269b8ea5431c3ff831c513306fa4d4c9fe21a15cba74528e460e626b900f0e29ddcb93c6735d1b85f8ad89528de576a87c0bcc2f31147f047add2449d SHA512 1114e1c2279d59ee1396716ccc619e8073ff425c1eaa88cf7ee5274ebfac0361646ad8d17a4a4bc565714e5dbd6537767d91ea039fa163761cb7f38c20760c24 +DIST aws-cli-1.29.67.gh.tar.gz 2564759 BLAKE2B d73e71c37372a2bef0c2338b38d67f52e15619d3611cd664111d173e31e8ab9b3d87dbd0d1e94f7df3cbb0005410dadc748c95042143c7a0822705318e1ac25c SHA512 c9651ba2db96e4823aa7a3cdc9a3632f666dc3589e15f16c82fce7eb9b21a59468912f330255b379b47dec0c25c5c9d05536e61f4036a64259534860081e8e5b EBUILD awscli-1.29.53.ebuild 2804 BLAKE2B f5472cbd2dedb555c4968eff148a3e63d0395304b3d02dbc59b56bb593b7fccd64022b69a94c5e4bc5e2b0965fdc75f32beb5151ef379f98ef65d94e109fd340 SHA512 1d1359b9f28290a17fc18b2b36ded73b09edf0f80c1a6757b4f87c7b7229700decf2adf660747303820fb4ef3978ed9ca9e34427bd67ceed6312c3c0ec07ef75 EBUILD awscli-1.29.57.ebuild 2861 BLAKE2B 3ac893eb2acd11e495d7e47587d00a5202694121686bf8de22d12257e67732d40639e9eae491eb26decf1ed575f2fe4be2e9d9fae03985ef21aca2921fb8a4d6 SHA512 ce0a4719a8fefb6944f1cfa0e7f60791e3ff8518eb8c770942ec11d931f0e5da3ca39ae27b264ece301a422dc19b6fa7f97b914c91f4d5a767b5672ae11bfbbb EBUILD awscli-1.29.61.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6 @@ -14,4 +15,5 @@ EBUILD awscli-1.29.63.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce EBUILD awscli-1.29.64.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6 EBUILD awscli-1.29.65.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6 EBUILD awscli-1.29.66.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6 +EBUILD awscli-1.29.67.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6 MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab diff --git a/app-admin/awscli/awscli-1.29.67.ebuild b/app-admin/awscli/awscli-1.29.67.ebuild new file mode 100644 index 000000000000..941051349113 --- /dev/null +++ b/app-admin/awscli/awscli-1.29.67.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit bash-completion-r1 distutils-r1 multiprocessing + +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 +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.7.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + !app-admin/awscli-bin +" +BDEPEND=" + test? ( + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +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 EPYTEST_DESELECT=( + # broken xdist (signal() works only in main thread) + tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_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/test_compat.py::TestIgnoreUserSignals + tests/unit/test_help.py::TestHelpPager::test_can_handle_ctrl_c + tests/unit/test_help.py::TestHelpPager::test_can_render_contents + tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignore + ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # integration tests require AWS credentials and Internet access + epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" +} + +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 +} |