1 | # Copyright 1999-2010 Gentoo Foundation |
1 | # Copyright 1999-2010 Gentoo Foundation |
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.70 2010/02/04 18:31:44 arfrever Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.71 2010/02/07 21:17:15 pva Exp $ |
4 | |
4 | |
5 | # @ECLASS: distutils.eclass |
5 | # @ECLASS: distutils.eclass |
6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
7 | # Gentoo Python Project <python@gentoo.org> |
7 | # Gentoo Python Project <python@gentoo.org> |
8 | # |
8 | # |
9 | # Original author: Jon Nelson <jnelson@gentoo.org> |
9 | # Original author: Jon Nelson <jnelson@gentoo.org> |
10 | # @BLURB: Eclass for packages with build systems using Distutils |
10 | # @BLURB: Eclass for packages with build systems using Distutils |
11 | # @DESCRIPTION: |
11 | # @DESCRIPTION: |
12 | # The distutils eclass defines phase functions for packages with build systems using Distutils |
12 | # The distutils eclass defines phase functions for packages with build systems using Distutils |
13 | |
13 | |
14 | inherit multilib python |
14 | inherit eutils multilib python |
15 | |
15 | |
16 | case "${EAPI:-0}" in |
16 | case "${EAPI:-0}" in |
17 | 0|1) |
17 | 0|1) |
18 | EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_postinst pkg_postrm |
18 | EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_postinst pkg_postrm |
19 | ;; |
19 | ;; |