diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-08-04 03:36:45 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-08-04 04:41:50 +0200 |
commit | 0086d69d62f0b9bf37dff1d2a4f29ee5131ab03c (patch) | |
tree | 007c1b66006ede9d67929754f3f6a65c592e0466 /app-admin/awscli | |
parent | dev-python/boto3: Bump to 1.28.19 (diff) | |
download | gentoo-0086d69d62f0b9bf37dff1d2a4f29ee5131ab03c.tar.gz gentoo-0086d69d62f0b9bf37dff1d2a4f29ee5131ab03c.tar.bz2 gentoo-0086d69d62f0b9bf37dff1d2a4f29ee5131ab03c.zip |
app-admin/awscli: Bump to 1.29.19
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-admin/awscli')
-rw-r--r-- | app-admin/awscli/Manifest | 1 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.29.19.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 8d2ba10d7642..8c493a5df69e 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -6,5 +6,6 @@ DIST aws-cli-1.29.15.gh.tar.gz 2496511 BLAKE2B 4fbee2b4f5eda0367437b840dc1cd6ce2 DIST aws-cli-1.29.16.gh.tar.gz 2498668 BLAKE2B 04c2be54deb7ffa1756be3c5036039ebef59b7a6e6fc8346b3f88eabcd675b8272835623cc4ab5a29176fac1a9a45268e2cc8b7b056b929f41bc7bebd3f573fc SHA512 7ebea15eea11f12cd25edccc01fcef0a37260ca7f8a2d020af6c014c568b89f8e495251e652d850ee39d72ee782a1818d7bd581dd052b61e44b05d1fc9cc215a DIST aws-cli-1.29.17.gh.tar.gz 2498983 BLAKE2B 094f6139881ac802dc01678979ecf0b76f8bc1d31e3afc19e9bbaf5bd94c3a3e1c539f802165183e5548ad43d342e7f8cc5a6798ae2fd817e46b9b1092c6a2c7 SHA512 e55e216293571f29224514376bd0f1d94b13a823e03eca6c2eef7f9c09265504354ca93440294b17ba9d07d740b62eeb2e5201466886e6b05f3a453c1688210a DIST aws-cli-1.29.18.gh.tar.gz 2499882 BLAKE2B f62d0994be7cfc0f6d11577324dbda5b5b001e252313463a4be7a3be59139b166d4b071f834f6ab9cfb5010d995da10d617e75a0698df048b8da6025a9a5a6a9 SHA512 b958fa2c3c779ac119264068789f3943a72b6b95555f7b0c77aff0487a1a46a91cae6f809a47c0086c2b72445cd92836bc4d952284285d6cc9ee3eaf73aae725 +DIST aws-cli-1.29.19.gh.tar.gz 2500180 BLAKE2B 64bd861ad84157e81ad9d6f2528befb556ba738c92dc81493cd58a073c9b16bda30701914c6bf59dc308093ed32add733fedf6546c701ec1a3f7ea0005ae498d SHA512 cec92149f30937b70e98a89319139a060ffad2cc433b5718ec6ddff9fb64cefa8064dac5a8c429572f0ab520ca2dfaf05f2f1378792c6ad1a19e544e12aef86b DIST aws-cli-1.29.3.gh.tar.gz 2450427 BLAKE2B 6e240905c8fbb2916334c2de0e9fd851636acfbc050916baf971e2f5e5a1d93d398c77c6a1fe0766f701ad53683e5f41b1bb5519e5ac7b5e8f0a64d37e113c34 SHA512 3446e057abcc956e26b55de85383d0d40c041bcfda0f7e566309d80bbd22d567a474d93ab74461e91bdd7eaff1db9c77813912653c7864bcc851d12d2cea8ee2 DIST aws-cli-1.29.9.gh.tar.gz 2454843 BLAKE2B a4e49923aec2d09d8244e58fe737f1a0528956397050b693892b2d4521d4e41956fc2a11f6e8bc0c88d6ea16ae4f7f85276037a7864c989334109ef090623f99 SHA512 2238c70ccaa8e73cedca9a56e4cda48a62b0b26999c481585769872b42517f2a25d80b94cf9e18961c5fb81c9d8fe44bda9dbf6024e31bbc7409d6ce53f1a915 diff --git a/app-admin/awscli/awscli-1.29.19.ebuild b/app-admin/awscli/awscli-1.29.19.ebuild new file mode 100644 index 000000000000..62c19f3a63fb --- /dev/null +++ b/app-admin/awscli/awscli-1.29.19.ebuild @@ -0,0 +1,80 @@ +# 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=( + # 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 +} |