From d02a9c6f8c3d7246f5baf75adc11b5ed8770f5a9 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 27 Dec 2012 22:57:28 +0000 Subject: Pass --build-scripts path to setup.py (when out-of-source builds are used). --- eclass/ChangeLog | 5 ++++- eclass/distutils-r1.eclass | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 478ebbd26ff5..1a3a47b7d8a1 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.578 2012/12/27 22:56:53 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.579 2012/12/27 22:57:28 mgorny Exp $ + + 27 Dec 2012; Michał Górny distutils-r1.eclass: + Pass --build-scripts path to setup.py (when out-of-source builds are used). 27 Dec 2012; Michał Górny python-utils-r1.eclass: Introduce functions to get the includedir for Python. diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 54c3afd32b42..e288c2ca3178 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.33 2012/12/16 23:26:15 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.34 2012/12/27 22:57:28 mgorny Exp $ # @ECLASS: distutils-r1 # @MAINTAINER: @@ -188,6 +188,8 @@ esetup.py() { --build-base "${BUILD_DIR}" # using a single directory for them helps us export ${PYTHONPATH} --build-lib "${BUILD_DIR}/lib" + # make the ebuild writer lives easier + --build-scripts "${BUILD_DIR}/scripts" ) fi -- cgit v1.2.3-65-gdbad