diff options
author | Mike Gilbert <floppym@gentoo.org> | 2014-06-29 14:24:22 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2014-06-29 14:24:22 +0000 |
commit | 23edd11b0635ed6aecda8bbfa51b54e802c50ae3 (patch) | |
tree | 9398ba3987c1c6d8239132dca064e57184ad5020 /eclass/distutils-r1.eclass | |
parent | Version bump (diff) | |
download | gentoo-2-23edd11b0635ed6aecda8bbfa51b54e802c50ae3.tar.gz gentoo-2-23edd11b0635ed6aecda8bbfa51b54e802c50ae3.tar.bz2 gentoo-2-23edd11b0635ed6aecda8bbfa51b54e802c50ae3.zip |
Attempt to use a UTF-8 locale if one is available to avoid errors when setup.py calls open() with no encoding.
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index e5a5cd4e9460..a564e7c59bb7 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.99 2014/06/22 07:01:37 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.100 2014/06/29 14:24:22 floppym Exp $ # @ECLASS: distutils-r1 # @MAINTAINER: @@ -690,6 +690,8 @@ distutils-r1_src_prepare() { } distutils-r1_src_configure() { + python_export_utf8_locale + if declare -f python_configure >/dev/null; then _distutils-r1_run_foreach_impl python_configure fi |