Migration (without history) of the current stable line to subversion.
[portage.git] / man / distutils.eclass.5
1 .TH "DISTUTILS.ECLASS" "5" "Jun 2003" "Portage 2.0.51" "portage"
2 .SH "NAME"
3 distutils.eclass \- allow easier installation of distutils-based python modules
4 .SH "DESCRIPTION"
5 The \fBdistutils\fR eclass is designed to allow easier installation of
6 distutils-based python modules and their incorporation into the Gentoo
7 Linux system.  The eclass defines \fBsrc_compile\fR and \fBsrc_install\fR
8 for you.  You should be able to make a quick ebuild without setting up
9 any extra variables or functions.
10 .SH "VARIABLES"
11 .TP
12 .B PYTHON_SLOT_VERSION = \fI"[0|2.1]"\fR
13 This allows you to depend on python-2.1.  This is usually only
14 needed by a -py21- ebuild.  Otherwise you should not have to set this.
15 .TP
16 .B DOCS = \fI"<files to give to dodoc>"\fR
17 This will cause \fBsrc_install\fR to install a few extra documentation
18 files than normal.
19 .SH "FUNCTIONS"
20 .TP
21 .B distutils_python_version
22 This will setup the variables \fBPYVER_MAJOR\fR, \fBPYVER_MINOR\fR,
23 and \fBPYVER\fR with the corresponding values of the python version.  
24 .TP
25 .B distutils_python_tkinter
26 If the package requires tkinter support, then calling this function
27 will cause the ebuild to fail if tkinter support does not exist.  An
28 informative message will be displayed telling the user they need to
29 recompile python with tkinter support for the ebuild to emerge.
30 .SH "REPORTING BUGS"
31 Please report bugs via http://bugs.gentoo.org/
32 .SH "SEE ALSO"
33 .BR ebuild (5)
34 .SH "FILES"
35 .BR /usr/portage/eclass/distutils.eclass
36 .SH "AUTHORS"
37 Mike Frysinger <vapier@gentoo.org>
38 .SH "CVS HEADER"
39 $Header: /var/cvsroot/gentoo-src/portage/man/distutils.eclass.5,v 1.3.2.1 2005/01/15 00:19:36 vapier Exp $