summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pygments')
-rw-r--r--dev-python/pygments/ChangeLog5
-rw-r--r--dev-python/pygments/pygments-1.6_p20140324.ebuild9
2 files changed, 12 insertions, 2 deletions
diff --git a/dev-python/pygments/ChangeLog b/dev-python/pygments/ChangeLog
index a538e25dd4b0..6bdade0e6162 100644
--- a/dev-python/pygments/ChangeLog
+++ b/dev-python/pygments/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pygments
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/ChangeLog,v 1.122 2014/04/01 14:43:08 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/ChangeLog,v 1.123 2014/04/25 04:01:11 floppym Exp $
+
+ 25 Apr 2014; Mike Gilbert <floppym@gentoo.org> pygments-1.6_p20140324.ebuild:
+ Call 2to3 -f unicode for python3.2, thanks to Arfrever for the idea.
01 Apr 2014; Mike Gilbert <floppym@gentoo.org> pygments-1.6_p20140324.ebuild:
Build docs using sphinx, bug 506414 by Juergen Rose.
diff --git a/dev-python/pygments/pygments-1.6_p20140324.ebuild b/dev-python/pygments/pygments-1.6_p20140324.ebuild
index 5a36d1e4bae2..9c9b18d49afc 100644
--- a/dev-python/pygments/pygments-1.6_p20140324.ebuild
+++ b/dev-python/pygments/pygments-1.6_p20140324.ebuild
@@ -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/dev-python/pygments/pygments-1.6_p20140324.ebuild,v 1.3 2014/04/01 14:43:08 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/pygments-1.6_p20140324.ebuild,v 1.4 2014/04/25 04:01:11 floppym Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} pypy pypy2_0 )
@@ -31,6 +31,13 @@ DEPEND="${RDEPEND}
#S="${WORKDIR}/${MY_P}"
+python_compile() {
+ distutils-r1_python_compile
+ if [[ ${EPYTHON} == python3.2 ]]; then
+ 2to3 --no-diffs -n -w -f unicode "${BUILD_DIR}/lib" || die
+ fi
+}
+
python_compile_all() {
use doc && emake -C doc html
}