1 |
commit: cf8733d2fcb656b7a9242812874bc061a9341961 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 27 08:18:07 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 2 04:04:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf8733d2 |
7 |
|
8 |
dev-python/installer: Call python_optimize explicitly |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/installer/installer-0.5.1-r1.ebuild | 5 +++++ |
13 |
1 file changed, 5 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/installer/installer-0.5.1-r1.ebuild b/dev-python/installer/installer-0.5.1-r1.ebuild |
16 |
index a29b236242ca..39b7336c9b89 100644 |
17 |
--- a/dev-python/installer/installer-0.5.1-r1.ebuild |
18 |
+++ b/dev-python/installer/installer-0.5.1-r1.ebuild |
19 |
@@ -35,3 +35,8 @@ distutils_enable_tests pytest |
20 |
python_compile() { |
21 |
python_domodule src/installer "${WORKDIR}"/*.dist-info |
22 |
} |
23 |
+ |
24 |
+python_install() { |
25 |
+ distutils-r1_python_install |
26 |
+ python_optimize |
27 |
+} |