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.31.10.ebuild88
2 files changed, 90 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index 5505ee06dfd4..d3f42ffb1e54 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -1,11 +1,13 @@
DIST aws-cli-1.30.3.gh.tar.gz 2594517 BLAKE2B 67ffda10491b734a15119ed3963735e53a66d868954e908816ef918b0adb706ef23337a4dde76758bb1fc957be8a6794106c2d26b9865a9e9dd6e11cc70c4016 SHA512 9b9474a6206cecd0d9f15aabf1c94421aabf4b0ea2d5c829e59747d5fa68093e6f79b0e554ea1dfb891774a0ab49d1143cd582521bd21735e209b40f040973cd
DIST aws-cli-1.30.6.gh.tar.gz 2596217 BLAKE2B 3b4cbd540ede2826d212233e76a4431f090fdaa1848f3ddd5e52c3d637e8ccb6ed406072b5b4b3f62b67a29a995d984bfcf1f961915594459e52199dba2341b8 SHA512 8273d234428eb42e8845052c4122e06bb6d0693d2878296a101fa3ce72c5690787c6151aa8f819db83fe36f5263d14efd1e4b469494da8994d47d1f213c394b3
+DIST aws-cli-1.31.10.gh.tar.gz 2606573 BLAKE2B 082613aa9b2c3129b578c1d773d68b219608edde6a995d1c11d68852eb9cc37e9134d3d9fe1a6ebf8ac09623b39e6537780c8b967200f5659e298f3f400caa55 SHA512 fb2bc8a378672bf4251d964621a902964dbb1c34d631a51ba6a1b3c18b7d8a59102b1d142d23ffd2392b454bebf2778a1191b55712de59fdcb737e0ad5df38d1
DIST aws-cli-1.31.6.gh.tar.gz 2605365 BLAKE2B 30e7789a2a4f47b3b4dce9fb3c8083d56ebec8501d66fa03e34309c1c9e0c6302ce79c044fb1aecd879f2784443db5a9927bfb1c22e94883709600f0e1c538b4 SHA512 5da1be164d4e52b255093c0685b4add43a21b2f0259a6ad9b6e6bc1c7bbb17e1ee0db0f6b29ff0227b301d7f66e1d63b3d92047ccef5578b9de6b5579319be6c
DIST aws-cli-1.31.7.gh.tar.gz 2605660 BLAKE2B 7b7dbdf2179964f6d23e0ad09c2ec7f45c07f15986c9761c9bca3b2d3dc685a3eee32fcd2108d81e2c918386120f6307918671c16b602a4236adc6873d78be06 SHA512 defbb2d861ee3ca5f0cab70e2a963b64e5dcfce1eb251b6685888d89adfe61a1bcdd8e428444bc37f0a266e9e602204028af6ba292de995fd0ae3956a6857364
DIST aws-cli-1.31.8.gh.tar.gz 2605946 BLAKE2B 847e30da21c149819c05af1a08aa8a38dd390fbeab4e09ca890b1fc56dc6211b972b567d53834f816362479b87d40ee0815167e45b3dc6eefbb93e6d7a5b9ce4 SHA512 89b5935bf29b679de1031e22f302fa74d9fd8fd60c3c9bf7458e2fa708d8fb8072d439f6c5b0e987be5d4e519820fb4d230bdc6d72795a462ccd98fb17f2bd86
DIST aws-cli-1.31.9.gh.tar.gz 2606393 BLAKE2B 3886b5444f784c85f1d8ef5b7bc9bc4aabd1ee2549b3a889780dc79eb8d4aa9b9b75d71f8ec18587d068d3f221c76b482f344a0a4f2504126820021ad3afeb21 SHA512 204ae4789d2272a1cc5c2a64607d577366c0c76d64fc619125428d96aec37e0cb510f1ecb523cfaebecd3e40e7115f1ebfe38fcc9eb1d142a0695d2a0ca9a2be
EBUILD awscli-1.30.3.ebuild 2729 BLAKE2B ab4ab697b7133db15d9148aaed10613cde4010ff6edd0075a5cb036011f577fce75aca06c55fe101599b21758e57e74706066d79b7f503f17b86a556febf44e2 SHA512 15436fbd6b0aa43524d5db6ffb3840e4e5f00434e6c45d3c6b7c7bd2197849700c80c6527a99551ce32e9adcc55b1877b0ebdc53ccd9dda9cf63bc71332dfaf8
EBUILD awscli-1.30.6.ebuild 2751 BLAKE2B 8a51dd7be20208a7fde6fb8836e136abeb6f3e679e43fb8bd6e817df6b7eed1183079b9a170dc1d4034a0167a05b3ad7d2c2c867dc33f483316c1fc972126a17 SHA512 48eea9498ca084097d04d2853bc75bcf1e89a6e7c0a6a1f44b2df3006f8ba0b2a610f10b44152c42e797a8664dcb17c51531b004278eaef0b69184d2b326c9ac
+EBUILD awscli-1.31.10.ebuild 2870 BLAKE2B 0f04852324dac59dbc0f8587268a00dbc9c89815eab9391af22c2b9294d5890e70cdd2ace78ad388048546954db0aa37efe6d0d2304529c2fd51ebcb4bb2bc88 SHA512 907955cc560559f84aa6ed1c1969c7e409bbf2edf7ebeea7c1d95bdc2dccadc2a344d09c76ab8fcac2cacaea97ac39a606f6319976d37b4ef36548ee44c28e7f
EBUILD awscli-1.31.6.ebuild 2870 BLAKE2B 0f04852324dac59dbc0f8587268a00dbc9c89815eab9391af22c2b9294d5890e70cdd2ace78ad388048546954db0aa37efe6d0d2304529c2fd51ebcb4bb2bc88 SHA512 907955cc560559f84aa6ed1c1969c7e409bbf2edf7ebeea7c1d95bdc2dccadc2a344d09c76ab8fcac2cacaea97ac39a606f6319976d37b4ef36548ee44c28e7f
EBUILD awscli-1.31.7.ebuild 2870 BLAKE2B 0f04852324dac59dbc0f8587268a00dbc9c89815eab9391af22c2b9294d5890e70cdd2ace78ad388048546954db0aa37efe6d0d2304529c2fd51ebcb4bb2bc88 SHA512 907955cc560559f84aa6ed1c1969c7e409bbf2edf7ebeea7c1d95bdc2dccadc2a344d09c76ab8fcac2cacaea97ac39a606f6319976d37b4ef36548ee44c28e7f
EBUILD awscli-1.31.8.ebuild 2870 BLAKE2B 0f04852324dac59dbc0f8587268a00dbc9c89815eab9391af22c2b9294d5890e70cdd2ace78ad388048546954db0aa37efe6d0d2304529c2fd51ebcb4bb2bc88 SHA512 907955cc560559f84aa6ed1c1969c7e409bbf2edf7ebeea7c1d95bdc2dccadc2a344d09c76ab8fcac2cacaea97ac39a606f6319976d37b4ef36548ee44c28e7f
diff --git a/app-admin/awscli/awscli-1.31.10.ebuild b/app-admin/awscli/awscli-1.31.10.ebuild
new file mode 100644
index 000000000000..18db68f93233
--- /dev/null
+++ b/app-admin/awscli/awscli-1.31.10.ebuild
@@ -0,0 +1,88 @@
+# 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..12} )
+
+inherit bash-completion-r1 distutils-r1
+
+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.8.0[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ !app-admin/awscli-bin
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-forked[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=1
+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 serial_tests=(
+ tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
+ tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
+ tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
+ tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
+ tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
+ tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
+ tests/unit/customizations/test_sessionmanager.py
+ tests/unit/test_compat.py::TestIgnoreUserSignals
+ tests/unit/test_help.py
+ tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
+ )
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ EPYTEST_XDIST= epytest "${serial_tests[@]}"
+
+ local EPYTEST_DESELECT=( "${serial_tests[@]}" )
+ # integration tests require AWS credentials and Internet access
+ epytest tests/{functional,unit}
+}
+
+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
+}