summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-10-27 00:19:46 +0000
committerAli Polatel <hawking@gentoo.org>2008-10-27 00:19:46 +0000
commitd94a0b2232cc06d116c8875fb08133c3340027dc (patch)
treec4023b21a85fd42b4e690c9e5fd9a61ca521186b /eclass
parentAdd python_need_rebuild marker function. The first step for a faster python-u... (diff)
downloadhistorical-d94a0b2232cc06d116c8875fb08133c3340027dc.tar.gz
historical-d94a0b2232cc06d116c8875fb08133c3340027dc.tar.bz2
historical-d94a0b2232cc06d116c8875fb08133c3340027dc.zip
distutils_src_install should call python_need_rebuild.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/distutils.eclass5
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)