summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-09-28 19:11:05 +0000
committerMike Gilbert <floppym@gentoo.org>2013-09-28 19:11:05 +0000
commite74ef37830668f9f9d6524812a4af7698742b29d (patch)
tree111fb5f34dc6d89b903b8e34d7d3f60c0357c116 /eclass
parentVersion bump (diff)
downloadgentoo-2-e74ef37830668f9f9d6524812a4af7698742b29d.tar.gz
gentoo-2-e74ef37830668f9f9d6524812a4af7698742b29d.tar.bz2
gentoo-2-e74ef37830668f9f9d6524812a4af7698742b29d.zip
Truncate .pydistutils.cfg in case we call distutils-r1_python_compile more than once.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/distutils-r1.eclass4
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}