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

Diff of /eclass/distutils.eclass

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

Revision 1.14 Revision 1.15
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.14 2003/09/09 22:50:02 liquidx Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.15 2003/10/02 23:14:17 liquidx 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
31 newdepend "virtual/python" 31 newdepend "virtual/python"
32 python="python" 32 python="python"
33fi 33fi
34 34
35distutils_src_compile() { 35distutils_src_compile() {
36 ${python} setup.py build ${@} || die "compilation failed" 36 ${python} setup.py build "$@" || die "compilation failed"
37} 37}
38 38
39distutils_src_install() { 39distutils_src_install() {
40 ${python} setup.py install --root=${D} ${@} || die 40 ${python} setup.py install --root=${D} "$@" || die
41 41
42 dodoc CHANGELOG COPYRIGHT KNOWN_BUGS MAINTAINERS 42 dodoc CHANGELOG COPYRIGHT KNOWN_BUGS MAINTAINERS PKG-INFO
43 dodoc CONTRIBUTORS LICENSE COPYING* 43 dodoc CONTRIBUTORS LICENSE COPYING*
44 dodoc Change* MANIFEST* README* 44 dodoc Change* MANIFEST* README*
45 45
46 [ -n "${DOCS}" ] && dodoc ${DOCS} 46 [ -n "${DOCS}" ] && dodoc ${DOCS}
47 47

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

  ViewVC Help
Powered by ViewVC 1.1.20