commit: a6e5c2dd28864c5f60362ed97c6bcbea016fd9d7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 22 09:34:53 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 22 09:37:02 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6e5c2dd
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.37.11.ebuild | 95 ----------------------------------
app-admin/awscli/awscli-1.37.22.ebuild | 95 ----------------------------------
app-admin/awscli/awscli-1.37.23.ebuild | 95 ----------------------------------
app-admin/awscli/awscli-1.37.24.ebuild | 95 ----------------------------------
app-admin/awscli/awscli-1.37.25.ebuild | 95 ----------------------------------
6 files changed, 480 deletions(-)
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index b24f69f329f2..e99a47596f52 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -1,8 +1,3 @@
-DIST aws-cli-1.37.11.gh.tar.gz 2900600 BLAKE2B
eed7e50f8b481fa3f7ff1cbb4d6c953545b6d5285decd84ed75b29f89c5a182ed9db299d9cbba8ad75ef6c31da25f80559c55bc9a868d25cf6dea815bd57265e
SHA512
a445764336804219cbe18a5f2b929c956c67d63958b4b01b7a4a263801061223941b92e551f223d4966a68d95c711933db0de2e6043c4c85e79376b973088c51
DIST aws-cli-1.37.16.gh.tar.gz 2903703 BLAKE2B
0d3333bef89222e9e84de2c469a98c6fd19177ba6c7e69278e43f459f1909d67e07cdc4150189dd3fd2ce1573ae43a22c944d172738de6102ecf7c7ea00404cf
SHA512
d9916ecfedd8bd9086608b6350f95374efad96f3af6adc8b372a254021e4b9f00c43a7c5759cd74f20082f60806fc6eb13d8daf7569fad303995f6d180958cb9
DIST aws-cli-1.37.21.gh.tar.gz 2907762 BLAKE2B
e42e9aed28ef3cee1b83f2e57f90ce81a9894bc23a960fef487096ce8b8bab16d23121658aed0547070919ae78a0476176f9517d583a84be90bb016c7cdd9bf7
SHA512
3c7b347627b799d7a3edc7a8cae3d6110ec3cc5bfcdecc247876135faebc2235546a514afbdaf95fec50cfe787ca30b125cae7a8e7be84134d83493a0f869b1a
-DIST aws-cli-1.37.22.gh.tar.gz 2907598 BLAKE2B
00555a7fb5bbd4c527de2be1b0dc17b0de23e0aed9f9de8ef584e427632bb30da411b4e7d7a2deeb51c768dad00a3463542c7eac302080dc94b024d6e71c1088
SHA512
886ccbfe6536312129b0059f26eb81d0d3e334014740516f33c3b648cd1bb3e41482c99bb10639fb3e7e84d730d7dcb698500b65536ee9a9c7f07267d4e82fd6
-DIST aws-cli-1.37.23.gh.tar.gz 2907789 BLAKE2B
d24999f8f416f2917bb841edda4a5827124bd51c0a421fcc658e1d526c35ea4177418351c3fc0c5d3908d65cc5b3b1e1e06f1c72985829600b3d405760f68eb8
SHA512
d45be9e18a48d4d7692ad2ab58c67571b083580e582c232f4e65eae6ca63e71b37f3f887b192589e5c74d78b4e7a22b813f866ceca8b13bbb1b191bef1a17377
-DIST aws-cli-1.37.24.gh.tar.gz 2908649 BLAKE2B
cca5622db09b728eaa9ac34316311dcd506b4286881b28da276ae1d4f8bcf8e1355deaa96b5443146f7f1a0f12f8e83b76fbff6d908749945d2b55003c4cc063
SHA512
b33856151554a166be9dbab1f10f1c707005ccb16bb1e0aed1865119070d67300be9ebe7102d4539c8fb93efc99f211a7402ba6aa85d9f82f8ad20970c82b6e1
-DIST aws-cli-1.37.25.gh.tar.gz 2909499 BLAKE2B
6c71b195278e41b651d52bc54b21038b34149d8225c1626fe6f67b40580273de2cebaa16e7145bf3848f146053491b11ed6430a25bece50ad6bda8ebdaa5ad5a
SHA512
f3b14c1eb93df8906c7173a2744a5eb934418209b02cfea923fe369eac68eecfbbf977a3f8ff497b39747bcb7af6a0c89b78f9aef71059f7e91d86c101a29a14
DIST aws-cli-1.37.26.gh.tar.gz 2909650 BLAKE2B
77843b52fa77410c9568dcc402774352b839591264f16ce4b27c58f5b52fe159afe029756b702132c1b6e611f2e40d5a27f26d830928c2716ec285e58201ac16
SHA512
0396541bead54c81c9c9219403aa1d7dcf8f0a60b58d8ef33ff1900ae3d44cd362b4d0f2fdd93fee89a068bba1b5afefac44bcd8f5624368b2a02044acd070d9
diff --git a/app-admin/awscli/awscli-1.37.11.ebuild
b/app-admin/awscli/awscli-1.37.11.ebuild
deleted file mode 100644
index 2bb0ee1db5bd..000000000000
--- a/app-admin/awscli/awscli-1.37.11.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.22.ebuild
b/app-admin/awscli/awscli-1.37.22.ebuild
deleted file mode 100644
index 4a8e0ae852e0..000000000000
--- a/app-admin/awscli/awscli-1.37.22.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.23.ebuild
b/app-admin/awscli/awscli-1.37.23.ebuild
deleted file mode 100644
index 4a8e0ae852e0..000000000000
--- a/app-admin/awscli/awscli-1.37.23.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.24.ebuild
b/app-admin/awscli/awscli-1.37.24.ebuild
deleted file mode 100644
index 4a8e0ae852e0..000000000000
--- a/app-admin/awscli/awscli-1.37.24.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.25.ebuild
b/app-admin/awscli/awscli-1.37.25.ebuild
deleted file mode 100644
index 4a8e0ae852e0..000000000000
--- a/app-admin/awscli/awscli-1.37.25.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
-}