summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-05-02 21:40:42 +0000
committerMike Gilbert <floppym@gentoo.org>2012-05-02 21:40:42 +0000
commit05fce43b24b3b6054379d8e7ced3d0d174c9a60f (patch)
tree4cca6b73938dcca0a69bf36cd6cffa7df72e38f6 /eclass
parentdev-util/pkgconfig -> virtual/pkgconfig (diff)
downloadhistorical-05fce43b24b3b6054379d8e7ced3d0d174c9a60f.tar.gz
historical-05fce43b24b3b6054379d8e7ced3d0d174c9a60f.tar.bz2
historical-05fce43b24b3b6054379d8e7ced3d0d174c9a60f.zip
Fix bytecode generation with Python 3, bug 413771. Patch by James Rowe.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/python-distutils-ng.eclass4
2 files changed, 6 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 8cb3ee4b4b6f..9837b300de25 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.233 2012/05/02 21:05:38 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.234 2012/05/02 21:40:42 floppym Exp $
+
+ 02 May 2012; Mike Gilbert <floppym@gentoo.org> python-distutils-ng.eclass:
+ Fix bytecode generation with Python 3, bug 413771. Patch by James Rowe.
02 May 2012; Gilles Dartiguelongue <eva@gentoo.org> gnome2-utils.eclass,
gnome2.eclass:
diff --git a/eclass/python-distutils-ng.eclass b/eclass/python-distutils-ng.eclass
index de22bb0c9d63..72541207a5cd 100644
--- a/eclass/python-distutils-ng.eclass
+++ b/eclass/python-distutils-ng.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/python-distutils-ng.eclass,v 1.13 2012/04/30 09:51:00 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-distutils-ng.eclass,v 1.14 2012/05/02 21:40:42 floppym Exp $
# @ECLASS: python-distutils-ng
# @MAINTAINER:
@@ -397,7 +397,7 @@ python-distutils-ng_src_install() {
use "python_targets_${impl}" ${PYTHON_COMPAT} || continue
PYTHON="$(_python-distutils-ng_get_binary_for_implementation "${impl}")"
- for accessible_path in $(${PYTHON} -c 'import sys; print " ".join(sys.path)'); do
+ for accessible_path in $(${PYTHON} -c 'import sys; print(" ".join(sys.path))'); do
[[ -d "${D}/${accessible_path}" ]] || continue
_python-distutils-ng_has_compileall "${impl}" || continue