diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-08-02 06:38:32 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-08-02 07:21:46 +0200 |
commit | 81ae19d79cd3fe75a4260385a4409fb296f5c580 (patch) | |
tree | 3786e77b058003de3e2efeb68bf4ebd8fd718381 | |
parent | dev-python/boto3: Bump to 1.28.17 (diff) | |
download | gentoo-81ae19d79cd3fe75a4260385a4409fb296f5c580.tar.gz gentoo-81ae19d79cd3fe75a4260385a4409fb296f5c580.tar.bz2 gentoo-81ae19d79cd3fe75a4260385a4409fb296f5c580.zip |
app-admin/awscli: Bump to 1.29.17
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | app-admin/awscli/Manifest | 1 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.29.17.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 6fd3cf4ae8c1..31857ec77602 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -4,5 +4,6 @@ DIST aws-cli-1.29.12.gh.tar.gz 2457227 BLAKE2B 7d9ba5e9fe3425dd4dfaa330323ff546e DIST aws-cli-1.29.14.gh.tar.gz 2495994 BLAKE2B 904bd6cbf5230a277a94f67caa6a6da671a1869c9a031b9eabef30343b9f1f62949609f86291a94955256bfbcb6312138b148dd40693e97f21258dc198395bb4 SHA512 c47972c69da5e1b8263dc6743c13ee6449d6281da26d4dfb9573b70ad01ea1c7e020b2884baf0e508054ceff36a319163b224e23912dba49407ec5bd4243aad2 DIST aws-cli-1.29.15.gh.tar.gz 2496511 BLAKE2B 4fbee2b4f5eda0367437b840dc1cd6ce2505692b9c0ae8dae99f013dc6b8c1f18416851284d75be8d7d7b6ea4854114fd6c2755356321c0cf8ce43886eb86778 SHA512 03b0039bf9fbc2f2e032840e5236901fb5512c80922248f9444c150630f4cb12cab67053f15443a591a80f1eec9218444bff2e29a10889fa2b32a50bae9f1598 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.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.17.ebuild b/app-admin/awscli/awscli-1.29.17.ebuild new file mode 100644 index 000000000000..62c19f3a63fb --- /dev/null +++ b/app-admin/awscli/awscli-1.29.17.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 +} |