Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/jinja: jinja-2.6.ebuild ChangeLog jinja-2.5.5.ebuild
Date: Tue, 01 May 2012 08:35:36
Message-Id: 20120501083512.5DCE02004B@flycatcher.gentoo.org
1 xarthisius 12/05/01 08:35:12
2
3 Modified: jinja-2.6.ebuild ChangeLog
4 Removed: jinja-2.5.5.ebuild
5 Log:
6 Fix building docs with python3 wrt #410873 by Ian Abbott <ian@××××××.org>. Thanks to Arfrever and Ian Delaney for solution and patch respectively. Drop old
7
8 (Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.13 dev-python/jinja/jinja-2.6.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/jinja-2.6.ebuild?rev=1.13&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/jinja-2.6.ebuild?rev=1.13&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/jinja-2.6.ebuild?r1=1.12&r2=1.13
16
17 Index: jinja-2.6.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/jinja/jinja-2.6.ebuild,v
20 retrieving revision 1.12
21 retrieving revision 1.13
22 diff -u -r1.12 -r1.13
23 --- jinja-2.6.ebuild 10 Mar 2012 17:48:40 -0000 1.12
24 +++ jinja-2.6.ebuild 1 May 2012 08:35:11 -0000 1.13
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2012 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/jinja-2.6.ebuild,v 1.12 2012/03/10 17:48:40 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/jinja-2.6.ebuild,v 1.13 2012/05/01 08:35:11 xarthisius Exp $
30
31 EAPI=4
32
33 @@ -9,8 +9,8 @@
34
35 inherit distutils
36
37 -MY_PN="Jinja2"
38 -MY_P="${MY_PN}-${PV}"
39 +MY_PN=Jinja2
40 +MY_P=${MY_PN}-${PV}
41
42 DESCRIPTION="A small but fast and easy to use stand-alone template engine written in pure python."
43 HOMEPAGE="http://jinja.pocoo.org/ http://pypi.python.org/pypi/Jinja2"
44 @@ -27,7 +27,7 @@
45 DEPEND="${RDEPEND}
46 doc? ( >=dev-python/sphinx-0.6 )"
47
48 -S="${WORKDIR}/${MY_P}"
49 +S=${WORKDIR}/${MY_P}
50
51 DOCS="CHANGES"
52 PYTHON_MODNAME="jinja2"
53 @@ -40,7 +40,11 @@
54 if use doc; then
55 einfo "Generation of documentation"
56 pushd docs > /dev/null
57 - PYTHONPATH=".." emake html
58 + if [[ "$(python_get_version -f -l --major)" == "3" ]]; then
59 + # https://github.com/mitsuhiko/jinja2/issues/115
60 + 2to3-$(PYTHON -f --ABI) -nw --no-diffs jinjaext.py || die
61 + fi
62 + PYTHONPATH="$(ls -d ../build-$(PYTHON -f --ABI)/lib*)" emake html
63 popd > /dev/null
64 fi
65 }
66
67
68
69 1.59 dev-python/jinja/ChangeLog
70
71 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/ChangeLog?rev=1.59&view=markup
72 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/ChangeLog?rev=1.59&content-type=text/plain
73 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/ChangeLog?r1=1.58&r2=1.59
74
75 Index: ChangeLog
76 ===================================================================
77 RCS file: /var/cvsroot/gentoo-x86/dev-python/jinja/ChangeLog,v
78 retrieving revision 1.58
79 retrieving revision 1.59
80 diff -u -r1.58 -r1.59
81 --- ChangeLog 10 Mar 2012 17:48:40 -0000 1.58
82 +++ ChangeLog 1 May 2012 08:35:11 -0000 1.59
83 @@ -1,6 +1,12 @@
84 # ChangeLog for dev-python/jinja
85 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
86 -# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/ChangeLog,v 1.58 2012/03/10 17:48:40 jlec Exp $
87 +# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/ChangeLog,v 1.59 2012/05/01 08:35:11 xarthisius Exp $
88 +
89 + 01 May 2012; Kacper Kowalik <xarthisius@g.o> -jinja-2.5.5.ebuild,
90 + jinja-2.6.ebuild:
91 + Fix building docs with python3 wrt #410873 by Ian Abbott <ian@××××××.org>.
92 + Thanks to Arfrever and Ian Delaney for solution and patch respectively. Drop
93 + old
94
95 10 Mar 2012; Justin Lecher <jlec@g.o> jinja-2.6.ebuild, metadata.xml:
96 Move to EAPI=4 and import pypy fixes from progress overlay, thanks Arfrever