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

Contents of /eclass/distutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Fri Oct 25 19:55:52 2002 UTC (11 years, 8 months ago) by vapier
Branch: MAIN
CVS Tags: GENTOO_1_4_SNAP_2003010800
Changes since 1.3: +2 -2 lines
Header updates/cleanups

1 jnelson 1.1 # Copyright 2002 Gentoo Technologies, Inc.
2 vapier 1.4 # Distributed under the terms of the GNU General Public License v2
3 jnelson 1.1 # Author: Jon Nelson <jnelson@gentoo.org>
4 vapier 1.4 # $Header: /home/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.3 2002/10/20 22:24:07 jnelson Exp $
5 jnelson 1.1 # 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 jnelson 1.2 newdepend "virtual/python"
15 jnelson 1.1
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 jnelson 1.3 dodoc CHANGELOG COPYRIGHT KNOWN_BUGS MAINTAINERS
23 jnelson 1.1 dodoc CONTRIBUTORS LICENSE COPYING*
24     dodoc Change* MANIFEST* README* ${mydoc}
25     }

  ViewVC Help
Powered by ViewVC 1.1.20