Fix `python_optimize()` to correctly output directories once again, after I removed `${instpath}` while switching to prefix stripping.
Signed-off-by: Michał Górny <mgo...@gentoo.org> --- eclass/python-utils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index a1ca388ab730..27a85410aadf 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -624,7 +624,7 @@ python_optimize() { local jobs=$(makeopts_jobs) local d for d; do - einfo "Optimize Python modules for ${instpath}" + einfo "Optimizing Python modules in ${d#${D}}" # NB: '-s' makes the path relative, so we need '-p /' to make it # absolute again; https://github.com/python/cpython/issues/133503 "${PYTHON}" -m compileall -j "${jobs}" -o 0 -o 1 -o 2 \