/[gentoo-x86]/eclass/distutils.eclass
Gentoo

Diff of /eclass/distutils.eclass

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

Revision 1.41 Revision 1.42
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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/distutils.eclass,v 1.41 2007/07/04 19:38:06 lucass Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.42 2007/07/08 01:29:20 hawking Exp $
4# 4#
5# Author: Jon Nelson <jnelson@gentoo.org> 5# Author: Jon Nelson <jnelson@gentoo.org>
6# Current Maintainer: Alastair Tse <liquidx@gentoo.org> 6# Current Maintainer: Alastair Tse <liquidx@gentoo.org>
7# 7#
8# The distutils eclass is designed to allow easier installation of 8# The distutils eclass is designed to allow easier installation of
39 cd "${S}" 39 cd "${S}"
40 40
41 # remove ez_setup stuff to prevent packages 41 # remove ez_setup stuff to prevent packages
42 # from installing setuptools on their own 42 # from installing setuptools on their own
43 rm -rf ez_setup* 43 rm -rf ez_setup*
44 echo "def use_setuptools(): pass" > ez_setup.py 44 echo "def use_setuptools(*args, **kwargs): pass" > ez_setup.py
45} 45}
46 46
47distutils_src_compile() { 47distutils_src_compile() {
48 ${python} setup.py build "$@" || die "compilation failed" 48 ${python} setup.py build "$@" || die "compilation failed"
49} 49}

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.20