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

Diff of /eclass/distutils.eclass

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

Revision 1.9 Revision 1.10
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
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.9 2003/03/06 05:47:32 kutsuya Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.10 2003/04/04 01:38:10 liquidx Exp $
4# 4#
5# Author: Jon Nelson <jnelson@gentoo.org> 5# Author: Jon Nelson <jnelson@gentoo.org>
6# 6#
7# The distutils eclass is designed to allow easier installation of 7# The distutils eclass is designed to allow easier installation of
8# distutils-based python modules, and their incorporation into 8# distutils-based python modules, and their incorporation into
22 newdepend "virtual/python" 22 newdepend "virtual/python"
23 python="python" 23 python="python"
24fi 24fi
25 25
26distutils_src_compile() { 26distutils_src_compile() {
27 ${python} setup.py build || die "compilation failed" 27 ${python} setup.py build ${@} || die "compilation failed"
28} 28}
29 29
30distutils_src_install() { 30distutils_src_install() {
31 ${python} setup.py install --root=${D} || die 31 ${python} setup.py install --root=${D} ${@} || die
32 dodoc CHANGELOG COPYRIGHT KNOWN_BUGS MAINTAINERS 32 dodoc CHANGELOG COPYRIGHT KNOWN_BUGS MAINTAINERS
33 dodoc CONTRIBUTORS LICENSE COPYING* 33 dodoc CONTRIBUTORS LICENSE COPYING*
34 dodoc Change* MANIFEST* README* ${mydoc} 34 dodoc Change* MANIFEST* README* ${mydoc}
35} 35}
36 36

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20