public inbox for gentoo-python@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-python] [PATCH] Export best implementation build dir as BUILD_DIR in common phases.
@ 2013-01-12 18:52 Michał Górny
  2013-01-12 19:04 ` [gentoo-python] " Mike Gilbert
  0 siblings, 1 reply; 3+ messages in thread
From: Michał Górny @ 2013-01-12 18:52 UTC (permalink / raw
  To: gentoo-python; +Cc: python, Michał Górny

This is more friendly than BEST_BUILD_DIR and should not cause trouble
in the common cases.
---
 gx86/eclass/distutils-r1.eclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass
index 8156a36..9d6c714 100644
--- a/gx86/eclass/distutils-r1.eclass
+++ b/gx86/eclass/distutils-r1.eclass
@@ -450,9 +450,11 @@ distutils-r1_run_phase() {
 # @DESCRIPTION:
 # Run the given command, restoring the best-implementation state.
 _distutils-r1_run_common_phase() {
+	local DISTUTILS_ORIG_BUILD_DIR=${BUILD_DIR}
+
 	local EPYTHON=${_DISTUTILS_BEST_IMPL[0]}
 	local PYTHON=${_DISTUTILS_BEST_IMPL[1]}
-	local BEST_BUILD_DIR=${_DISTUTILS_BEST_IMPL[2]}
+	local BUILD_DIR=${_DISTUTILS_BEST_IMPL[2]}
 	local PYTHONPATH=${_DISTUTILS_BEST_IMPL[3]}
 
 	export EPYTHON PYTHON PYTHONPATH
-- 
1.8.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-12 21:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-12 18:52 [gentoo-python] [PATCH] Export best implementation build dir as BUILD_DIR in common phases Michał Górny
2013-01-12 19:04 ` [gentoo-python] " Mike Gilbert
2013-01-12 21:35   ` Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox