summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-02-04 22:40:00 +0100
committerMichał Górny <mgorny@gentoo.org>2022-02-09 09:43:55 +0100
commit0cc9d3cc4fab252b0782b8debaeb8408a7c7812f (patch)
treeceb926b9090a685d0a76b7a43385c3e9152525ec
parentpython-utils-r1.eclass: Remove old phase check from python_optimize (diff)
downloadgentoo-0cc9d3cc4fab252b0782b8debaeb8408a7c7812f.tar.gz
gentoo-0cc9d3cc4fab252b0782b8debaeb8408a7c7812f.tar.bz2
gentoo-0cc9d3cc4fab252b0782b8debaeb8408a7c7812f.zip
python-utils-r1.eclass: Add status messages to python_optimize
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--eclass/python-utils-r1.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index ba350ec5cb17..9dc23bf9bfb0 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -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}"