From 9274f068278cd83a3040e7c8a6cd23febe4dafac Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Mon, 8 Apr 2024 11:08:02 +0200 Subject: [PATCH] overlay dev-python/boto: Disable tests The tests required obsolete test runner. We are not running them anyway, so skip the test setup. --- ...2.49.0-r6.ebuild => boto-2.49.0-r7.ebuild} | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) rename sdk_container/src/third_party/coreos-overlay/dev-python/boto/{boto-2.49.0-r6.ebuild => boto-2.49.0-r7.ebuild} (73%) diff --git a/sdk_container/src/third_party/coreos-overlay/dev-python/boto/boto-2.49.0-r6.ebuild b/sdk_container/src/third_party/coreos-overlay/dev-python/boto/boto-2.49.0-r7.ebuild similarity index 73% rename from sdk_container/src/third_party/coreos-overlay/dev-python/boto/boto-2.49.0-r6.ebuild rename to sdk_container/src/third_party/coreos-overlay/dev-python/boto/boto-2.49.0-r7.ebuild index 00502f5ae5..5dc49a7d84 100644 --- a/sdk_container/src/third_party/coreos-overlay/dev-python/boto/boto-2.49.0-r6.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/dev-python/boto/boto-2.49.0-r7.ebuild @@ -31,20 +31,18 @@ RDEPEND=" >=dev-python/six-1.12.0[${PYTHON_USEDEP}] " +# Flatcar: The call to distutils_enable_tests used to add "test" to +# IUSE. With the call commented out, "test" is not in IUSE anymore, +# making BDEPEND with "test" invalid. Dropping tests dependencies +# then. BDEPEND=" ${RDEPEND} - test? ( - dev-python/httpretty[${PYTHON_USEDEP}] - dev-python/keyring[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/paramiko[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/rsa[${PYTHON_USEDEP}] - dev-python/selenium[${PYTHON_USEDEP}] - )" +" -distutils_enable_tests nose +# Flatcar: There is no "nose" test runner any more. Also, we are not +# running tests anyway. +# +# distutils_enable_tests nose src_prepare() { # remove bundled libs. @@ -58,6 +56,8 @@ src_prepare() { distutils-r1_src_prepare } -python_test() { - distutils-r1_python_test tests/unit -} +# Flatcar: Not running the tests. +# +# python_test() { +# distutils-r1_python_test tests/unit +# }