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
commit08171db54b50b38521aab911772b57cd58f10d21 (patch)
tree6469e0a498c93bc647ec1c9d5613d93ca68b82f7 /eclass/distutils-r1.eclass
parentIntroduce functions to get the includedir for Python. (diff)
downloadgentoo-2-08171db54b50b38521aab911772b57cd58f10d21.tar.gz
gentoo-2-08171db54b50b38521aab911772b57cd58f10d21.tar.bz2
gentoo-2-08171db54b50b38521aab911772b57cd58f10d21.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