Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/jinja: jinja-2.8.ebuild ChangeLog
Date: Thu, 30 Jul 2015 08:06:10
Message-Id: 20150730080605.6D710114@oystercatcher.gentoo.org
1 patrick 15/07/30 08:06:05
2
3 Modified: ChangeLog
4 Added: jinja-2.8.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.129 dev-python/jinja/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/ChangeLog?rev=1.129&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/ChangeLog?rev=1.129&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/ChangeLog?r1=1.128&r2=1.129
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/jinja/ChangeLog,v
20 retrieving revision 1.128
21 retrieving revision 1.129
22 diff -u -r1.128 -r1.129
23 --- ChangeLog 3 Jun 2015 19:48:04 -0000 1.128
24 +++ ChangeLog 30 Jul 2015 08:06:05 -0000 1.129
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/jinja
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/ChangeLog,v 1.128 2015/06/03 19:48:04 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/ChangeLog,v 1.129 2015/07/30 08:06:05 patrick Exp $
30 +
31 +*jinja-2.8 (30 Jul 2015)
32 +
33 + 30 Jul 2015; Patrick Lauer <patrick@g.o> +jinja-2.8.ebuild:
34 + Bump
35
36 03 Jun 2015; Justin Lecher <jlec@g.o> metadata.xml:
37 Add pypi to remote-id in metadata.xml
38
39
40
41 1.1 dev-python/jinja/jinja-2.8.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/jinja-2.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/jinja/jinja-2.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: jinja-2.8.ebuild
47 ===================================================================
48 # Copyright 1999-2015 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.8.ebuild,v 1.1 2015/07/30 08:06:05 patrick Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
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 ~arm64 ~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 !dev-python/jinja:compat"
73 DEPEND="${RDEPEND}
74 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
75
76 # XXX: handle Babel better?
77
78 S=${WORKDIR}/${MY_P}
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 if [[ ${EPYTHON} == python3.2 ]]; then
93 2to3 --no-diffs -n -w -f unicode "${BUILD_DIR}/lib" || die
94 fi
95 }
96
97 python_compile_all() {
98 use doc && emake -C docs html
99 }
100
101 python_test() {
102 esetup.py test
103 }
104
105 python_install_all() {
106 use doc && local HTML_DOCS=( docs/_build/html/. )
107 use examples && local EXAMPLES=( examples/. )
108
109 distutils-r1_python_install_all
110
111 insinto /usr/share/vim/vimfiles/syntax
112 doins ext/Vim/*
113 }
114
115 pkg_postinst() {
116 if ! has_version dev-python/Babel; then
117 elog "For i18n support, please emerge dev-python/Babel."
118 fi
119 }