overlay dev-python/boto: Disable tests

The tests required obsolete test runner. We are not running them
anyway, so skip the test setup.
This commit is contained in:
Krzesimir Nowak 2024-04-08 11:08:02 +02:00
parent cfa07422a4
commit 9274f06827

View File

@ -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
# }