summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-12-27 22:57:28 +0000
committerMichał Górny <mgorny@gentoo.org>2012-12-27 22:57:28 +0000
commitd02a9c6f8c3d7246f5baf75adc11b5ed8770f5a9 (patch)
treec054a1597fdeb5b6d45979afb10b8be3e85c1c6f
parentIntroduce functions to get the includedir for Python. (diff)
downloadhistorical-d02a9c6f8c3d7246f5baf75adc11b5ed8770f5a9.tar.gz
historical-d02a9c6f8c3d7246f5baf75adc11b5ed8770f5a9.tar.bz2
historical-d02a9c6f8c3d7246f5baf75adc11b5ed8770f5a9.zip
Pass --build-scripts path to setup.py (when out-of-source builds are used).
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/distutils-r1.eclass4
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 <mgorny@gentoo.org> distutils-r1.eclass:
+ Pass --build-scripts path to setup.py (when out-of-source builds are used).
27 Dec 2012; Michał Górny <mgorny@gentoo.org> 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