diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-30 17:41:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-30 17:41:14 +0000 |
commit | 35e3ee5faf74dc69409f957f81a6848d4d24c49f (patch) | |
tree | d6bc6dbf01adb34336a16db816df491d45013f2d /app-admin | |
parent | ab3caa4e3adb16caadd7e9e1d9f606b34f20d2b3 (diff) |
gentoo auto-resync : 30:12:2023 - 17:41:14
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/Manifest.gz | bin | 31896 -> 31896 bytes | |||
-rw-r--r-- | app-admin/awscli/Manifest | 10 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.31.11.ebuild | 88 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.32.10.ebuild | 88 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.32.2.ebuild | 2 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.32.8.ebuild | 88 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.32.9.ebuild | 88 |
7 files changed, 2 insertions, 362 deletions
diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz Binary files differindex 85b27078d74b..317e70f2937b 100644 --- a/app-admin/Manifest.gz +++ b/app-admin/Manifest.gz diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index ee2574e84f6a..1df45ef202f1 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -1,15 +1,7 @@ -DIST aws-cli-1.31.11.gh.tar.gz 2605881 BLAKE2B 816846d5dd50a382b837cb25e01be330cb345b55819907ddc8bd3a6623752322d5eb79526a42addb85e9b4dedbf86cee0f064f8ae87d9bd2b3ee996751f37265 SHA512 8147f2c39618317755903a49b02cbfacdc514fd76df31fd354526a684c8da97753d7e2429ca9d46f035fc12263cdec847078f7461dd1ed7948d6614d6408debb -DIST aws-cli-1.32.10.gh.tar.gz 2620727 BLAKE2B b498422949dcc026dfdcf58f09f1c48327707734cfbb36bc289a0672a3dfb0fb1bc2a4d020b5c7c3025a4e0a451e6913148f3f514c8aeeb13c33d702d9cc821d SHA512 5a399c705c2a6334563b4ae2a4cffaa5b363807ba19b2e25a50765b1a196d1487b0ff237aa9367595ca5f65b800247dbb0258831f0446aceaf619ff0d93b319f DIST aws-cli-1.32.11.gh.tar.gz 2620959 BLAKE2B 8eab3362ec14ec50ae4f00862456e702a5555d27c53ab7dbaa4db2bd5a37f980bf5d02fef9af52da1ee8e8a6037e97101e47feb4bd24e090755a90c3cc74aa9a SHA512 949b927a76e7fa4c036efeb7527d90be9fac86c231a4f9c7f3682638e4f7c4aff1d32e6d75b6d2f36f27e42ae9cae7aa2a0216b9668b90f4a5cbb89bf1d44250 DIST aws-cli-1.32.2.gh.tar.gz 2609043 BLAKE2B 18cf285e54c25605502167e4fa002f522063dd85fc0c09eb44b4513ada49dbe476ca4485bb1cb63e726c5e1bee6934ccfa340ac9c9daecae082abb1abd852426 SHA512 951814c6e5a5dcf74de12e66430c53ca010bae6a8c9984dc11ab456f1cbd4a3f32e5055b3f7587fdf8cff4c224f86bc95858a2556ed5b90981894f706ab1b023 DIST aws-cli-1.32.7.gh.tar.gz 2620400 BLAKE2B dee6686b73100c607eba165f0f8ff91217336b020644c7ef7ee95dad16f57baea0878a3da96fd2f7258271573c1245286921240d141ba3020006b7ca2b37a0b5 SHA512 1df4aa8f2a2924d0e1c84e1187db1d5b974600831d7f668e39cfa17c34896ec51c604ef52d5ce397ca5950e79cac3c2e744c9b048f12164b650aa871e0c489e7 -DIST aws-cli-1.32.8.gh.tar.gz 2620170 BLAKE2B 206b166946e36252ed6f4af6c808d4773681708c5d6b31115fb21f72a9723f77d8c9d0c03793d3c4abfc01207006c42239feac8d2e4f87ec430e07d056dfd36f SHA512 d734eeb1cfee8f42e31564985eee797ca07078fae4c3a3acda44f3b1ece8e61d5baebe9b83ac7f1bbdb65969618c243c62baebe04d5474fa669732e87f6cf059 -DIST aws-cli-1.32.9.gh.tar.gz 2620477 BLAKE2B 99288c033702fc30d7903d7c38f0b0e98e08cf4f2cd46eb771c7da2609af10e17743ed132ae7c6b3f96c2797aafdab9388df01e922f2f2d08912582d06907692 SHA512 34f0153ec80aebb16d353d0a026853fab6c28542aec0343ef6639ac355c4f9d8e002c6f36f7828d9387364c09a26aa7c3155f89fec4900336cf86c755cdacb03 -EBUILD awscli-1.31.11.ebuild 2863 BLAKE2B 594fcb3182f64a267050b5c05a4f1d5ac23cbf02695d4dd3d2f8ceefea03b7cd9b6400ede8e079f62784d4eb185e21fab3bded808c8fc26b7e708b25a75c7784 SHA512 980b6a42cb257a669bbc78d92a4de7896bb312a66c08a4934b6df6c7a99a5a9b0e1352fadb30ffb3eac017810ffa15f634d73ce9069380387854c690a74dddcc -EBUILD awscli-1.32.10.ebuild 2871 BLAKE2B ab5c0845626f2809cad70108d65cf6e23076b804a9c987a564c93899b8195334a8ddb10b4e7d78b5c1f7bc2507155818d113dbf52c5d40cd58f3c0eb284788ad SHA512 1e00d67b3a2961750cce6d15022012795d5f561597db593f8b0e755e7379443c628ae65d99e5c28a9d68747d009b2813a571bd8c2d46c2065c081caf04b449dc EBUILD awscli-1.32.11.ebuild 2871 BLAKE2B ab5c0845626f2809cad70108d65cf6e23076b804a9c987a564c93899b8195334a8ddb10b4e7d78b5c1f7bc2507155818d113dbf52c5d40cd58f3c0eb284788ad SHA512 1e00d67b3a2961750cce6d15022012795d5f561597db593f8b0e755e7379443c628ae65d99e5c28a9d68747d009b2813a571bd8c2d46c2065c081caf04b449dc -EBUILD awscli-1.32.2.ebuild 2870 BLAKE2B 07e1565a1eb323a5fa24c087c1e3ce1e7f9cf861460924eec0c23310c3cd1c8ab888d1fca17901e59801c3f902e6b0207c365d7adc59a96cd7705f3a0b209555 SHA512 15c4651cb87670b9e6841aac87a96a7fa9d9d058a374057d4603fa73724e418c3b86f76d2a717f073208b5b2d0b40bdb3d904a7c606c20b84f4fb70910474d85 +EBUILD awscli-1.32.2.ebuild 2863 BLAKE2B 3e8249b2bf6d9211de418fc3f618080b48fe2430b6baaa83c90f1f31ab55c54a36cc8c6842e3391cf5f7bd9cec9f1cd3b5d01bcb9e188d8f8254e000e4ca745a SHA512 868307e0eb339bc8086b36c87a016373cd0120130f7e00343617ddb955b6871222f24c5b06b2d15a2aa340d3c2a73013ea47928305d71b61d9431222e1405f39 EBUILD awscli-1.32.7.ebuild 2871 BLAKE2B ab5c0845626f2809cad70108d65cf6e23076b804a9c987a564c93899b8195334a8ddb10b4e7d78b5c1f7bc2507155818d113dbf52c5d40cd58f3c0eb284788ad SHA512 1e00d67b3a2961750cce6d15022012795d5f561597db593f8b0e755e7379443c628ae65d99e5c28a9d68747d009b2813a571bd8c2d46c2065c081caf04b449dc -EBUILD awscli-1.32.8.ebuild 2871 BLAKE2B ab5c0845626f2809cad70108d65cf6e23076b804a9c987a564c93899b8195334a8ddb10b4e7d78b5c1f7bc2507155818d113dbf52c5d40cd58f3c0eb284788ad SHA512 1e00d67b3a2961750cce6d15022012795d5f561597db593f8b0e755e7379443c628ae65d99e5c28a9d68747d009b2813a571bd8c2d46c2065c081caf04b449dc -EBUILD awscli-1.32.9.ebuild 2871 BLAKE2B ab5c0845626f2809cad70108d65cf6e23076b804a9c987a564c93899b8195334a8ddb10b4e7d78b5c1f7bc2507155818d113dbf52c5d40cd58f3c0eb284788ad SHA512 1e00d67b3a2961750cce6d15022012795d5f561597db593f8b0e755e7379443c628ae65d99e5c28a9d68747d009b2813a571bd8c2d46c2065c081caf04b449dc MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab diff --git a/app-admin/awscli/awscli-1.31.11.ebuild b/app-admin/awscli/awscli-1.31.11.ebuild deleted file mode 100644 index 903cb8e01044..000000000000 --- a/app-admin/awscli/awscli-1.31.11.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# 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 -} diff --git a/app-admin/awscli/awscli-1.32.10.ebuild b/app-admin/awscli/awscli-1.32.10.ebuild deleted file mode 100644 index 77feb2d63e3e..000000000000 --- a/app-admin/awscli/awscli-1.32.10.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# 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.10.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 -} diff --git a/app-admin/awscli/awscli-1.32.2.ebuild b/app-admin/awscli/awscli-1.32.2.ebuild index 28d42f8f7e7b..5152582af67d 100644 --- a/app-admin/awscli/awscli-1.32.2.ebuild +++ b/app-admin/awscli/awscli-1.32.2.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +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-)" diff --git a/app-admin/awscli/awscli-1.32.8.ebuild b/app-admin/awscli/awscli-1.32.8.ebuild deleted file mode 100644 index 77feb2d63e3e..000000000000 --- a/app-admin/awscli/awscli-1.32.8.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# 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.10.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 -} diff --git a/app-admin/awscli/awscli-1.32.9.ebuild b/app-admin/awscli/awscli-1.32.9.ebuild deleted file mode 100644 index 77feb2d63e3e..000000000000 --- a/app-admin/awscli/awscli-1.32.9.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# 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.10.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 -} |