summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-07-27 10:18:07 +0200
committerMichał Górny <mgorny@gentoo.org>2022-08-02 06:04:31 +0200
commitcf8733d2fcb656b7a9242812874bc061a9341961 (patch)
tree37c44ab03503405098784133c7abf1294c15c00f /dev-python/installer
parentdistutils-r1.eclass: Let gpep517 compile bytecode when 9+ is used (diff)
downloadgentoo-cf8733d2fcb656b7a9242812874bc061a9341961.tar.gz
gentoo-cf8733d2fcb656b7a9242812874bc061a9341961.tar.bz2
gentoo-cf8733d2fcb656b7a9242812874bc061a9341961.zip
dev-python/installer: Call python_optimize explicitly
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/installer')
-rw-r--r--dev-python/installer/installer-0.5.1-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/installer/installer-0.5.1-r1.ebuild b/dev-python/installer/installer-0.5.1-r1.ebuild
index a29b236242ca..39b7336c9b89 100644
--- a/dev-python/installer/installer-0.5.1-r1.ebuild
+++ b/dev-python/installer/installer-0.5.1-r1.ebuild
@@ -35,3 +35,8 @@ distutils_enable_tests pytest
python_compile() {
python_domodule src/installer "${WORKDIR}"/*.dist-info
}
+
+python_install() {
+ distutils-r1_python_install
+ python_optimize
+}