From: | "Jesus Rivero (neurogeek)" <neurogeek@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/jinja2: metadata.xml ChangeLog Manifest jinja2-2.0.ebuild |
Date: | Fri, 24 Oct 2008 05:40:32 |
Message-Id: | E1KtFPR-00065v-CA@stork.gentoo.org |
1 | neurogeek 08/10/24 05:40:29 |
2 | |
3 | Added: metadata.xml ChangeLog Manifest jinja2-2.0.ebuild |
4 | Log: |
5 | Initial commit. Bug #237036 |
6 | (Portage version: 2.2_rc12/cvs/Linux 2.6.18-gentoo-r3 i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-python/jinja2/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/jinja2/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/jinja2/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>python</herd> |
20 | <use> |
21 | <flag name='i18n'>Enables support for i18n with <pkg>dev-python/Babel</pkg></flag> |
22 | </use> |
23 | </pkgmetadata> |
24 | |
25 | |
26 | |
27 | 1.1 dev-python/jinja2/ChangeLog |
28 | |
29 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/jinja2/ChangeLog?rev=1.1&view=markup |
30 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/jinja2/ChangeLog?rev=1.1&content-type=text/plain |
31 | |
32 | Index: ChangeLog |
33 | =================================================================== |
34 | # ChangeLog for dev-python/jinja2 |
35 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
36 | # $Header: /var/cvsroot/gentoo-x86/dev-python/jinja2/ChangeLog,v 1.1 2008/10/24 05:40:29 neurogeek Exp $ |
37 | |
38 | *jinja2-2.0 (24 Oct 2008) |
39 | |
40 | 24 Oct 2008; Jesus Rivero <neurogeek@g.o> |
41 | +files/jinja2-2.0_no_docs.patch, +metadata.xml, +jinja2-2.0.ebuild: |
42 | Initial commit. Bug #237036 |
43 | |
44 | |
45 | |
46 | |
47 | 1.1 dev-python/jinja2/Manifest |
48 | |
49 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/jinja2/Manifest?rev=1.1&view=markup |
50 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/jinja2/Manifest?rev=1.1&content-type=text/plain |
51 | |
52 | Index: Manifest |
53 | =================================================================== |
54 | AUX jinja2-2.0_no_docs.patch 958 RMD160 d492587d32d01540d9670d0b0c92191a3f51a8f8 SHA1 cb252f7602d6ef0c6ea77c10b6d5b0af97ed2586 SHA256 c16c3eb18bb28c60af83ec1564ccd8e2f901420ccae1e7155679b431f61c1854 |
55 | DIST Jinja2-2.0.tar.gz 523360 RMD160 0d4cb29962db3d12a092c778f305256511a8b0e9 SHA1 c2723e7d79ee7ed1f7f3780bde92f2d6cd308cc4 SHA256 15b17b02d6042bbec2511b655b17561633c8cf5dad68c42356f3f82ec24e4c57 |
56 | EBUILD jinja2-2.0.ebuild 1330 RMD160 5744ec3f127b00387758edbbbfaffb784c39285d SHA1 479124e83d7f07dbe4ec296924ae69cd6c64e9c0 SHA256 723a9fa902e2f1a0c98dd8265e838b8322a8520f7cd4bf8c4594aaff282ea710 |
57 | MISC ChangeLog 297 RMD160 f2f12f645afa4a6ea266ddac3061fc6e48e62bbb SHA1 ce6fe6d1254b3c21766be0d3c34820abc392d288 SHA256 904e52e584e3a2102351d443e02cc138be31afbba64047590841b0c2316750a6 |
58 | MISC metadata.xml 260 RMD160 73b34094a529f5ab0dcf98717fe00e6759dfb397 SHA1 48e84c78c92d7b5cdadb9db94c7c5681158ab498 SHA256 02bf37f6abc119298b0af0cfc3ce295479e514b0c1b39465e2c4e8f1b1628f7c |
59 | |
60 | |
61 | |
62 | 1.1 dev-python/jinja2/jinja2-2.0.ebuild |
63 | |
64 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/jinja2/jinja2-2.0.ebuild?rev=1.1&view=markup |
65 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/jinja2/jinja2-2.0.ebuild?rev=1.1&content-type=text/plain |
66 | |
67 | Index: jinja2-2.0.ebuild |
68 | =================================================================== |
69 | # Copyright 1999-2008 Gentoo Foundation |
70 | # Distributed under the terms of the GNU General Public License v2 |
71 | # $Header: /var/cvsroot/gentoo-x86/dev-python/jinja2/jinja2-2.0.ebuild,v 1.1 2008/10/24 05:40:29 neurogeek Exp $ |
72 | # Ebuild generated by g-pypi 0.2.2 (rev. 214) |
73 | |
74 | inherit distutils |
75 | |
76 | MY_PN="Jinja2" |
77 | MY_P="${MY_PN}-${PV}" |
78 | |
79 | DESCRIPTION="A small but fast and easy to use stand-alone template engine written in pure python." |
80 | HOMEPAGE="http://jinja.pocoo.org/" |
81 | SRC_URI="http://pypi.python.org/packages/source/J/${MY_PN}/${MY_P}.tar.gz" |
82 | LICENSE="BSD" |
83 | KEYWORDS="~x86" |
84 | SLOT="0" |
85 | IUSE="doc examples i18n test" |
86 | |
87 | CDEPEND="virtual/python |
88 | dev-python/setuptools" |
89 | DEPEND="${CDEPEND} |
90 | doc? ( >=dev-python/docutils-0.4 |
91 | >=dev-python/sphinx-0.3 )" |
92 | RDEPEND="${CDEPEND} |
93 | i18n? ( >=dev-python/Babel-0.9.3 )" |
94 | |
95 | |
96 | S="${WORKDIR}/${MY_P}" |
97 | DOCS="CHANGES" |
98 | |
99 | src_compile(){ |
100 | distutils_src_compile |
101 | epatch "${FILESDIR}/${P}_no_docs.patch" |
102 | |
103 | if use doc ; then |
104 | cd "${S}/docs" |
105 | PYTHONPATH=../ emake html || die "Error building docs" |
106 | fi |
107 | } |
108 | |
109 | src_install(){ |
110 | distutils_src_install |
111 | |
112 | if use doc ; then |
113 | dohtml -r docs/_build/html/* || |
114 | die "Failed to install docs" |
115 | fi |
116 | |
117 | if use examples ; then |
118 | #Eliminate pyc files going into /usr/share |
119 | $(find examples -name '*.pyc' -exec rm -rf {} \;) |
120 | |
121 | insinto "/usr/share/doc/${PF}" |
122 | doins -r examples || |
123 | die "Failed to install examples" |
124 | fi |
125 | } |
126 | |
127 | src_test(){ |
128 | "${python}" setup.py test || die "Tests failed" |
129 | } |