commit:     9d36217caccc7adffb56a7ab825e155153ff4376
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 10 15:47:17 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 10 15:48:16 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d36217c

app-arch/deltarpm: Fix byte-compiling installed Python modules

 app-arch/deltarpm/deltarpm-3.6_pre20110223-r2.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/app-arch/deltarpm/deltarpm-3.6_pre20110223-r2.ebuild 
b/app-arch/deltarpm/deltarpm-3.6_pre20110223-r2.ebuild
index 4557c6c..534a553 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
+}

Reply via email to