Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog distutils-r1.eclass
Date: Sat, 02 Mar 2013 07:13:36
Message-Id: 20130302071332.643032171D@flycatcher.gentoo.org
1 mgorny 13/03/02 07:13:32
2
3 Modified: ChangeLog distutils-r1.eclass
4 Log:
5 In-source builds: append "build/" subdir to the BUILD_DIR variable. It can be used alike in out-of-source builds now.
6
7 Revision Changes Path
8 1.696 eclass/ChangeLog
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.696&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.696&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.695&r2=1.696
13
14 Index: ChangeLog
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
17 retrieving revision 1.695
18 retrieving revision 1.696
19 diff -u -r1.695 -r1.696
20 --- ChangeLog 27 Feb 2013 23:23:11 -0000 1.695
21 +++ ChangeLog 2 Mar 2013 07:13:32 -0000 1.696
22 @@ -1,6 +1,10 @@
23 # ChangeLog for eclass directory
24 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.695 2013/02/27 23:23:11 mgorny Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.696 2013/03/02 07:13:32 mgorny Exp $
27 +
28 + 02 Mar 2013; Michał Górny <mgorny@g.o> distutils-r1.eclass:
29 + In-source builds: append "build/" subdir to the BUILD_DIR variable. It can be
30 + used alike in out-of-source builds now.
31
32 27 Feb 2013; Michał Górny <mgorny@g.o> multilib-build.eclass:
33 Enable x32 ABI support.
34
35
36
37 1.58 eclass/distutils-r1.eclass
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/distutils-r1.eclass?rev=1.58&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/distutils-r1.eclass?rev=1.58&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/distutils-r1.eclass?r1=1.57&r2=1.58
42
43 Index: distutils-r1.eclass
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v
46 retrieving revision 1.57
47 retrieving revision 1.58
48 diff -u -r1.57 -r1.58
49 --- distutils-r1.eclass 27 Feb 2013 21:02:59 -0000 1.57
50 +++ distutils-r1.eclass 2 Mar 2013 07:13:32 -0000 1.58
51 @@ -1,6 +1,6 @@
52 # Copyright 1999-2013 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.57 2013/02/27 21:02:59 mgorny Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.58 2013/03/02 07:13:32 mgorny Exp $
56
57 # @ECLASS: distutils-r1
58 # @MAINTAINER:
59 @@ -285,11 +285,6 @@
60 # 5) 'install' needs to go before 'bdist_egg' or the latter would
61 # re-set install paths.
62
63 - if [[ ${DISTUTILS_IN_SOURCE_BUILD} ]]; then
64 - # use 'build' subdirectory to reduce the risk of collisions
65 - local BUILD_DIR=${BUILD_DIR}/build
66 - fi
67 -
68 TEST_DIR=${BUILD_DIR}/test
69 local bindir=${TEST_DIR}/scripts
70 local libdir=${TEST_DIR}/lib
71 @@ -540,8 +535,9 @@
72 # directory, with BUILD_DIR pointing at the build directory
73 # and PYTHONPATH having an entry for the module build directory.
74 #
75 -# If in-source builds are used, the command is executed in the BUILD_DIR
76 -# (the directory holding per-implementation copy of sources).
77 +# If in-source builds are used, the command is executed in the directory
78 +# holding the per-implementation copy of sources. BUILD_DIR points
79 +# to the 'build' subdirectory.
80 distutils-r1_run_phase() {
81 debug-print-function ${FUNCNAME} "${@}"
82
83 @@ -549,6 +545,7 @@
84 if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
85 pushd "${BUILD_DIR}" >/dev/null || die
86 fi
87 + local BUILD_DIR=${BUILD_DIR}/build
88 else
89 local PYTHONPATH="${BUILD_DIR}/lib:${PYTHONPATH}"
90 export PYTHONPATH