Michał Górny c14accfbbd python-utils-r1.eclass: Fix sphinx_build for non-autodoc case
Fix the regression in calling sphinx-build for the non-autodoc case
that causes the build to fail if dev-python/sphinx isn't built
for the newest Python interpreter available.  To account for this,
we need to call sphinx-build as an executable (i.e. via python-exec).

Ideally, build_sphinx would be aware of which case it is used for,
and use appropriate invocation.  Unfortunately, we cannot do that
without breaking backwards compatibility.  However, we can simply check
if Sphinx is available via ${EPYTHON}, and fall back to calling
python-exec directly.  This is effectively equivalent to choosing
the specific invocation directly, as python-exec would have respected
the implementation specified by EPYTHON anyway if sphinx-build
executable was available for it.

Fixes: f6a17acb8b (...: Run sphinx-build via EPYTHON)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-02-09 09:43:47 +01:00
2022-02-06 14:33:47 -05:00
2022-02-06 16:34:13 +01:00
2022-02-04 08:41:03 +01:00
2022-02-09 07:03:07 +00:00
2022-02-02 20:00:44 +07:00
2022-02-08 08:24:09 -05:00
2022-02-08 20:58:29 +01:00
2022-02-09 07:04:06 +01:00
2022-02-03 16:03:04 +01:00
2022-02-05 18:38:01 -05:00
2022-01-22 19:14:44 -06:00
2022-02-08 20:58:30 +01:00
2022-01-09 21:37:00 +01:00
2022-02-08 10:06:41 +01:00
2022-02-03 17:16:12 +03:00
2022-01-27 10:30:08 +01:00
2022-01-12 11:08:34 +01:00
2022-02-08 08:57:04 +01:00
2022-02-09 13:51:37 +08:00
2022-01-16 00:34:02 +01:00
2022-02-08 11:10:57 +02:00
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.3%
Emacs Lisp 0.2%
C 0.1%