/[gentoo-x86]/eclass/gnome-python-common.eclass
Gentoo

Diff of /eclass/gnome-python-common.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.15 Revision 1.16
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/gnome-python-common.eclass,v 1.15 2012/02/24 09:10:16 patrick Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/gnome-python-common.eclass,v 1.16 2012/03/25 15:31:01 eva Exp $
4 4
5# Original Author: Arun Raghavan <ford_prefect@gentoo.org> (based on the 5# Original Author: Arun Raghavan <ford_prefect@gentoo.org> (based on the
6# gnome-python-desktop eclass by Jim Ramsay <lack@gentoo.org>) 6# gnome-python-desktop eclass by Jim Ramsay <lack@gentoo.org>)
7# 7#
8# Purpose: Provides common functionality required for building the gnome-python* 8# Purpose: Provides common functionality required for building the gnome-python*
82 has ${EAPI:-0} 0 1 && gnome-python-common_src_prepare 82 has ${EAPI:-0} 0 1 && gnome-python-common_src_prepare
83} 83}
84 84
85gnome-python-common_src_prepare() { 85gnome-python-common_src_prepare() {
86 gnome2_src_prepare 86 gnome2_src_prepare
87 87 python_clean_py-compile_files
88 # disable pyc compiling
89 if [[ -f py-compile ]]; then
90 rm py-compile
91 echo > py-compile
92 chmod +x py-compile
93 fi
94 88
95 # The .pc file is installed by respective gnome-python*-base package 89 # The .pc file is installed by respective gnome-python*-base package
96 sed -i '/^pkgconfig_DATA/d' Makefile.in || die "sed failed" 90 sed -i '/^pkgconfig_DATA/d' Makefile.in || die "sed failed"
97 sed -i '/^pkgconfigdir/d' Makefile.in || die "sed failed" 91 sed -i '/^pkgconfigdir/d' Makefile.in || die "sed failed"
98 92

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20