diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-11 09:29:30 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-11 09:29:30 +0000 |
commit | 7d6f532c36268a2a8f53fa33c8e547c59702faa6 (patch) | |
tree | 6fd7a5cb102e736fe8969482dbce6c8a98808f6f /app-admin/awscli | |
parent | b4899ed9fc78f45325ef4e2ebd460869e53a605d (diff) |
gentoo auto-resync : 11:11:2022 - 09:29:30
Diffstat (limited to 'app-admin/awscli')
-rw-r--r-- | app-admin/awscli/Manifest | 2 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.27.7.ebuild | 80 |
2 files changed, 82 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index f46d3d1b1a46..b2a3d61b4c0f 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -12,6 +12,7 @@ DIST aws-cli-1.27.2.gh.tar.gz 2295292 BLAKE2B 6a2bf1e05b8e72880c8f2337da4fbe6dde DIST aws-cli-1.27.3.gh.tar.gz 2295495 BLAKE2B cd396d324f2a7c81df2488e61cd021819d2498fbd1ff58f7e75d24f523df7d17f463eb4133339f429be4f8b1e3ae4eab20dc0bf45b140c2aaa7a91d576f9274e SHA512 6efeae8478486073aac0ebbf56ea10cf337b06be6b2306ebbbc489600e52fac28f4c95f8b8435f5e3a9a9342da59c9ca164a019d04ec17363ecbba533a53d7d5 DIST aws-cli-1.27.4.gh.tar.gz 2296705 BLAKE2B 604306821f91decf0fb6f88d1115000164f393c8a878b5990ca25a2f8d36972a88832079844656e26f084c729aa0e05014e9ff9ca95d1e820346214f5d1bfde1 SHA512 0753e78e43e3d26fcb906c068e78e23ca3ecfbd4607d1f9d8487922d6a1e6b5598b80b9d2cae6236f6b4724e1667b51132c90b66eec7c427ca35aa6f7b3c5f24 DIST aws-cli-1.27.5.gh.tar.gz 2298711 BLAKE2B 190b2483cf09d4eff2848cc0933a957ae0f6e8fc88a24bc5a0bc637d6c659427fa4145a5509a6fea731fc0f5e09979d8714bdbb0627c0257db4ceb6bd5e09eb9 SHA512 b147660b72604ed29bff27d76ead2018c3c924339472a6499b4553cbb439d239bef11c6ab24a34303b01407da94e79fb5e3729576492340cf097399a637713c0 +DIST aws-cli-1.27.7.gh.tar.gz 2299694 BLAKE2B 9a68f642120506d1b7f002a261961f40c0b91c43a10e2522f9162ad53ad70a0b8054d9c2accc7d6267c1ff3460970b05c90d0e21a7590a084e82df553a478a9b SHA512 067d7d0491ff9f83be84e709570a9e6ed8e6cdbe47698c0924c2c776fa6b682cf130e7e0b0569e68b94a92e5fee84c60cdd02ad570e262dca81cf644a168e6ac EBUILD awscli-1.25.89.ebuild 1856 BLAKE2B 554e1053c19d16d4e0aeccddbd3a49b42ab412ba342ddd888b11552f1abede7a405f743edbabbda0cb4d42dfc95c0f29da64aab08d09c0cf3b24b0771438f23b SHA512 563c00bd712002ea3b3771e7f6c2f27b478fb78cd91b1009cf498e487b81c8abe04e754873f77f625e56594f34e282307c325cc6609bee2f6e856d0e461aa252 EBUILD awscli-1.25.97.ebuild 1858 BLAKE2B 1ee53dfc682ba96eb15476dd37b44e1e0833eee35faf61ccad6f24f402a9eb18590e19cad2faa40e11490c13db91f2609859cdd4bcc5caae36a89cecea3143dd SHA512 8370816db2c51b0e6146a031ea1100b47fede8d1ceb82104206f0a55ffbe995a1792d6872913e0d72497b4726f763816ba77c6215441c993554d3065a5f9d3f6 EBUILD awscli-1.26.0.ebuild 1843 BLAKE2B 1c4942076455cb7b7f201cb909bb946c5ee231bbe589efdf2d58074413ff88fa08afec6c5b0d485bd5b24f0b997857acb0cf25eff2e78e7fca11ff2700c5164c SHA512 e1b7932cd3fb4de8d18b62c8d3cff4c0620b5997bd1a4739ccbd6914a969958eddde42ff99aeb819a3b68674c15f5cbceb768c210f5f4f8fdfb082642ca6636a @@ -26,4 +27,5 @@ EBUILD awscli-1.27.2.ebuild 1843 BLAKE2B 1c4942076455cb7b7f201cb909bb946c5ee231b EBUILD awscli-1.27.3.ebuild 1843 BLAKE2B 1c4942076455cb7b7f201cb909bb946c5ee231bbe589efdf2d58074413ff88fa08afec6c5b0d485bd5b24f0b997857acb0cf25eff2e78e7fca11ff2700c5164c SHA512 e1b7932cd3fb4de8d18b62c8d3cff4c0620b5997bd1a4739ccbd6914a969958eddde42ff99aeb819a3b68674c15f5cbceb768c210f5f4f8fdfb082642ca6636a EBUILD awscli-1.27.4.ebuild 1844 BLAKE2B 7f8265feaccca47c18e706c8f216be88116d7bb0e406e5dbaf1a4d92826de02fb80b522daebbadca297d26fb5e84a9d2739c998ddf8ae736c304c4b046df7b87 SHA512 17fbf378dd5bf9afe1fdb2d6d7e22d610eaf863063d751a68c76bc1cf9e3c2896ba6b4c44a15e5d2aebb5e0881553d2031e378e9026bb517921cef677e917066 EBUILD awscli-1.27.5.ebuild 2261 BLAKE2B 8db2f30612572dabd673c4b33fb8fcf3005bc3aa7762c3abbbf12ffe50bb51f9b46a043d4b849682bfb585e0638b9f8a0849b241807516b442e013085bf2f1ad SHA512 03816a71b8cf31f9bd659cace763b9143a8700290f3cee354ead69fa3333f6faa47a9769db433bbf17f5cd7a76f27bfd1a4df8bdfbdb5bd393eb4e69e7ee882a +EBUILD awscli-1.27.7.ebuild 2261 BLAKE2B 8db2f30612572dabd673c4b33fb8fcf3005bc3aa7762c3abbbf12ffe50bb51f9b46a043d4b849682bfb585e0638b9f8a0849b241807516b442e013085bf2f1ad SHA512 03816a71b8cf31f9bd659cace763b9143a8700290f3cee354ead69fa3333f6faa47a9769db433bbf17f5cd7a76f27bfd1a4df8bdfbdb5bd393eb4e69e7ee882a MISC metadata.xml 334 BLAKE2B 84c9f50e6c0d015aad36a7f625cddf90cf1137a8c2d445cc641cd4890d64261187c10fde59ee1a6c19b98cfdb6ff534c66ae7a7a48a00ec62d6984c9a1891750 SHA512 a845de531df2cd75abf23cdbfa613e586855b95ac4e96566ef193708d7ecf2ec7f7db72fd31b8af0ac4ccd57e51da9c6d129d426bfdc6c4feb57d7df8647f160 diff --git a/app-admin/awscli/awscli-1.27.7.ebuild b/app-admin/awscli/awscli-1.27.7.ebuild new file mode 100644 index 000000000000..9bcb01ac11e2 --- /dev/null +++ b/app-admin/awscli/awscli-1.27.7.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 ~arm64 ~riscv ~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 +} |