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

Contents of /eclass/distutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Oct 20 22:24:07 2002 UTC (12 years ago) by jnelson
Branch: MAIN
Changes since 1.2: +2 -2 lines
fix space/tab issue

1 # Copyright 2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2
3 # Author: Jon Nelson <jnelson@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.2 2002/08/02 01:44:05 jnelson Exp $
5 # The distutils eclass is designed to allow easier installation of
6 # distutils-based python modules, and their incorporation into
7 # the Gentoo Linux system.
8
9 ECLASS=distutils
10 INHERITED="$INHERITED $ECLASS"
11
12 EXPORT_FUNCTIONS src_compile src_install
13
14 newdepend "virtual/python"
15
16 distutils_src_compile() {
17 python setup.py build || die "compilation failed"
18 }
19
20 distutils_src_install() {
21 python setup.py install --root=${D} || die
22 dodoc CHANGELOG COPYRIGHT KNOWN_BUGS MAINTAINERS
23 dodoc CONTRIBUTORS LICENSE COPYING*
24 dodoc Change* MANIFEST* README* ${mydoc}
25 }

  ViewVC Help
Powered by ViewVC 1.1.20