commit:     5f27c0238ec28dae63c5ee939e793f381ed16b21
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  1 11:56:03 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb  1 11:56:03 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f27c023

app-admin/awscli: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-admin/awscli/Manifest              |  5 --
 app-admin/awscli/awscli-1.36.38.ebuild | 95 ----------------------------------
 app-admin/awscli/awscli-1.37.10.ebuild | 95 ----------------------------------
 app-admin/awscli/awscli-1.37.7.ebuild  | 95 ----------------------------------
 app-admin/awscli/awscli-1.37.8.ebuild  | 95 ----------------------------------
 app-admin/awscli/awscli-1.37.9.ebuild  | 95 ----------------------------------
 6 files changed, 480 deletions(-)

diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index 48069872334a..ca26f44bc7cd 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -1,8 +1,3 @@
-DIST aws-cli-1.36.38.gh.tar.gz 2879388 BLAKE2B 
2780cfeb9e6ca61635638ad3df9a0e6cb81eeeb45d7573f5033f37a2366c907e1cc4661766a72d4b45ced5e52d5dae82bd61c2dec455a6e5763ae2605b1e8f0f
 SHA512 
626b606d86cb877c562031c23da57385b5014046d97cbf6cb3f6e73bb528755ff4a12190211feffbe326533500d988e93f55090f242b2b49ae725fc509575780
-DIST aws-cli-1.37.10.gh.tar.gz 2898808 BLAKE2B 
4fb9cca920b24a546b2dfdacb6f798e1eda4a2298668ffe9c92b806ff38a5bd863805f4e68d85644826e175ea32d3bebe35e201a0ae175dcd01309650ed9f228
 SHA512 
d2c56759d9446bbb355f05c6034cd50094801800574f61e3a1d0d54753397260fc6381193c25c2af370ff8fab32d76cf50d976d026ffc12a0445b3be2c5ccabd
 DIST aws-cli-1.37.11.gh.tar.gz 2900600 BLAKE2B 
eed7e50f8b481fa3f7ff1cbb4d6c953545b6d5285decd84ed75b29f89c5a182ed9db299d9cbba8ad75ef6c31da25f80559c55bc9a868d25cf6dea815bd57265e
 SHA512 
a445764336804219cbe18a5f2b929c956c67d63958b4b01b7a4a263801061223941b92e551f223d4966a68d95c711933db0de2e6043c4c85e79376b973088c51
 DIST aws-cli-1.37.2.gh.tar.gz 2882709 BLAKE2B 
be8e03342f8c105646c7a92bd9f4716952700cb1cee883669b532851f73b896dd3f55266851db0351348ca50e3d96ec78f296327545eaac1e5d4ceba58a71eeb
 SHA512 
492ac75a47187a5579cae3211b7e4b9df34c7fcab8903cc52a61cc9dc6238f32268a04e45eb4edead76504636a85987355d4bf71f700df7c14dc215b45e8058b
 DIST aws-cli-1.37.6.gh.tar.gz 2896548 BLAKE2B 
c160d981fc9d2a9c3de69b6d7dfc9fc699ad9ebbd7bd81808a74371059362ee7616a00c1c4d61674f4d9e8ebb35c3047c11d43c8c4bbf4ad63e65771462cc556
 SHA512 
475637e353afef4177d9375f2b8f9c86732ff55040ee1dfdc307a5c7fb6392db983e75324ebabe8016fb5c8712c1433a194a0cff65eda1f930a86b9357aafe28
-DIST aws-cli-1.37.7.gh.tar.gz 2896370 BLAKE2B 
267b2b72df708ee83969ef8c6e99176655c368cac6a6a92d50c52a28ffb0b7f645b47e8b9527cf6aadb29d50dc4b8a76ade12bb5947b20ea39b81845c74459ca
 SHA512 
c53283a3e6eb85bab5dfd7cadb4a080552bd5bf63deaa46f6c52f96895e5b5facfcada518ad636e71a6fc697bc17ed963754221c471f987691f3893f01fa68e5
-DIST aws-cli-1.37.8.gh.tar.gz 2897528 BLAKE2B 
126030653a71028cefe649e7ac5878012e63360ec38dd51c8c195915132fe479ed289248c57336b3f261f8d188eb5d4a0c9190660b4741b9ff6c933f467e8496
 SHA512 
09406adb8787d3f108c29edb02f6971028bf4bfdec14ac3020682a7d5979d765a2527845999816bf17af1d0d13f7ae14f35543d622e92273305c57fed4d4069d
-DIST aws-cli-1.37.9.gh.tar.gz 2897923 BLAKE2B 
717e238372d40737aeddb2de6f476d1869ad9c28d1597670010888db2efa1b180f858e237e07196193e8792f73fc57b01b79a3e6ff0a749ef8c40b29b9922377
 SHA512 
b9de613978f481f2714ceebc31a155bf91007c051c28f9654cbac0504e8a8e7e25c5db812b358d485ac16a594d25942e8335e796b9728b3862a381191e3e9676

diff --git a/app-admin/awscli/awscli-1.36.38.ebuild 
b/app-admin/awscli/awscli-1.36.38.ebuild
deleted file mode 100644
index 33a278734de6..000000000000
--- a/app-admin/awscli/awscli-1.36.38.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
-
-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-1).(z+59)
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 1)).$(( $(ver_cut 3-) + 59 ))"
-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.10.0[${PYTHON_USEDEP}]
-       dev-python/pyyaml[${PYTHON_USEDEP}]
-       !app-admin/awscli-bin
-"
-BDEPEND="
-       test? (
-               dev-python/packaging[${PYTHON_USEDEP}]
-               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/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_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[@]}"
-
-               # flaky (some ordering?)
-               
tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32
-       )
-       # 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
-}

diff --git a/app-admin/awscli/awscli-1.37.10.ebuild 
b/app-admin/awscli/awscli-1.37.10.ebuild
deleted file mode 100644
index 4a8e0ae852e0..000000000000
--- a/app-admin/awscli/awscli-1.37.10.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
-
-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-1).z
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 1)).$(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.11.0[${PYTHON_USEDEP}]
-       dev-python/pyyaml[${PYTHON_USEDEP}]
-       !app-admin/awscli-bin
-"
-BDEPEND="
-       test? (
-               dev-python/packaging[${PYTHON_USEDEP}]
-               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/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_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[@]}"
-
-               # flaky (some ordering?)
-               
tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32
-       )
-       # 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
-}

diff --git a/app-admin/awscli/awscli-1.37.7.ebuild 
b/app-admin/awscli/awscli-1.37.7.ebuild
deleted file mode 100644
index 4a8e0ae852e0..000000000000
--- a/app-admin/awscli/awscli-1.37.7.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
-
-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-1).z
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 1)).$(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.11.0[${PYTHON_USEDEP}]
-       dev-python/pyyaml[${PYTHON_USEDEP}]
-       !app-admin/awscli-bin
-"
-BDEPEND="
-       test? (
-               dev-python/packaging[${PYTHON_USEDEP}]
-               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/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_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[@]}"
-
-               # flaky (some ordering?)
-               
tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32
-       )
-       # 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
-}

diff --git a/app-admin/awscli/awscli-1.37.8.ebuild 
b/app-admin/awscli/awscli-1.37.8.ebuild
deleted file mode 100644
index 4a8e0ae852e0..000000000000
--- a/app-admin/awscli/awscli-1.37.8.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
-
-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-1).z
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 1)).$(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.11.0[${PYTHON_USEDEP}]
-       dev-python/pyyaml[${PYTHON_USEDEP}]
-       !app-admin/awscli-bin
-"
-BDEPEND="
-       test? (
-               dev-python/packaging[${PYTHON_USEDEP}]
-               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/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_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[@]}"
-
-               # flaky (some ordering?)
-               
tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32
-       )
-       # 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
-}

diff --git a/app-admin/awscli/awscli-1.37.9.ebuild 
b/app-admin/awscli/awscli-1.37.9.ebuild
deleted file mode 100644
index 4a8e0ae852e0..000000000000
--- a/app-admin/awscli/awscli-1.37.9.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
-
-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-1).z
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 1)).$(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.11.0[${PYTHON_USEDEP}]
-       dev-python/pyyaml[${PYTHON_USEDEP}]
-       !app-admin/awscli-bin
-"
-BDEPEND="
-       test? (
-               dev-python/packaging[${PYTHON_USEDEP}]
-               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/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_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[@]}"
-
-               # flaky (some ordering?)
-               
tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32
-       )
-       # 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
-}

Reply via email to