1 |
chutzpah 14/06/26 17:49:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: jinja-2.7.3.ebuild |
5 |
Log: |
6 |
Version bump, fix for CVE-2014-0012. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xE3F69979BB4B8928DA78E3D17CBF44EF) |
9 |
|
10 |
Revision Changes Path |
11 |
1.109 dev-python/jinja/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/ChangeLog?rev=1.109&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/ChangeLog?rev=1.109&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/ChangeLog?r1=1.108&r2=1.109 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/jinja/ChangeLog,v |
20 |
retrieving revision 1.108 |
21 |
retrieving revision 1.109 |
22 |
diff -u -r1.108 -r1.109 |
23 |
--- ChangeLog 18 May 2014 00:48:27 -0000 1.108 |
24 |
+++ ChangeLog 26 Jun 2014 17:49:48 -0000 1.109 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/jinja |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/ChangeLog,v 1.108 2014/05/18 00:48:27 idella4 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/ChangeLog,v 1.109 2014/06/26 17:49:48 chutzpah Exp $ |
30 |
+ |
31 |
+*jinja-2.7.3 (26 Jun 2014) |
32 |
+ |
33 |
+ 26 Jun 2014; Patrick McLean <chutzpah@g.o> +jinja-2.7.3.ebuild: |
34 |
+ Version bump, fix for CVE-2014-0012. |
35 |
|
36 |
*jinja-2.7.2 (18 May 2014) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/jinja/jinja-2.7.3.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/jinja-2.7.3.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/jinja-2.7.3.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: jinja-2.7.3.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/jinja-2.7.3.ebuild,v 1.1 2014/06/26 17:49:48 chutzpah Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) |
55 |
|
56 |
inherit eutils distutils-r1 |
57 |
|
58 |
MY_PN=Jinja2 |
59 |
MY_P=${MY_PN}-${PV} |
60 |
|
61 |
DESCRIPTION="A small but fast and easy to use stand-alone template engine written in pure Python" |
62 |
HOMEPAGE="http://jinja.pocoo.org/ http://pypi.python.org/pypi/Jinja2" |
63 |
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
64 |
|
65 |
LICENSE="BSD" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris" |
68 |
IUSE="doc examples" |
69 |
|
70 |
RDEPEND="dev-python/markupsafe[${PYTHON_USEDEP}] |
71 |
dev-python/setuptools[${PYTHON_USEDEP}]" |
72 |
DEPEND="${RDEPEND} |
73 |
doc? ( >=dev-python/sphinx-0.6 )" |
74 |
|
75 |
# XXX: handle Babel better? |
76 |
|
77 |
S=${WORKDIR}/${MY_P} |
78 |
PATCHES=( "${FILESDIR}/jinja-2.7-docs.patch" ) |
79 |
|
80 |
wrap_opts() { |
81 |
local mydistutilsargs=() |
82 |
|
83 |
if [[ ${EPYTHON} == python* ]]; then |
84 |
mydistutilargs+=( --with-debugsupport ) |
85 |
fi |
86 |
|
87 |
"${@}" |
88 |
} |
89 |
|
90 |
python_compile() { |
91 |
wrap_opts distutils-r1_python_compile |
92 |
} |
93 |
|
94 |
python_compile_all() { |
95 |
use doc && emake -C docs html |
96 |
} |
97 |
|
98 |
python_test() { |
99 |
esetup.py test |
100 |
} |
101 |
|
102 |
python_install_all() { |
103 |
use doc && local HTML_DOCS=( docs/_build/html/. ) |
104 |
use examples && local EXAMPLES=( examples/. ) |
105 |
|
106 |
distutils-r1_python_install_all |
107 |
|
108 |
insinto /usr/share/vim/vimfiles/syntax |
109 |
doins ext/Vim/* |
110 |
} |
111 |
|
112 |
pkg_postinst() { |
113 |
if ! has_version dev-python/Babel; then |
114 |
elog "For i18n support, please emerge dev-python/Babel." |
115 |
fi |
116 |
} |