From b1c14b36db0a5ff2e616ec590be141d649c92508 Mon Sep 17 00:00:00 2001 From: Christoph Mende Date: Wed, 11 Mar 2009 10:53:30 +0000 Subject: Avoid pre-compiling py files (bug #262098) (Portage version: 2.2_rc24/cvs/Linux x86_64) --- xfce-extra/exo/ChangeLog | 5 ++++- xfce-extra/exo/exo-0.3.100.ebuild | 9 ++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'xfce-extra') diff --git a/xfce-extra/exo/ChangeLog b/xfce-extra/exo/ChangeLog index d401d8909a74..735f2b2ad657 100644 --- a/xfce-extra/exo/ChangeLog +++ b/xfce-extra/exo/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for xfce-extra/exo # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-extra/exo/ChangeLog,v 1.80 2009/03/10 13:53:58 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/exo/ChangeLog,v 1.81 2009/03/11 10:53:30 angelos Exp $ + + 11 Mar 2009; Christoph Mende exo-0.3.100.ebuild: + Avoid pre-compiling py files (bug #262098) *exo-0.3.100 (10 Mar 2009) diff --git a/xfce-extra/exo/exo-0.3.100.ebuild b/xfce-extra/exo/exo-0.3.100.ebuild index a8706f03770a..af68bb35ae97 100644 --- a/xfce-extra/exo/exo-0.3.100.ebuild +++ b/xfce-extra/exo/exo-0.3.100.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-extra/exo/exo-0.3.100.ebuild,v 1.1 2009/03/10 13:53:58 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/exo/exo-0.3.100.ebuild,v 1.2 2009/03/11 10:53:30 angelos Exp $ EAPI=1 @@ -31,6 +31,13 @@ pkg_setup() { $(use_enable libnotify notifications) $(use_enable python)" } +src_unpack() { + xfce4_src_unpack + cd "${S}" + rm py-compile + ln -s /bin/true py-compile +} + pkg_postinst() { xfce4_pkg_postinst python_mod_optimize /usr/lib*/python*/site-packages -- cgit v1.2.3-65-gdbad