summaryrefslogtreecommitdiff
path: root/app-admin/awscli
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-18 11:02:30 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-18 11:02:30 +0000
commitce89e807ecd2194613ad6e6bcee8cf95e982ad1a (patch)
tree5664e77b09dcdec8263e4a0ebbf87da3e1524e87 /app-admin/awscli
parent7e6812aaf62d1be61aaa50252c7e868fc9eabf4c (diff)
gentoo auto-resync : 18:11:2023 - 11:02:29
Diffstat (limited to 'app-admin/awscli')
-rw-r--r--app-admin/awscli/Manifest2
-rw-r--r--app-admin/awscli/awscli-1.30.3.ebuild86
2 files changed, 88 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index 770010310bba..f6bf3737f068 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -4,10 +4,12 @@ DIST aws-cli-1.29.85.gh.tar.gz 2577082 BLAKE2B 8d16b3a989b6a12a154baa8b5d25be6c3
DIST aws-cli-1.30.0.gh.tar.gz 2584557 BLAKE2B d88e0987b019ca6a86ffb599ee894b8270dda4c4cae2a4bf0a74438d821533d5875d379132f76c70e93bc8b3136f3a8374b60d797f064921597b259589bd5bfe SHA512 5fd1ee8e4f978cfc4964799b3556eae8c0a7cec367dd4f0c096971a948d1ce7b8bc008b05e84c67723f0d603470777d075cc12a014cb2466789033de62e9078e
DIST aws-cli-1.30.1.gh.tar.gz 2586590 BLAKE2B 6520fcb6818213d4ad9c002cf4dddcf16b35c32fe0a0048a3247a1ba3fd7cbfb32df95715d4397132a0229cdf5aebbe9635f012c5e4f8fa212f41c5a8e1c07bf SHA512 78f7bd8286cdd5e433e2024c0bcac3cf3a9a74f9eca344c4d09b0506c314b3e38c34d8d2c85bbc91a3ac6395bbc319c6bb91536a364a587e7c27902362fdc005
DIST aws-cli-1.30.2.gh.tar.gz 2589683 BLAKE2B 786aad7e939d3d8349d2d1930c82bad7b0bcdaa36f9df389f155f23e610019ff2f0bdd52da2d6ac4f4e1896a236d7aee895641245a518a3cb094ba3e43e3a594 SHA512 8fbbe9b951942d7230d9875a153403f2fa952657e124686926d94a6f816b9ae093ec025b595ccd7f7a532a930b8b3e516f1030ba7d7038dddaa188c5d3ee5ea9
+DIST aws-cli-1.30.3.gh.tar.gz 2594517 BLAKE2B 67ffda10491b734a15119ed3963735e53a66d868954e908816ef918b0adb706ef23337a4dde76758bb1fc957be8a6794106c2d26b9865a9e9dd6e11cc70c4016 SHA512 9b9474a6206cecd0d9f15aabf1c94421aabf4b0ea2d5c829e59747d5fa68093e6f79b0e554ea1dfb891774a0ab49d1143cd582521bd21735e209b40f040973cd
EBUILD awscli-1.29.78.ebuild 2910 BLAKE2B 37d7473c4ae2ce51a088101ea974c7457ebedc620209987825142b72d3e66031c3316d644802e47f638c95e9c0136092f777985f99254f544fab507b27a1fffa SHA512 cf420614db3c119e1172b4c414815dc9849e42ae111817c6d1b36f9f7483cb6b146ecb2e25d2247afd6d434e77c6be1e4ad45fa3b0a7cd5ef3fd83b87ab63946
EBUILD awscli-1.29.84.ebuild 2736 BLAKE2B e66384bff893ea10cb95002752b2adc2d126e1ea88a84f27e1ad9860c50098c9cfefa407fcafb84ef3ba575c669b8fb3c3b08e0ce12e50220b2d49ef7a23bd76 SHA512 ed98a9461b1edbe0f61704cdb69785d63df871a30890cb95ee1f10da78324b18e8bfe4f2c5010ea2429e09ff293ad8b7c1fbf4a3702788d9a9921701f833a730
EBUILD awscli-1.29.85.ebuild 2736 BLAKE2B e66384bff893ea10cb95002752b2adc2d126e1ea88a84f27e1ad9860c50098c9cfefa407fcafb84ef3ba575c669b8fb3c3b08e0ce12e50220b2d49ef7a23bd76 SHA512 ed98a9461b1edbe0f61704cdb69785d63df871a30890cb95ee1f10da78324b18e8bfe4f2c5010ea2429e09ff293ad8b7c1fbf4a3702788d9a9921701f833a730
EBUILD awscli-1.30.0.ebuild 2736 BLAKE2B e66384bff893ea10cb95002752b2adc2d126e1ea88a84f27e1ad9860c50098c9cfefa407fcafb84ef3ba575c669b8fb3c3b08e0ce12e50220b2d49ef7a23bd76 SHA512 ed98a9461b1edbe0f61704cdb69785d63df871a30890cb95ee1f10da78324b18e8bfe4f2c5010ea2429e09ff293ad8b7c1fbf4a3702788d9a9921701f833a730
EBUILD awscli-1.30.1.ebuild 2736 BLAKE2B e66384bff893ea10cb95002752b2adc2d126e1ea88a84f27e1ad9860c50098c9cfefa407fcafb84ef3ba575c669b8fb3c3b08e0ce12e50220b2d49ef7a23bd76 SHA512 ed98a9461b1edbe0f61704cdb69785d63df871a30890cb95ee1f10da78324b18e8bfe4f2c5010ea2429e09ff293ad8b7c1fbf4a3702788d9a9921701f833a730
EBUILD awscli-1.30.2.ebuild 2736 BLAKE2B e66384bff893ea10cb95002752b2adc2d126e1ea88a84f27e1ad9860c50098c9cfefa407fcafb84ef3ba575c669b8fb3c3b08e0ce12e50220b2d49ef7a23bd76 SHA512 ed98a9461b1edbe0f61704cdb69785d63df871a30890cb95ee1f10da78324b18e8bfe4f2c5010ea2429e09ff293ad8b7c1fbf4a3702788d9a9921701f833a730
+EBUILD awscli-1.30.3.ebuild 2736 BLAKE2B e66384bff893ea10cb95002752b2adc2d126e1ea88a84f27e1ad9860c50098c9cfefa407fcafb84ef3ba575c669b8fb3c3b08e0ce12e50220b2d49ef7a23bd76 SHA512 ed98a9461b1edbe0f61704cdb69785d63df871a30890cb95ee1f10da78324b18e8bfe4f2c5010ea2429e09ff293ad8b7c1fbf4a3702788d9a9921701f833a730
MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab
diff --git a/app-admin/awscli/awscli-1.30.3.ebuild b/app-admin/awscli/awscli-1.30.3.ebuild
new file mode 100644
index 000000000000..e5b1ee0667a3
--- /dev/null
+++ b/app-admin/awscli/awscli-1.30.3.ebuild
@@ -0,0 +1,86 @@
+# 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.7.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/test_compat.py::TestIgnoreUserSignals
+ tests/unit/test_help.py
+ )
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ 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
+}