Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 24/30] python-utils-r1.eclass: Add status messages to python_optimize
Date: Sun, 06 Feb 2022 12:56:23
Message-Id: 20220206124841.1299133-25-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 00/30] One batch of Python eclass updates to rule them all by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/python-utils-r1.eclass | 1 +
4 1 file changed, 1 insertion(+)
5
6 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
7 index 7d6c81e14dc8..1c6409add35c 100644
8 --- a/eclass/python-utils-r1.eclass
9 +++ b/eclass/python-utils-r1.eclass
10 @@ -610,6 +610,7 @@ python_optimize() {
11 local instpath=${d#${D%/}}
12 instpath=/${instpath##/}
13
14 + einfo "Optimize Python modules for ${instpath}"
15 case "${EPYTHON}" in
16 python2.7|python3.[34])
17 "${PYTHON}" -m compileall -q -f -d "${instpath}" "${d}"
18 --
19 2.35.1