Depending on dev-libs/libxml2[${PYTHON_USEDEP}] doesn't make sense since libxml2 has a python USE flag. That has to be added, too, for ${PYTHON_USEDEP} to be effective. That doesn't look like the proper solution, however. The only references to libxml2 I could find are the docbook tool extensions, which use the python bindings for libxml2 and libxslt. I don't know whether they are exercised by the test suite at all, but I don't see a difference running tests with libxml2's python bindings available or not. (Could be due to missing python bindings for libxslt, though.) I'm not familiar enough with scons's test suite to know the correct dependencies, could be one of: a) fix libxml2 depedency by adding python USE, b) dito, but also add dev-libs/libxslt[python,${PYTHON_USEDEP}], c) drop dependency on dev-libs/libxml2. In any case the current dependency can't possibly be correct.
Thanks for noticing. I'm going to drop the libxml2 dep.;-).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad6ffc01f664592e03f85348bf082b2b2ce7159a commit ad6ffc01f664592e03f85348bf082b2b2ce7159a Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2023-01-15 07:21:28 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2023-01-15 07:32:27 +0000 dev-util/scons: Remove libxml2 test dep Closes: https://bugs.gentoo.org/890557 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-util/scons/scons-4.4.0-r1.ebuild | 1 - 1 file changed, 1 deletion(-)