diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-09 10:33:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-09 10:33:02 +0100 |
commit | 6440e1dd038e7df4f9df7dd5127d3b1c6f39034e (patch) | |
tree | 122c8899fbcce481ff7c1deb35c872f0236affa9 /app-admin/awscli | |
parent | e7bc5cacb1abeb6806d255e2a817ab4dcb5f52b8 (diff) |
gentoo auto-resync : 09:09:2023 - 10:33:01
Diffstat (limited to 'app-admin/awscli')
-rw-r--r-- | app-admin/awscli/Manifest | 2 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.29.44.ebuild | 78 |
2 files changed, 80 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 112774d32078..f5c4363330c2 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -6,6 +6,7 @@ DIST aws-cli-1.29.40.gh.tar.gz 2515692 BLAKE2B 1d7b93da39719ddd4813973f9b06f9f97 DIST aws-cli-1.29.41.gh.tar.gz 2516949 BLAKE2B ae8b2c2c47b72832a038e883fdc6e15d2b59ac520203a21a1093f29d84131d054457700e59d3184768d1040f84708a73c4dac85fe2b1e99e121924c03f9b1ded SHA512 c48d16c577d4d3ac1038f33c716db6b9a61241a595b37105cde0841c84a3157f3004aaf8fd1ff95ef9b64837f8ab4c50cd875cd36154b4285bf01315b817b283 DIST aws-cli-1.29.42.gh.tar.gz 2517766 BLAKE2B 88f70820385eb6930b8f4cc3724c3823019ce3de419689a7d2b400ec1ee66cb76d325cfc2ad6d5ad740003f2ce53fff198f470e69b79697f17b52430e8cc704c SHA512 3e37c45189531045a44e9b6295a1618f3fa321c89681956e362dc7675e94616a33734e8aa644e6e2236f72979bd8f1a7ce5d95e70f684bb14c2e9a5bd1c2aefb DIST aws-cli-1.29.43.gh.tar.gz 2517922 BLAKE2B 958a60e055ad83b8ed69ff0cb217d75bf7b2714fcffd1ad56c9929502c698d5d98f421d6bb7c34b9134c5a8ef8b792f2077ebb862e1b9f805eccf7a1acac9003 SHA512 9ce4b4cdee3dbbf6c75ed222fe1f34504a1b7d7ac3dfde18e4b341044a6f522653995bfda9dd891c84bf05672e62912b370060b6b7f77aed12c38bd5e9a06067 +DIST aws-cli-1.29.44.gh.tar.gz 2530834 BLAKE2B f2cb6eb13deb07b3f4ad3e7c5cea71d716092ac96a92201ddc0703d1a1031843900d697be1bceee1d05bd5443ff2ef6086717e97b49c3e550f53307823b3efe3 SHA512 0ef736b2ef43822f66da01ee4090df18b6e837b4a37b86ac0bdf45742eda0ec2f7b9bdd494d3642585088cfcb4dfec8b2a46b3b9ae76aa427fff6c8e82353826 EBUILD awscli-1.29.30.ebuild 2278 BLAKE2B a074ad11e996c7c4e5c0366e5e5d3856cb1bdd7984b8eaf9ac959108e0c5737b064be5d7a579f46669403efb0c3111e8814570f041106e920102cf2a6ddf3687 SHA512 060c06ae5d2295b74940bc86eabf279eeb7a81f7cafa4a9d89e9af8076feff5a23cc3f9bad5a631e75155af64b948abe4c0de7283883a53d4b1ee5791765176b EBUILD awscli-1.29.35.ebuild 2285 BLAKE2B ab176af730bcb3713594ac424ab29325c2cb24b8136e12ac6e18cf1648c8fa81e256eab0c708077e2c5423d1592594bb842383614e9114e728703e8cc8964252 SHA512 423fc2ef82036643a93eebded5fde267beb70f6278f06faa7e4c5ea221351aefe5bdf7c6469e57c49caab603ae1aa58fb514339c65891995cef614e698e9d997 EBUILD awscli-1.29.38.ebuild 2285 BLAKE2B ab176af730bcb3713594ac424ab29325c2cb24b8136e12ac6e18cf1648c8fa81e256eab0c708077e2c5423d1592594bb842383614e9114e728703e8cc8964252 SHA512 423fc2ef82036643a93eebded5fde267beb70f6278f06faa7e4c5ea221351aefe5bdf7c6469e57c49caab603ae1aa58fb514339c65891995cef614e698e9d997 @@ -14,4 +15,5 @@ EBUILD awscli-1.29.40.ebuild 1911 BLAKE2B 01f63751aa4df11832a25c3ce256de60b80d48 EBUILD awscli-1.29.41.ebuild 1911 BLAKE2B 01f63751aa4df11832a25c3ce256de60b80d4842d06670f346a921a6ba520686a4fa00a090aa5c6f8514e78e47512a1f2cb6f1acc5ff738b7803158710b0b28f SHA512 0e3920cfd0d9be1aba24eb714837d558016ccc7cff2f58e7b9a772ecd318d56880ac9b04a8647d2ee83de8437781418f8e63a1f5e913718a64ddb0a860e57cc7 EBUILD awscli-1.29.42.ebuild 1911 BLAKE2B 01f63751aa4df11832a25c3ce256de60b80d4842d06670f346a921a6ba520686a4fa00a090aa5c6f8514e78e47512a1f2cb6f1acc5ff738b7803158710b0b28f SHA512 0e3920cfd0d9be1aba24eb714837d558016ccc7cff2f58e7b9a772ecd318d56880ac9b04a8647d2ee83de8437781418f8e63a1f5e913718a64ddb0a860e57cc7 EBUILD awscli-1.29.43.ebuild 1911 BLAKE2B 01f63751aa4df11832a25c3ce256de60b80d4842d06670f346a921a6ba520686a4fa00a090aa5c6f8514e78e47512a1f2cb6f1acc5ff738b7803158710b0b28f SHA512 0e3920cfd0d9be1aba24eb714837d558016ccc7cff2f58e7b9a772ecd318d56880ac9b04a8647d2ee83de8437781418f8e63a1f5e913718a64ddb0a860e57cc7 +EBUILD awscli-1.29.44.ebuild 2209 BLAKE2B 780bf6dd2cc61d02f3794c499bec6497b0c715a7427e11773d715be7f04458c349f9eec08420795a88478bfc6155d031eada9aae68995714813c867c707f0926 SHA512 a129feaf2ed7b420c698a4d3ad12622ee7f3e467d8aea80a4fa75c2700ac4861e70bca70729a6dfc0d1ac22195b425185a70d26835f64db460f943fcb0f83a51 MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab diff --git a/app-admin/awscli/awscli-1.29.44.ebuild b/app-admin/awscli/awscli-1.29.44.ebuild new file mode 100644 index 000000000000..401bb2515e83 --- /dev/null +++ b/app-admin/awscli/awscli-1.29.44.ebuild @@ -0,0 +1,78 @@ +# 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..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=( + # broken xdist (signal() works only in main thread) + tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success + tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success + ) + 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 +} |