From: | "Dirkjan Ochtman (djc)" <djc@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/jinja: ChangeLog jinja-2.5.2.ebuild |
Date: | Wed, 18 Aug 2010 09:49:52 |
Message-Id: | 20100818094948.49C3F2CFB5@corvid.gentoo.org |
1 | djc 10/08/18 09:49:47 |
2 | |
3 | Modified: ChangeLog |
4 | Added: jinja-2.5.2.ebuild |
5 | Log: |
6 | Version bump to 2.5.2, new dep requires keyword drop. |
7 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.23 dev-python/jinja/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/ChangeLog?rev=1.23&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/ChangeLog?rev=1.23&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/ChangeLog?r1=1.22&r2=1.23 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/jinja/ChangeLog,v |
19 | retrieving revision 1.22 |
20 | retrieving revision 1.23 |
21 | diff -u -r1.22 -r1.23 |
22 | --- ChangeLog 18 Jul 2010 18:11:48 -0000 1.22 |
23 | +++ ChangeLog 18 Aug 2010 09:49:47 -0000 1.23 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-python/jinja |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/ChangeLog,v 1.22 2010/07/18 18:11:48 armin76 Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/ChangeLog,v 1.23 2010/08/18 09:49:47 djc Exp $ |
29 | + |
30 | +*jinja-2.5.2 (18 Aug 2010) |
31 | + |
32 | + 18 Aug 2010; Dirkjan Ochtman <djc@g.o> +jinja-2.5.2.ebuild: |
33 | + Version bump to 2.5.2. |
34 | |
35 | 18 Jul 2010; Raúl Porcel <armin76@g.o> jinja-2.5.ebuild: |
36 | alpha/arm/ia64/s390/sh/sparc stable wrt #325905 |
37 | |
38 | |
39 | |
40 | 1.1 dev-python/jinja/jinja-2.5.2.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/jinja-2.5.2.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/jinja-2.5.2.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: jinja-2.5.2.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2010 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/jinja-2.5.2.ebuild,v 1.1 2010/08/18 09:49:47 djc Exp $ |
50 | |
51 | EAPI="3" |
52 | SUPPORT_PYTHON_ABIS="1" |
53 | DISTUTILS_SRC_TEST="setup.py" |
54 | |
55 | inherit distutils eutils |
56 | |
57 | MY_PN="Jinja2" |
58 | MY_P="${MY_PN}-${PV}" |
59 | |
60 | DESCRIPTION="A small but fast and easy to use stand-alone template engine written in pure python." |
61 | HOMEPAGE="http://jinja.pocoo.org/ http://pypi.python.org/pypi/Jinja2" |
62 | SRC_URI="mirror://pypi/J/${MY_PN}/${MY_P}.tar.gz" |
63 | |
64 | LICENSE="BSD" |
65 | SLOT="0" |
66 | KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
67 | IUSE="doc examples i18n test" |
68 | |
69 | RDEPEND="dev-python/setuptools |
70 | dev-python/markupsafe |
71 | i18n? ( >=dev-python/Babel-0.9.3 )" |
72 | DEPEND="${RDEPEND} |
73 | doc? ( >=dev-python/sphinx-0.6 )" |
74 | |
75 | S="${WORKDIR}/${MY_P}" |
76 | |
77 | DOCS="CHANGES" |
78 | PYTHON_MODNAME="jinja2" |
79 | |
80 | src_compile(){ |
81 | distutils_src_compile |
82 | |
83 | if use doc; then |
84 | cd docs |
85 | einfo "Generation of documentation" |
86 | PYTHONPATH=".." emake html || die "Building of documentation failed" |
87 | fi |
88 | } |
89 | |
90 | src_install(){ |
91 | distutils_src_install |
92 | python_clean_installation_image |
93 | |
94 | if use doc; then |
95 | dohtml -r docs/_build/html/* || die "Installation of documentation failed" |
96 | fi |
97 | |
98 | if use examples; then |
99 | insinto "/usr/share/doc/${PF}" |
100 | doins -r examples || die "Failed to install examples" |
101 | fi |
102 | } |