| 1 | # Copyright 1999-2008 Gentoo Foundation |
1 | # Copyright 1999-2008 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.52 2008/09/24 16:45:08 hawking Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.53 2008/10/27 00:19:46 hawking Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: distutils.eclass |
5 | # @ECLASS: distutils.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # <python@gentoo.org> |
7 | # <python@gentoo.org> |
| 8 | # |
8 | # |
| … | |
… | |
| 60 | # @DESCRIPTION: |
60 | # @DESCRIPTION: |
| 61 | # The distutils src_install function, this function is exported. |
61 | # The distutils src_install function, this function is exported. |
| 62 | # It also installs the "standard docs" (CHANGELOG, Change*, KNOWN_BUGS, MAINTAINERS, |
62 | # It also installs the "standard docs" (CHANGELOG, Change*, KNOWN_BUGS, MAINTAINERS, |
| 63 | # PKG-INFO, CONTRIBUTORS, TODO, NEWS, MANIFEST*, README*, and AUTHORS) |
63 | # PKG-INFO, CONTRIBUTORS, TODO, NEWS, MANIFEST*, README*, and AUTHORS) |
| 64 | distutils_src_install() { |
64 | distutils_src_install() { |
|
|
65 | |
|
|
66 | # Mark the package to be rebuilt after a python upgrade. |
|
|
67 | python_need_rebuild |
| 65 | |
68 | |
| 66 | # need this for python-2.5 + setuptools in cases where |
69 | # need this for python-2.5 + setuptools in cases where |
| 67 | # a package uses distutils but does not install anything |
70 | # a package uses distutils but does not install anything |
| 68 | # in site-packages. (eg. dev-java/java-config-2.x) |
71 | # in site-packages. (eg. dev-java/java-config-2.x) |
| 69 | # - liquidx (14/08/2006) |
72 | # - liquidx (14/08/2006) |