diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-20 13:51:21 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-20 13:51:21 +0000 |
commit | 4161fa7d1be6dac96e36f8ed343f234a8ef3a74f (patch) | |
tree | ee6d7260a8c03fb6191fead616b7dd50f07a7aa4 /app-admin | |
parent | ef4d67f1907798e309efed58d673fd60594a14a8 (diff) |
gentoo auto-resync : 20:12:2022 - 13:51:21
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/Manifest.gz | bin | 32552 -> 32554 bytes | |||
-rw-r--r-- | app-admin/awscli/Manifest | 2 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.27.33.ebuild | 80 |
3 files changed, 82 insertions, 0 deletions
diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz Binary files differindex c9e849dd7fef..021280887aaf 100644 --- a/app-admin/Manifest.gz +++ b/app-admin/Manifest.gz diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index e7229b097c95..67b579331195 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -2,8 +2,10 @@ DIST aws-cli-1.27.20.gh.tar.gz 2315771 BLAKE2B 6729a6709e2ae3d493700b49dbcb70203 DIST aws-cli-1.27.29.gh.tar.gz 2325759 BLAKE2B 693131da782ce248a00560617d3d1cd57e1dcac20ba8a6a560b5a1c06c7f6b18576efd4e0a2151d538e28b3f59593ded609e8fea3d29bce9f91bc270f888e23a SHA512 828a3fdda0b3156c1b09ed53b5c2c6486857bdd1e4e3d5cfd77e817bc6c1e53e1ff3f7ddf83c55e8ca93b2944f37333244adffa0f3b9416b1c4197db9b364dde DIST aws-cli-1.27.31.gh.tar.gz 2327529 BLAKE2B 5c274358df6ed3081e945f21aac184fb774cc4b5d621954f4c4b88996252c3edb0b9c76d6aaab1f5273f0c2db1d19a7d5a46f3c1915190e7d5c141e9cfcf908d SHA512 37b295265d32e8ca73f3b16c4225027df8b735c39a930ad64db9590737da0e9407560fb82514417a0f7b42692fec27c8b949f91c973e719199c9767ff613559d DIST aws-cli-1.27.32.gh.tar.gz 2328348 BLAKE2B 0958525a47f6dac8422dd37c9e099c2bf48d4bb5a8897673d18bb5b747dc6a0806d71cdf92899daf768ffa7cf9b7d39fe559cadad46eabc7913130d98c578d75 SHA512 db034e58761368a72e5a233e49e6c904281635fb47384f984b2ead1bd285bdb0af1a7e7b76d77ddaa6d19496ee1add756e1dbc43044aab1ba2b1f09232a112c9 +DIST aws-cli-1.27.33.gh.tar.gz 2330168 BLAKE2B f5edc8494ba8b66c9819dd2b9182ab3bbc1f91c1114222e53ed890706c7d6c63adf31f754d85526c01459d3910b7cde5cb38f7e29c1821f086d3b94b9003eaec SHA512 d5e0e18804c7cbc549ba8d8cf4fa6a180f78f0681d09955e96874e0a67a3c3de2a1397995a62a9df14b08425feef6d625ae61522dbe38a62ddf9cb7e72d786d4 EBUILD awscli-1.27.20.ebuild 2278 BLAKE2B f4f49e0d5fb6023363e07a0b1f520b1d37adfaa54bcf2bc64944e5f9274441de180bd50165dd0fcdebc8242cb4ca9d508ca5f7ad833b65934b9666f44382005b SHA512 2e4deaaad93718512fa5efc816e4bd2e20710bf7956c29423e6a8a437cea276625872d80cf0baf809d36f4958ff83bca8358ead7e62ff4d95b2321913277486e EBUILD awscli-1.27.29.ebuild 2285 BLAKE2B eb1371b1415262f2bde8422cbb8893720d81e7afc0d65d48c37b6ff27e52661713b542d6e57424e2dee0ca8a610bb644ec4b5bf2edde67649492b421562dbbbf SHA512 12a97cd2087bb66006dd1d49b7fdca4df723071cd5e68a592839bcb5ac1f9059e26d7383e8603da359486ac2cb53a722c8a569a4608073585d9aa4ade528ce3d EBUILD awscli-1.27.31.ebuild 2285 BLAKE2B eb1371b1415262f2bde8422cbb8893720d81e7afc0d65d48c37b6ff27e52661713b542d6e57424e2dee0ca8a610bb644ec4b5bf2edde67649492b421562dbbbf SHA512 12a97cd2087bb66006dd1d49b7fdca4df723071cd5e68a592839bcb5ac1f9059e26d7383e8603da359486ac2cb53a722c8a569a4608073585d9aa4ade528ce3d EBUILD awscli-1.27.32.ebuild 2285 BLAKE2B eb1371b1415262f2bde8422cbb8893720d81e7afc0d65d48c37b6ff27e52661713b542d6e57424e2dee0ca8a610bb644ec4b5bf2edde67649492b421562dbbbf SHA512 12a97cd2087bb66006dd1d49b7fdca4df723071cd5e68a592839bcb5ac1f9059e26d7383e8603da359486ac2cb53a722c8a569a4608073585d9aa4ade528ce3d +EBUILD awscli-1.27.33.ebuild 2285 BLAKE2B eb1371b1415262f2bde8422cbb8893720d81e7afc0d65d48c37b6ff27e52661713b542d6e57424e2dee0ca8a610bb644ec4b5bf2edde67649492b421562dbbbf SHA512 12a97cd2087bb66006dd1d49b7fdca4df723071cd5e68a592839bcb5ac1f9059e26d7383e8603da359486ac2cb53a722c8a569a4608073585d9aa4ade528ce3d MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab diff --git a/app-admin/awscli/awscli-1.27.33.ebuild b/app-admin/awscli/awscli-1.27.33.ebuild new file mode 100644 index 000000000000..caea725bbca7 --- /dev/null +++ b/app-admin/awscli/awscli-1.27.33.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +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.6.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=( + # TODO + tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple + tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only + tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing + tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid + ) + + # integration tests require AWS credentials and Internet access + epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked +} + +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 +} |