summaryrefslogtreecommitdiff
path: root/app-admin/awscli
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/awscli')
-rw-r--r--app-admin/awscli/Manifest2
-rw-r--r--app-admin/awscli/awscli-1.29.46.ebuild78
2 files changed, 80 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index b752a735670a..9f99d8269ee2 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -8,6 +8,7 @@ DIST aws-cli-1.29.42.gh.tar.gz 2517766 BLAKE2B 88f70820385eb6930b8f4cc3724c38230
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
DIST aws-cli-1.29.45.gh.tar.gz 2531194 BLAKE2B 458c6a847c67fdaa882154bcb0bf2744c5f15d811d82c1da221b9fbd10c300efe1ba58795bddd991e2768056b369f428efeff690fc0323ab466ee0f6c10066b8 SHA512 e34730f78b2580637fc64ba1e905ec8b3b107031d0a2fcf6baf0805ede2f8861ec32ee4b43b77d68acd74d2d2d8f88cd8286b9025dc346fe04d0168987a411e5
+DIST aws-cli-1.29.46.gh.tar.gz 2531529 BLAKE2B ece1fe47627f1034a8e4c29780cef8b9055776d9477a4bdf63e06e461391ebf712609dc007c68de5c42906e1a02606399bec2ec83045f86797c33051e72316bb SHA512 345832da8b760be4bb27c5f32ac1ffad14369fb1ebe4da7587308f3f3978cc7a8042e34e887300e7d1626e38c6fba1e213f623a8ad717372d381ea3c0ef95b3d
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
@@ -18,4 +19,5 @@ EBUILD awscli-1.29.42.ebuild 1911 BLAKE2B 01f63751aa4df11832a25c3ce256de60b80d48
EBUILD awscli-1.29.43.ebuild 1911 BLAKE2B 01f63751aa4df11832a25c3ce256de60b80d4842d06670f346a921a6ba520686a4fa00a090aa5c6f8514e78e47512a1f2cb6f1acc5ff738b7803158710b0b28f SHA512 0e3920cfd0d9be1aba24eb714837d558016ccc7cff2f58e7b9a772ecd318d56880ac9b04a8647d2ee83de8437781418f8e63a1f5e913718a64ddb0a860e57cc7
EBUILD awscli-1.29.44.ebuild 2209 BLAKE2B 780bf6dd2cc61d02f3794c499bec6497b0c715a7427e11773d715be7f04458c349f9eec08420795a88478bfc6155d031eada9aae68995714813c867c707f0926 SHA512 a129feaf2ed7b420c698a4d3ad12622ee7f3e467d8aea80a4fa75c2700ac4861e70bca70729a6dfc0d1ac22195b425185a70d26835f64db460f943fcb0f83a51
EBUILD awscli-1.29.45.ebuild 2209 BLAKE2B 780bf6dd2cc61d02f3794c499bec6497b0c715a7427e11773d715be7f04458c349f9eec08420795a88478bfc6155d031eada9aae68995714813c867c707f0926 SHA512 a129feaf2ed7b420c698a4d3ad12622ee7f3e467d8aea80a4fa75c2700ac4861e70bca70729a6dfc0d1ac22195b425185a70d26835f64db460f943fcb0f83a51
+EBUILD awscli-1.29.46.ebuild 2209 BLAKE2B 780bf6dd2cc61d02f3794c499bec6497b0c715a7427e11773d715be7f04458c349f9eec08420795a88478bfc6155d031eada9aae68995714813c867c707f0926 SHA512 a129feaf2ed7b420c698a4d3ad12622ee7f3e467d8aea80a4fa75c2700ac4861e70bca70729a6dfc0d1ac22195b425185a70d26835f64db460f943fcb0f83a51
MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab
diff --git a/app-admin/awscli/awscli-1.29.46.ebuild b/app-admin/awscli/awscli-1.29.46.ebuild
new file mode 100644
index 000000000000..401bb2515e83
--- /dev/null
+++ b/app-admin/awscli/awscli-1.29.46.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
+}