1 .TH "DISTUTILS.ECLASS" "5" "Jun 2003" "Portage 2.0.51" "portage"
3 distutils.eclass \- allow easier installation of distutils-based python modules
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.
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.
16 .B DOCS = \fI"<files to give to dodoc>"\fR
17 This will cause \fBsrc_install\fR to install a few extra documentation
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.
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.
31 Please report bugs via http://bugs.gentoo.org/
35 .BR /usr/portage/eclass/distutils.eclass
37 Mike Frysinger <vapier@gentoo.org>
39 $Header: /var/cvsroot/gentoo-src/portage/man/distutils.eclass.5,v 1.3.2.1 2005/01/15 00:19:36 vapier Exp $