diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-09-28 19:11:05 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-09-28 19:11:05 +0000 |
commit | a8e4ea18dfa3eb3e09b06d5bbd6b473e6a580fea (patch) | |
tree | 130e9a4c439b7d6131ae0461d7f906190ee78e66 /eclass | |
parent | Version bump (diff) | |
download | historical-a8e4ea18dfa3eb3e09b06d5bbd6b473e6a580fea.tar.gz historical-a8e4ea18dfa3eb3e09b06d5bbd6b473e6a580fea.tar.bz2 historical-a8e4ea18dfa3eb3e09b06d5bbd6b473e6a580fea.zip |
Truncate .pydistutils.cfg in case we call distutils-r1_python_compile more than once.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 6 | ||||
-rw-r--r-- | eclass/distutils-r1.eclass | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 95734d2d7192..0ce1fb8c5818 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for eclass directory # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.995 2013/09/28 16:22:29 ottxor Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.996 2013/09/28 19:11:05 floppym Exp $ + + 28 Sep 2013; Mike Gilbert <floppym@gentoo.org> distutils-r1.eclass: + Truncate .pydistutils.cfg in case we call distutils-r1_python_compile more + than once. 28 Sep 2013; Christoph Junghans <ottxor@gentoo.org> cvs.eclass: added prefix support diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 5cca296a64a0..4947eedcb624 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.85 2013/09/27 19:21:43 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.86 2013/09/28 19:11:05 floppym Exp $ # @ECLASS: distutils-r1 # @MAINTAINER: @@ -348,7 +348,7 @@ distutils-r1_python_configure() { # Create implementation-specific configuration file for distutils, # setting proper build-dir paths. _distutils-r1_create_setup_cfg() { - cat >> "${HOME}"/.pydistutils.cfg <<-_EOF_ || die + cat > "${HOME}"/.pydistutils.cfg <<-_EOF_ || die [build] build-base = ${BUILD_DIR} |