Gentoo Archives: gentoo-python

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

Replies