diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-17 10:00:35 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-17 10:00:35 +0100 |
commit | cf89ca044e37f79e2329552cda857215f9824e11 (patch) | |
tree | a6720b1db82c94482ed8a998aa77650c5f723358 /app-admin/awscli | |
parent | cb627578a344c874750e23e7eb59b1acc85aa639 (diff) |
gentoo auto-resync : 17:10:2023 - 10:00:35
Diffstat (limited to 'app-admin/awscli')
-rw-r--r-- | app-admin/awscli/Manifest | 2 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.29.64.ebuild | 85 |
2 files changed, 87 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 7e05871466ae..668442f7eaa9 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -3,9 +3,11 @@ DIST aws-cli-1.29.57.gh.tar.gz 2556732 BLAKE2B 8bbd17041c28e18f1b94421e624e3e720 DIST aws-cli-1.29.61.gh.tar.gz 2559946 BLAKE2B cab7954d50a235051a11978f1ee4316a0324d9b1dd492efc61ba22c1240b6c385e327756789c66b9f67443fe317f0aa464393b1a09abc300117241a6a967f4f4 SHA512 54ccad4f811956663ef68c42c33737d424996237d6dd5486e41c2bfe8b486236ebd60226edda1fcc256c0cc48924632040f163b11d2cba48ab1d16c32c0a114f DIST aws-cli-1.29.62.gh.tar.gz 2560151 BLAKE2B 0aa6dba4dcee72e0d3cbddb62ebcd9405682facfee4ad1348a53a5c09811a7583d7177814265158de0306518b62ae66eade301311c72cd7ddc380201d16ff30f SHA512 cda4bcc0ac535eb007b44e517d22b17cda6518d6db25162cdd0f7b506de449c72add8221d17c6cd145e0029f17c0e183928061e04b7b27274a58d157142ead7c DIST aws-cli-1.29.63.gh.tar.gz 2561207 BLAKE2B 83d1bf59c565ae5035eea0bfff91b2ac41e09cd250916db3bdb52b3cd336c869ca023acddf31418ca4ae81162d6cafb1cb915372d17988a4e616c018fceeb47b SHA512 2f6a699a8e1b3526adc49e88079cf19c7ddb18c6a3653ddb622ef5bc2d00dcbd4b490324e3d30f0911a236d692970072f999216876108fa6967450bc42cb1072 +DIST aws-cli-1.29.64.gh.tar.gz 2561807 BLAKE2B a4423549d6bd5789ebbd027febc411a7ab5be46bbcf1b407dc40fa95005c00bf413205c47099bb17e1f26f9d693a1af34479cbf29881dfa1544c42cc5193c0d6 SHA512 1238881d78483f7e5bd06c4653471406f7c5da8904bf5ef1a9fa3c4f8b44138313289ea626e411b2827b89a779bd1990a99a43b909b59ba022f95e38b3a025ff 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 EBUILD awscli-1.29.62.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6 EBUILD awscli-1.29.63.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6 +EBUILD awscli-1.29.64.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6 MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab diff --git a/app-admin/awscli/awscli-1.29.64.ebuild b/app-admin/awscli/awscli-1.29.64.ebuild new file mode 100644 index 000000000000..941051349113 --- /dev/null +++ b/app-admin/awscli/awscli-1.29.64.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 +} |