diff options
author | Mike Gilbert <floppym@gentoo.org> | 2014-04-25 04:01:11 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2014-04-25 04:01:11 +0000 |
commit | c4dabe188ad48e2348a773bc3c28676368d912ae (patch) | |
tree | ecdf548b9e19ae5a107d679052e9869abf0eac34 /dev-python/pygments | |
parent | Whitespace (diff) | |
download | gentoo-2-c4dabe188ad48e2348a773bc3c28676368d912ae.tar.gz gentoo-2-c4dabe188ad48e2348a773bc3c28676368d912ae.tar.bz2 gentoo-2-c4dabe188ad48e2348a773bc3c28676368d912ae.zip |
Call 2to3 -f unicode for python3.2, thanks to Arfrever for the idea.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python/pygments')
-rw-r--r-- | dev-python/pygments/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/pygments/pygments-1.6_p20140324.ebuild | 9 |
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 } |