When DISTUTILS_SINGLE_IMPL is non-empty (i.e. python-single-r1.eclass is used), then distutils_enable_sphinx() would fail, because it tries to call python_gen_any_dep() which is not defined in python-single-r1.eclass (but is defined in python-any-r1.eclass and python-r1.eclass). * ERROR: category/package-version::repository failed (depend phase): * External commands disallowed while sourcing ebuild: python_gen_any_dep * dev-python/sphinx[${PYTHON_USEDEP}]
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0950b698411ea7ffbafe868d231b18181da77e28 commit 0950b698411ea7ffbafe868d231b18181da77e28 Author: Andrew Ammerlaan <andrewammerlaan@riseup.net> AuthorDate: 2021-01-16 13:27:00 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2021-01-28 09:20:05 +0000 eclass/distutils-r1: fix distutils_enable_sphinx with DIS.._SINGLE_IMPL python-single-r1 does not have the python_gen_any_dep function use the python_gen_cond_dep instead Closes: https://bugs.gentoo.org/704520 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net> Signed-off-by: Joonas Niilola <juippis@gentoo.org> eclass/distutils-r1.eclass | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-)