Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Wed, 09 Feb 2022 09:39:37
Message-Id: 1644396235.0cc9d3cc4fab252b0782b8debaeb8408a7c7812f.mgorny@gentoo
1 commit: 0cc9d3cc4fab252b0782b8debaeb8408a7c7812f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 4 21:40:00 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 9 08:43:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cc9d3cc
7
8 python-utils-r1.eclass: Add status messages to python_optimize
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 eclass/python-utils-r1.eclass | 1 +
13 1 file changed, 1 insertion(+)
14
15 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
16 index ba350ec5cb17..9dc23bf9bfb0 100644
17 --- a/eclass/python-utils-r1.eclass
18 +++ b/eclass/python-utils-r1.eclass
19 @@ -610,6 +610,7 @@ python_optimize() {
20 local instpath=${d#${D%/}}
21 instpath=/${instpath##/}
22
23 + einfo "Optimize Python modules for ${instpath}"
24 case "${EPYTHON}" in
25 python2.7|python3.[34])
26 "${PYTHON}" -m compileall -q -f -d "${instpath}" "${d}"