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

Diff of /eclass/distutils.eclass

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

Revision 1.22 Revision 1.23
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.22 2003/11/25 09:44:18 liquidx Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.23 2004/04/11 05:46:09 mr_bones_ 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
25INHERITED="$INHERITED $ECLASS" 25INHERITED="$INHERITED $ECLASS"
26 26
27# This helps make it possible to add extensions to python slots. 27# This helps make it possible to add extensions to python slots.
28# Normally only a -py21- ebuild would set PYTHON_SLOT_VERSION. 28# Normally only a -py21- ebuild would set PYTHON_SLOT_VERSION.
29if [ "${PYTHON_SLOT_VERSION}" = 2.1 ] ; then 29if [ "${PYTHON_SLOT_VERSION}" = 2.1 ] ; then
30 newdepend "=dev-lang/python-2.1*" 30 DEPEND="=dev-lang/python-2.1*"
31 python="python2.1" 31 python="python2.1"
32else 32else
33 newdepend "virtual/python" 33 DEPEND="virtual/python"
34 python="python" 34 python="python"
35fi 35fi
36 36
37distutils_src_compile() { 37distutils_src_compile() {
38 ${python} setup.py build "$@" || die "compilation failed" 38 ${python} setup.py build "$@" || die "compilation failed"

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.20