Gentoo Archives: gentoo-python

From: Mike Gilbert <floppym@g.o>
To: "Michał Górny" <mgorny@g.o>
Cc: gentoo-python@l.g.o, python@g.o
Subject: [gentoo-python] Re: [PATCH] Pass --build-scripts in out-of-source builds.
Date: Thu, 27 Dec 2012 22:16:00
Message-Id: CAJ0EP41v0tBPJ3pXgVOzmY_1b0n-9PcGs4As7rTAeHSpzCHyjw@mail.gmail.com
In Reply to: [gentoo-python] [PATCH] Pass --build-scripts in out-of-source builds. by "Michał Górny"
1 On Thu, Dec 27, 2012 at 4:30 PM, Michał Górny <mgorny@g.o> wrote:
2 > We're passing --build-lib anyway -- it adds a bit of consistency to
3 > this. Python appends the language version to the 'scripts' build dir --
4 > we don't need it, so it makes using the scripts easier.
5 > ---
6 > gx86/eclass/distutils-r1.eclass | 2 ++
7 > 1 file changed, 2 insertions(+)
8 >
9 > diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass
10 > index 54c3afd..ceaf6ab 100644
11 > --- a/gx86/eclass/distutils-r1.eclass
12 > +++ b/gx86/eclass/distutils-r1.eclass
13 > @@ -188,6 +188,8 @@ esetup.py() {
14 > --build-base "${BUILD_DIR}"
15 > # using a single directory for them helps us export ${PYTHONPATH}
16 > --build-lib "${BUILD_DIR}/lib"
17 > + # make the ebuild writer lives easier
18 > + --build-scripts "${BUILD_DIR}/scripts"
19 > )
20 > fi
21 >
22 > --
23 > 1.8.0.2
24 >
25
26 lgtm