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 /eclass/distutils-r1.eclass
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).
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass4
1 files changed, 3 insertions, 1 deletions
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