summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-06-10 17:47:17 +0200
committerMichał Górny <mgorny@gentoo.org>2016-06-10 17:48:16 +0200
commit9d36217caccc7adffb56a7ab825e155153ff4376 (patch)
treeb8713538b1569305fba4cc221f07f45a899a3cef /app-arch
parentapp-arch/deltarpm: Fix implicit python3 use, #568094 (diff)
downloadgentoo-9d36217caccc7adffb56a7ab825e155153ff4376.tar.gz
gentoo-9d36217caccc7adffb56a7ab825e155153ff4376.tar.bz2
gentoo-9d36217caccc7adffb56a7ab825e155153ff4376.zip
app-arch/deltarpm: Fix byte-compiling installed Python modules
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/deltarpm/deltarpm-3.6_pre20110223-r2.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/app-arch/deltarpm/deltarpm-3.6_pre20110223-r2.ebuild b/app-arch/deltarpm/deltarpm-3.6_pre20110223-r2.ebuild
index 4557c6c2a4da..534a55330dc0 100644
--- a/app-arch/deltarpm/deltarpm-3.6_pre20110223-r2.ebuild
+++ b/app-arch/deltarpm/deltarpm-3.6_pre20110223-r2.ebuild
@@ -51,3 +51,8 @@ src_compile() {
emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" python
fi
}
+
+src_install() {
+ default
+ python_optimize
+}