Currently USE=highlight installs pygments-based highlighter without specific Python shebang. As a result, if pygments are installed for different Python version than the script is run with, cgit silently gives zero output (we've just hit this on infra). Please make it use python-single-r1, python_fix_shebang the script and make a clear [${PYTHON_USEDEP}] on pygments. I guess you also want to kill the '||' then, and either have separate flags for the two highlighters, or forget about the other one.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddf5e438066fd35555faa2e7c867175a3206e095 commit ddf5e438066fd35555faa2e7c867175a3206e095 Author: Aaron Bauman <bman@gentoo.org> AuthorDate: 2021-02-07 22:56:56 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2021-02-07 22:56:56 +0000 www-apps/cgit: drop libressl; fix highlight deps; add python stuff * This changes the highlighter explicitly to dev-python/pygments which negates the need to patch bug #574056 * This also depends on python-single-r1 and fixes all py script shebangs * Fix QA issues with || dies * Drop libressl support Closes: https://bugs.gentoo.org/574056 Closes: https://bugs.gentoo.org/656866 Signed-off-by: Aaron Bauman <bman@gentoo.org> www-apps/cgit/cgit-1.2.3-r200.ebuild | 107 +++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+)