diff options
author | 2012-03-25 15:31:01 +0000 | |
---|---|---|
committer | 2012-03-25 15:31:01 +0000 | |
commit | 92f96241f60bc9ca6d1136622c5db286c3ae7806 (patch) | |
tree | 65acb42168e004f60a819c8f0c810e061ae7c7a4 /eclass | |
parent | ia64/m68k/s390/sh/sparc stable wrt #400137 (diff) | |
download | gentoo-2-92f96241f60bc9ca6d1136622c5db286c3ae7806.tar.gz gentoo-2-92f96241f60bc9ca6d1136622c5db286c3ae7806.tar.bz2 gentoo-2-92f96241f60bc9ca6d1136622c5db286c3ae7806.zip |
Replace old py-compile trick by the one from python eclass.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 6 | ||||
-rw-r--r-- | eclass/gnome-python-common.eclass | 10 |
2 files changed, 7 insertions, 9 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index edc913e5d30b..084f3ae1026c 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for eclass directory # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.184 2012/03/24 20:44:51 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.185 2012/03/25 15:31:01 eva Exp $ + + 25 Mar 2012; Gilles Dartiguelongue <eva@gentoo.org> + gnome-python-common.eclass: + Replace old py-compile trick by the one from python eclass. 24 Mar 2012; Andreas K. Huettel <dilfridge@gentoo.org> kde4-meta.eclass: Make opengl dependency soft in kde-workspace (except kwin) diff --git a/eclass/gnome-python-common.eclass b/eclass/gnome-python-common.eclass index e01a439e86c2..0306e9e6b54f 100644 --- a/eclass/gnome-python-common.eclass +++ b/eclass/gnome-python-common.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnome-python-common.eclass,v 1.15 2012/02/24 09:10:16 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnome-python-common.eclass,v 1.16 2012/03/25 15:31:01 eva Exp $ # Original Author: Arun Raghavan <ford_prefect@gentoo.org> (based on the # gnome-python-desktop eclass by Jim Ramsay <lack@gentoo.org>) @@ -84,13 +84,7 @@ gnome-python-common_src_unpack() { gnome-python-common_src_prepare() { gnome2_src_prepare - - # disable pyc compiling - if [[ -f py-compile ]]; then - rm py-compile - echo > py-compile - chmod +x py-compile - fi + python_clean_py-compile_files # The .pc file is installed by respective gnome-python*-base package sed -i '/^pkgconfig_DATA/d' Makefile.in || die "sed failed" |