mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 18:07:08 -08:00
python-utils-r1.eclass: Add status messages to python_optimize
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -610,6 +610,7 @@ python_optimize() {
|
||||
local instpath=${d#${D%/}}
|
||||
instpath=/${instpath##/}
|
||||
|
||||
einfo "Optimize Python modules for ${instpath}"
|
||||
case "${EPYTHON}" in
|
||||
python2.7|python3.[34])
|
||||
"${PYTHON}" -m compileall -q -f -d "${instpath}" "${d}"
|
||||
|
||||
Reference in New Issue
Block a user