summaryrefslogtreecommitdiff
path: root/app-admin/awscli
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-13 05:39:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-13 05:39:05 +0000
commit22b4e2ee9c8011b75d7c030d6129a7487494aeba (patch)
treedac0fe56378ac0d61ca4558245fb3702bbf89821 /app-admin/awscli
parent05644e4ce4886d97a712fcdca7d4144a7ced4191 (diff)
gentoo auto-resync : 13:12:2023 - 05:39:04
Diffstat (limited to 'app-admin/awscli')
-rw-r--r--app-admin/awscli/Manifest2
-rw-r--r--app-admin/awscli/awscli-1.31.13.ebuild88
2 files changed, 90 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index 9004c36e230d..c3b17a4df8b4 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -1,9 +1,11 @@
DIST aws-cli-1.30.6.gh.tar.gz 2596217 BLAKE2B 3b4cbd540ede2826d212233e76a4431f090fdaa1848f3ddd5e52c3d637e8ccb6ed406072b5b4b3f62b67a29a995d984bfcf1f961915594459e52199dba2341b8 SHA512 8273d234428eb42e8845052c4122e06bb6d0693d2878296a101fa3ce72c5690787c6151aa8f819db83fe36f5263d14efd1e4b469494da8994d47d1f213c394b3
DIST aws-cli-1.31.11.gh.tar.gz 2605881 BLAKE2B 816846d5dd50a382b837cb25e01be330cb345b55819907ddc8bd3a6623752322d5eb79526a42addb85e9b4dedbf86cee0f064f8ae87d9bd2b3ee996751f37265 SHA512 8147f2c39618317755903a49b02cbfacdc514fd76df31fd354526a684c8da97753d7e2429ca9d46f035fc12263cdec847078f7461dd1ed7948d6614d6408debb
DIST aws-cli-1.31.12.gh.tar.gz 2606087 BLAKE2B f36825a15265ed7a260b42251dc6ed9b6a414fa1c27a6209395cc195fc1b30f0df3dec3c58deb9a9a003e3c6fa6cde5bd9b28b3f89e03d9adef1852dbc0bf49b SHA512 ef6de63c6540a4ac87280f5d557096a827939db5de258b62cd8b8fed5740e3c866e250c402ab6bd41bfc369891945605c79f5799be76e1166e0fa2495e129da5
+DIST aws-cli-1.31.13.gh.tar.gz 2606313 BLAKE2B fb2df38db566d07a44eeca9793cd043e58ef773a09122b69a084498ac3eb55ec65177c55d287a48f1739e743b3b642504b9fc87a8b8537fc870844b9a00fe838 SHA512 dde6e3494d841906a3670577f8619742d5957afca53db58cab31a90962ccf368d28aa04f7c3d39ff91be3c96ac6e13a4f399758c2cb73516221c9fdcf70b8d49
DIST aws-cli-1.31.6.gh.tar.gz 2605365 BLAKE2B 30e7789a2a4f47b3b4dce9fb3c8083d56ebec8501d66fa03e34309c1c9e0c6302ce79c044fb1aecd879f2784443db5a9927bfb1c22e94883709600f0e1c538b4 SHA512 5da1be164d4e52b255093c0685b4add43a21b2f0259a6ad9b6e6bc1c7bbb17e1ee0db0f6b29ff0227b301d7f66e1d63b3d92047ccef5578b9de6b5579319be6c
EBUILD awscli-1.30.6.ebuild 2744 BLAKE2B 210da13d12323d2293af81522241b228d94d9368227f37a05a1d6e3c83ac41738cbc7016b1f11df65cf6b094fbb92d0cca8ab856d6ad6915ac7819a01e25ce77 SHA512 30c717703a5123e908eac6d782bbe1ee68baf546917feddd0f7d827fedd1583b4ca1b47303669eb53f7517fb39efc8261d3c947be0bb363e5b0f37d72e33a9a4
EBUILD awscli-1.31.11.ebuild 2870 BLAKE2B 0f04852324dac59dbc0f8587268a00dbc9c89815eab9391af22c2b9294d5890e70cdd2ace78ad388048546954db0aa37efe6d0d2304529c2fd51ebcb4bb2bc88 SHA512 907955cc560559f84aa6ed1c1969c7e409bbf2edf7ebeea7c1d95bdc2dccadc2a344d09c76ab8fcac2cacaea97ac39a606f6319976d37b4ef36548ee44c28e7f
EBUILD awscli-1.31.12.ebuild 2870 BLAKE2B 0f04852324dac59dbc0f8587268a00dbc9c89815eab9391af22c2b9294d5890e70cdd2ace78ad388048546954db0aa37efe6d0d2304529c2fd51ebcb4bb2bc88 SHA512 907955cc560559f84aa6ed1c1969c7e409bbf2edf7ebeea7c1d95bdc2dccadc2a344d09c76ab8fcac2cacaea97ac39a606f6319976d37b4ef36548ee44c28e7f
+EBUILD awscli-1.31.13.ebuild 2870 BLAKE2B 0f04852324dac59dbc0f8587268a00dbc9c89815eab9391af22c2b9294d5890e70cdd2ace78ad388048546954db0aa37efe6d0d2304529c2fd51ebcb4bb2bc88 SHA512 907955cc560559f84aa6ed1c1969c7e409bbf2edf7ebeea7c1d95bdc2dccadc2a344d09c76ab8fcac2cacaea97ac39a606f6319976d37b4ef36548ee44c28e7f
EBUILD awscli-1.31.6.ebuild 2870 BLAKE2B 0f04852324dac59dbc0f8587268a00dbc9c89815eab9391af22c2b9294d5890e70cdd2ace78ad388048546954db0aa37efe6d0d2304529c2fd51ebcb4bb2bc88 SHA512 907955cc560559f84aa6ed1c1969c7e409bbf2edf7ebeea7c1d95bdc2dccadc2a344d09c76ab8fcac2cacaea97ac39a606f6319976d37b4ef36548ee44c28e7f
MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab
diff --git a/app-admin/awscli/awscli-1.31.13.ebuild b/app-admin/awscli/awscli-1.31.13.ebuild
new file mode 100644
index 000000000000..18db68f93233
--- /dev/null
+++ b/app-admin/awscli/awscli-1.31.13.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
+}