diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-12 04:04:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-12 04:04:10 +0100 |
commit | 3980ecf15e6202ac2f2015045b549600e709b721 (patch) | |
tree | 6f854410381fa9d52df5a548314626b48329f1c3 /app-admin/awscli | |
parent | 61af1efe96cf1037982d2fc90af0749b5ec5a0c6 (diff) |
gentoo auto-resync : 12:10:2024 - 04:04:10
Diffstat (limited to 'app-admin/awscli')
-rw-r--r-- | app-admin/awscli/Manifest | 2 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.35.4.ebuild | 91 |
2 files changed, 93 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 4033165bffc5..f3eda619867c 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -8,6 +8,7 @@ DIST aws-cli-1.35.0.gh.tar.gz 2806480 BLAKE2B d607933a9baa0e50ab8d809e0ecb68681e DIST aws-cli-1.35.1.gh.tar.gz 2806870 BLAKE2B 93728164035382e95bc3a181b2f36b1c6509abf7084efa8210518ddd1d5c38343b860eef5e69e0faf6119445060c9281a29c5e6c623b8ab5d25f5cefb85d989b SHA512 86ddb82f2d22e5c330a6cac58568eda63065f4b77621534040203866825e97df583d1d5637b7b12f8ffac68e9f42e79d2c0a1f3abb192c121a8fc8bf773fc5e5 DIST aws-cli-1.35.2.gh.tar.gz 2807621 BLAKE2B edaa14c648871d2d769ba90305d6c545710ade9c4724cd698c32b9c83a0611808e6fbae1dc052da5656804314dcc34479cddfac770997e2123c6afcabe82cb64 SHA512 148a203860e03a630bfcd4a6f1bc39be70bc9180e06fc6f7380d1a7678365a4d94de89f138bec7430575bfd84ab490020d72a735796b41a91f2caf4164abeee8 DIST aws-cli-1.35.3.gh.tar.gz 2807624 BLAKE2B 31e2be1970828517b20e6fafc3d4d2c759ff95c5cfee3ed4f1544d15e5f239559db84b5a5989e041cf075d2b237a973725126b3dd459733ffdce533d9162b30f SHA512 37379490fcb86a1973f040730b4b34b572a24be6f51c42476e10db9a83121da36eb4d0cf0e57015212a97471b9d2b9bd892dee654c2585c2d166ff4f7b74516c +DIST aws-cli-1.35.4.gh.tar.gz 2808228 BLAKE2B 14156c4bd8fe25e192ce55f0d6e9349a9b21d5aa059453c4217481fe5c2f294950e20eaac9f6701ae1832f022642bf55da10477ad987cb1124e044c8d6705e46 SHA512 6073dc611eef727776e487d53693b7150160b3b1fb5e1e83ca37bcee3602c944affb7f378c627de5dc1da239510d3ed2a4b76d434bc0d70a0743f51550ffa9f1 EBUILD awscli-1.34.19.ebuild 3023 BLAKE2B d02d93dd9b37902da1a0555b84ef0fab8f1179c2983d783717f9e2f3cd55d72b07ed1164c263aec3706f6a69d1265ecf439ae95ff273c215416ba73a117ae0a6 SHA512 d9e7f35c8346a432ea2b6067908620b0cc6527fa21e5c8c5bfef2878fe656603a0cd8fbc7479e3ff4dbad655eb8d19622097409de3f80a55986104932103f1e1 EBUILD awscli-1.34.24.ebuild 3030 BLAKE2B caff93dffa12da6e0698e0c392d5c54288b22335b9ab6568d5c21cc9a894c952489cce772f5b34be10825a6066920e34c8766dfc4a4a96b2c801233049de7d82 SHA512 127fd2aef4d38ff566bc470dad93552291abd3ae7f1a3bc81f8ef5ef331eece6519d53c6c1e89fcddbdb3566ede964e502b752a7f7076baeb09eb3141f726ab0 EBUILD awscli-1.34.29.ebuild 3030 BLAKE2B caff93dffa12da6e0698e0c392d5c54288b22335b9ab6568d5c21cc9a894c952489cce772f5b34be10825a6066920e34c8766dfc4a4a96b2c801233049de7d82 SHA512 127fd2aef4d38ff566bc470dad93552291abd3ae7f1a3bc81f8ef5ef331eece6519d53c6c1e89fcddbdb3566ede964e502b752a7f7076baeb09eb3141f726ab0 @@ -18,4 +19,5 @@ EBUILD awscli-1.35.0.ebuild 3032 BLAKE2B 9a661418bff83e0179259efa93dddefd5f74368 EBUILD awscli-1.35.1.ebuild 3032 BLAKE2B 9a661418bff83e0179259efa93dddefd5f743681f8f6858bf6121e5f97e7454396cb7471807faa8747e34e63ee6ff3aa26dbb98cd213bff9aff3ddaad91b1c77 SHA512 b283c5794d8a084464c6cff8d348d1352ec08a96735245bb77676b9572b523b3b462ff0304960d8c481df9a71380a236a44687c1a3fc3f69b1ea812618df05f4 EBUILD awscli-1.35.2.ebuild 3032 BLAKE2B 9a661418bff83e0179259efa93dddefd5f743681f8f6858bf6121e5f97e7454396cb7471807faa8747e34e63ee6ff3aa26dbb98cd213bff9aff3ddaad91b1c77 SHA512 b283c5794d8a084464c6cff8d348d1352ec08a96735245bb77676b9572b523b3b462ff0304960d8c481df9a71380a236a44687c1a3fc3f69b1ea812618df05f4 EBUILD awscli-1.35.3.ebuild 3141 BLAKE2B 5c14d1ada2a8692c95bc6975412782283583a98ea26a5ae45940f7451aabac59b5cbe4f384fdcf1ebf8bf0face6924215f7b0c1c40c1c2dcb8efa1c043b40a05 SHA512 14a538a63dc521fb224d0f2c2e5e24093fa1195266bb6e00780b2e9268d319eba20db9db6c9327bde131b756076de9f673865d4f49954b7779a5df360a995c34 +EBUILD awscli-1.35.4.ebuild 3141 BLAKE2B 5c14d1ada2a8692c95bc6975412782283583a98ea26a5ae45940f7451aabac59b5cbe4f384fdcf1ebf8bf0face6924215f7b0c1c40c1c2dcb8efa1c043b40a05 SHA512 14a538a63dc521fb224d0f2c2e5e24093fa1195266bb6e00780b2e9268d319eba20db9db6c9327bde131b756076de9f673865d4f49954b7779a5df360a995c34 MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab diff --git a/app-admin/awscli/awscli-1.35.4.ebuild b/app-admin/awscli/awscli-1.35.4.ebuild new file mode 100644 index 000000000000..49e2e891cd54 --- /dev/null +++ b/app-admin/awscli/awscli-1.35.4.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2024 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.(z+34) +BOTOCORE_PV="$(ver_cut 1).$(ver_cut 2).$(( $(ver_cut 3-) + 34 ))" +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.10.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/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32 + 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[@]}" ) + # 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 +} |