diff options
author | 2008-10-27 00:19:46 +0000 | |
---|---|---|
committer | 2008-10-27 00:19:46 +0000 | |
commit | 54bf877b432b5bdbdec317d95c04bb391d5ee3fc (patch) | |
tree | 6f214d81f907fe99d52ba05097848adba9bfd1da /eclass | |
parent | Add python_need_rebuild marker function. The first step for a faster python-u... (diff) | |
download | gentoo-2-54bf877b432b5bdbdec317d95c04bb391d5ee3fc.tar.gz gentoo-2-54bf877b432b5bdbdec317d95c04bb391d5ee3fc.tar.bz2 gentoo-2-54bf877b432b5bdbdec317d95c04bb391d5ee3fc.zip |
distutils_src_install should call python_need_rebuild.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/distutils.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/distutils.eclass b/eclass/distutils.eclass index 4ad5bceb481c..6e9ec0c52326 100644 --- a/eclass/distutils.eclass +++ b/eclass/distutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.52 2008/09/24 16:45:08 hawking Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.53 2008/10/27 00:19:46 hawking Exp $ # @ECLASS: distutils.eclass # @MAINTAINER: @@ -63,6 +63,9 @@ distutils_src_compile() { # PKG-INFO, CONTRIBUTORS, TODO, NEWS, MANIFEST*, README*, and AUTHORS) distutils_src_install() { + # Mark the package to be rebuilt after a python upgrade. + python_need_rebuild + # need this for python-2.5 + setuptools in cases where # a package uses distutils but does not install anything # in site-packages. (eg. dev-java/java-config-2.x) |