diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-08 10:24:46 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-08 10:24:46 +0000 |
commit | 9263a8dda30106335f556e7f5936f5607db6f92c (patch) | |
tree | 59614d42ee7ac6187fd0c542956f2aa89c39f6e9 /app-admin/awscli | |
parent | d8ae0501eb6c157339ede48ca34513d27470e1dc (diff) |
gentoo auto-resync : 08:11:2023 - 10:24:46
Diffstat (limited to 'app-admin/awscli')
-rw-r--r-- | app-admin/awscli/Manifest | 2 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.29.80.ebuild | 86 |
2 files changed, 88 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 421ac7af6526..ec2af8dfb3a9 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -3,9 +3,11 @@ DIST aws-cli-1.29.73.gh.tar.gz 2569425 BLAKE2B 14950fd5c67726779f621dd039bfb7d3c DIST aws-cli-1.29.77.gh.tar.gz 2572839 BLAKE2B c79219e4c8e711efdfeb8a2f49fe9bfe599581f769643ec7c85fa3ba81c58897bf0b88e02c46705ace0a7ef4e1a5704fe4b702426695675cb1b687c103d286af SHA512 5a88a90cc56f0324f794e8320316b415d21ce6ff12975979e94db632a92746f038387e139887e171102c8a18c4555dec339d2fd5d240b3b31f47fcff2c662f53 DIST aws-cli-1.29.78.gh.tar.gz 2573503 BLAKE2B 6782a7774568adf5296461e19d71b9de992d9301e3d9c50b97c641448ea0fb9e161feb80cdbce50291fce7d37eaabbc92740ca6b26f432cc5b9105233c2949f8 SHA512 455e6cacb935c1075d9730dda3147dc17598ca01ff9224b9a5f0dffa003a10fb3f2f2e17db1aea9e44b353a5fdd1e3b692308b895ba79ef6433804156ba54b1d DIST aws-cli-1.29.79.gh.tar.gz 2574359 BLAKE2B fab1016d0b909c593d5fab7facf23e2cc744bc59c6c9ebbadd239b8920d255fe91e74080ba9a96f262b76b58325adb7a334914dd3a2c2e15842891e9630ec379 SHA512 d4f0fe2db2dcbae2664f7cd27259d83c85e92f126418c57fedf633f84ac783384592a229a9185ae75f804cdf93c3fed01c586a4243ff39ac22389ba847e1726d +DIST aws-cli-1.29.80.gh.tar.gz 2574794 BLAKE2B 0f12c5463d54b11c5222f9ae1fa0d1327402cf4ba8241df720d6e34f4b6d7686627ab105e9d2642d9de115c47e0da6cbebe989d632607bb53528f27360d34d05 SHA512 e9d3676cb6d2e98f077f55faae9db2e67931849ca424828ef0ce36b9cfe9e0c0783100170e3104c0b9ff9336a49c4e1c45f1029059b2e7399a03de4a5630f3bb EBUILD awscli-1.29.68.ebuild 2854 BLAKE2B b471b1f5758613e807ae70018b4066b8998db8dfb251b8cbc31dde9535a2d3f4d66e1ba2f01a4c36e5d3bd1b3dcc77a233c2791e8a290379dfeaa461c845a382 SHA512 7aea2225079104faa2ab0ed6607533e5b7e4ca737b14a8adfd54442c1bcbca4d671ac12ce24f6436048a65f7de78b312b86bd8b891dbb272b8af63949e0ef2b9 EBUILD awscli-1.29.73.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6 EBUILD awscli-1.29.77.ebuild 2917 BLAKE2B 5f0dac57748699c170dd63ec6f898f1023fa8dbf12476c0226860a54728f12ec270da2aa82b72d62449e2f8e10c9915559cf4c5154ffa74ff1cf30ea2d25af6a SHA512 7c70ed461589dbfde1baa7b577cc00b49ce39b67e61e5e3c7a734ba0b32acbe1b4452ef64fc2a5bf5bc4e8fb21980557747b4771dd111a88d0ddaa6a065a7c9f EBUILD awscli-1.29.78.ebuild 2917 BLAKE2B 5f0dac57748699c170dd63ec6f898f1023fa8dbf12476c0226860a54728f12ec270da2aa82b72d62449e2f8e10c9915559cf4c5154ffa74ff1cf30ea2d25af6a SHA512 7c70ed461589dbfde1baa7b577cc00b49ce39b67e61e5e3c7a734ba0b32acbe1b4452ef64fc2a5bf5bc4e8fb21980557747b4771dd111a88d0ddaa6a065a7c9f EBUILD awscli-1.29.79.ebuild 2736 BLAKE2B e66384bff893ea10cb95002752b2adc2d126e1ea88a84f27e1ad9860c50098c9cfefa407fcafb84ef3ba575c669b8fb3c3b08e0ce12e50220b2d49ef7a23bd76 SHA512 ed98a9461b1edbe0f61704cdb69785d63df871a30890cb95ee1f10da78324b18e8bfe4f2c5010ea2429e09ff293ad8b7c1fbf4a3702788d9a9921701f833a730 +EBUILD awscli-1.29.80.ebuild 2736 BLAKE2B e66384bff893ea10cb95002752b2adc2d126e1ea88a84f27e1ad9860c50098c9cfefa407fcafb84ef3ba575c669b8fb3c3b08e0ce12e50220b2d49ef7a23bd76 SHA512 ed98a9461b1edbe0f61704cdb69785d63df871a30890cb95ee1f10da78324b18e8bfe4f2c5010ea2429e09ff293ad8b7c1fbf4a3702788d9a9921701f833a730 MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab diff --git a/app-admin/awscli/awscli-1.29.80.ebuild b/app-admin/awscli/awscli-1.29.80.ebuild new file mode 100644 index 000000000000..e5b1ee0667a3 --- /dev/null +++ b/app-admin/awscli/awscli-1.29.80.ebuild @@ -0,0 +1,86 @@ +# 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 + +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}] + ) +" + +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/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 + ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest "${serial_tests[@]}" + + local EPYTEST_DESELECT=( "${serial_tests[@]}" ) + # 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 +} |