commit:     ce8972da05dfaad45013f728073b923b9ab2fffb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 08:46:01 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 08:46:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce8972da

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.33.31.ebuild | 90 ----------------------------------
 app-admin/awscli/awscli-1.33.41.ebuild | 90 ----------------------------------
 app-admin/awscli/awscli-1.33.42.ebuild | 90 ----------------------------------
 app-admin/awscli/awscli-1.33.43.ebuild | 90 ----------------------------------
 app-admin/awscli/awscli-1.33.44.ebuild | 90 ----------------------------------
 6 files changed, 455 deletions(-)

diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index c8e411c2b445..27b3ef024336 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -1,8 +1,3 @@
-DIST aws-cli-1.33.31.gh.tar.gz 2765982 BLAKE2B 
424422520aada1a5ab21843e61d5027937c1cd306936740ce6fe80ac8beadc5c5885727d716a7efe1890a3a3d7138710cb4b43a04d5293593d8b6fbf94e83ff9
 SHA512 
d7f860cb1b37c32a05550a43ff4c7e691f90ca8753fead9e1f2590556e589d6748ba163408ffbc7ecb1b1414a9df3590ffd5962aaf2acc6e49fff60a101034cb
 DIST aws-cli-1.33.35.gh.tar.gz 2768498 BLAKE2B 
d925c1a63a73bda27711d2f930d0832ea17e012d62d634330cef16f1962cbcbeb9149a5ef14765af04bfbc4b49c6160a319e02a3eab475473a2fe46ab27da305
 SHA512 
5804947acc002cd9f53b94865542d4f4708116a3a31dafd6a217e84d2222ff973b6c6af0237272d52d9d15e0eaf7f243ef577c1a1b3c2f18e845857886d9f2c1
 DIST aws-cli-1.33.40.gh.tar.gz 2769444 BLAKE2B 
a26e26cb4694460e36fe2d9730092db33aff74e436642f3de5f94dc2fcbb594bb1ef2db425584359f50d0ae37be8be6034a0e722968a0ea4179e888b2f23be7c
 SHA512 
d19d762a1ca0b02f3076d9241be19755f74c2b228cdb258f873d73dc91f25730b40e4a82bed3cb77e94b30ba34e1260629a3af6e7a7b7df108522d21103f34bb
-DIST aws-cli-1.33.41.gh.tar.gz 2769886 BLAKE2B 
fa6ea3d7349b1fb5a7ed4e0d8a4b2dcec717d97c471976ee57637552939e0af5b6ed2d7577a73dedb51a2dce634920ee7413178390047e58d00a5d48592fbcbf
 SHA512 
82efb569286f5dd64b6d63b177224eab389713b9a6b81c928b471df91d65bac70fa9931de49f3f776c4660f79c614dbdc8b5d35d77f85511e42b5eb1cf5c8d6e
-DIST aws-cli-1.33.42.gh.tar.gz 2770522 BLAKE2B 
2a5a61ee0359a443c59330b5d5f939622e0ca36503ee4b3f343228f3aadff3741e43203b18b38c342fd838f1c624b6059746d56af9ba4065e8aeb570db1139d0
 SHA512 
bfdc55ab0d462d24769054bd5cad4af80da1ee6b4dd657a6f6a0c4543741cc93a36c7cef3176c3062e8ebbab6dc54d051e46ea09eb5bf39cf443ec0a18660441
-DIST aws-cli-1.33.43.gh.tar.gz 2770673 BLAKE2B 
4f43c3f6b5d71358caf2197be0b8cc114ba90a049fc99aa207e9fe26d33a6be7c9ee52ab8eecac442bb0b99139677b9005233549602d4a24a9f3e5e9a6ad1e3d
 SHA512 
405d0999c38ff7f387ad583b21b8f54f0ea4334df5c10e4e830d17628c5071dbeda042dca9dc80766170caf5ad127a4051250e8a72d9ddfc96768b683d9c94c7
-DIST aws-cli-1.33.44.gh.tar.gz 2771513 BLAKE2B 
38bf7bb84a6af998cd15ec8f0f331c19437fa6bcc65a32914188f0b9906c84738f9c0ea796849e513bc5183de5e96110f017f05a626a425d96d92cadc466c64c
 SHA512 
c79f803f8abaec1ffc1575c863548e28f38bbb965c3d90ef5b92952dc22aa74c1f741545b414c33e65cd2dc514218987d71cbbe5567ae07c258dca6afc3e5944
 DIST aws-cli-1.34.0.gh.tar.gz 2773056 BLAKE2B 
c6c9d89fe719116faad47417dd1aa9a98125b65efaf61476582cf7fec16e7ab5bd9823b6973bde51891a8bdad8ec9bfade305abfcee2eb70f6cf2679ef815d1b
 SHA512 
914efb62ec94825529e981c934f617b0c1ae3c367b7215bff7160b8bef7c3ea73d0400d3e04ff237546731e3586077c83ed918c0747f75ff4079e8b5e1159809

diff --git a/app-admin/awscli/awscli-1.33.31.ebuild 
b/app-admin/awscli/awscli-1.33.31.ebuild
deleted file mode 100644
index 350b274749f3..000000000000
--- a/app-admin/awscli/awscli-1.33.31.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2024 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+118), sigh
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1 )).$(( $(ver_cut 3-) + 118 ))"
-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[@]}" )
-       # 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.33.41.ebuild 
b/app-admin/awscli/awscli-1.33.41.ebuild
deleted file mode 100644
index c212ce9cac21..000000000000
--- a/app-admin/awscli/awscli-1.33.41.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2024 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+118), sigh
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1 )).$(( $(ver_cut 3-) + 118 ))"
-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[@]}" )
-       # 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.33.42.ebuild 
b/app-admin/awscli/awscli-1.33.42.ebuild
deleted file mode 100644
index c212ce9cac21..000000000000
--- a/app-admin/awscli/awscli-1.33.42.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2024 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+118), sigh
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1 )).$(( $(ver_cut 3-) + 118 ))"
-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[@]}" )
-       # 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.33.43.ebuild 
b/app-admin/awscli/awscli-1.33.43.ebuild
deleted file mode 100644
index c212ce9cac21..000000000000
--- a/app-admin/awscli/awscli-1.33.43.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2024 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+118), sigh
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1 )).$(( $(ver_cut 3-) + 118 ))"
-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[@]}" )
-       # 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.33.44.ebuild 
b/app-admin/awscli/awscli-1.33.44.ebuild
deleted file mode 100644
index c212ce9cac21..000000000000
--- a/app-admin/awscli/awscli-1.33.44.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2024 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+118), sigh
-BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1 )).$(( $(ver_cut 3-) + 118 ))"
-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[@]}" )
-       # 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