summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-04-18 15:47:28 +0000
committerMichał Górny <mgorny@gentoo.org>2013-04-18 15:47:28 +0000
commit5723448c155f04491fc06d94f70551587d939711 (patch)
tree8dd9e9a20c602da019a7af0ac24eaf84adaa0c45 /eclass
parentStable for HPPA (bug #465420). (diff)
downloadhistorical-5723448c155f04491fc06d94f70551587d939711.tar.gz
historical-5723448c155f04491fc06d94f70551587d939711.tar.bz2
historical-5723448c155f04491fc06d94f70551587d939711.zip
Fix python_*_all() phases with DISTUTILS_SINGLE_IMPL.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/distutils-r1.eclass15
2 files changed, 14 insertions, 6 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index af7c68b64b55..7582f8f44abd 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.793 2013/04/17 20:59:24 tomwij Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.794 2013/04/18 15:47:28 mgorny Exp $
+
+ 18 Apr 2013; Michał Górny <mgorny@gentoo.org> distutils-r1.eclass:
+ Fix python_*_all() phases with DISTUTILS_SINGLE_IMPL.
17 Apr 2013; Tom Wijsman <TomWij@gentoo.org> kernel-2.eclass:
Reverted .tmp_gas_check patch, see bug #336732.
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index c3d15cdaeb6a..991d0a1f083f 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.68 2013/04/13 14:01:10 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.69 2013/04/18 15:47:28 mgorny Exp $
# @ECLASS: distutils-r1
# @MAINTAINER:
@@ -532,11 +532,16 @@ distutils-r1_run_phase() {
_distutils-r1_run_common_phase() {
local DISTUTILS_ORIG_BUILD_DIR=${BUILD_DIR}
- local MULTIBUILD_VARIANTS
- _python_obtain_impls
+ if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
+ local MULTIBUILD_VARIANTS
+ _python_obtain_impls
- multibuild_for_best_variant _python_multibuild_wrapper \
- distutils-r1_run_phase "${@}"
+ multibuild_for_best_variant _python_multibuild_wrapper \
+ distutils-r1_run_phase "${@}"
+ else
+ # semi-hack, be careful.
+ _distutils-r1_run_foreach_impl "${@}"
+ fi
}
# @FUNCTION: _distutils-r1_run_foreach_impl