summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-09-10 21:41:24 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-09-10 21:41:24 +0000
commitd1246fc3692ce2c008b7d2e1b254b8e98ddda481 (patch)
tree0cad378436f508f7cb1f85bf0830d8a9087d705c /dev-python/jinja
parentEnable tests. (diff)
downloadhistorical-d1246fc3692ce2c008b7d2e1b254b8e98ddda481.tar.gz
historical-d1246fc3692ce2c008b7d2e1b254b8e98ddda481.tar.bz2
historical-d1246fc3692ce2c008b7d2e1b254b8e98ddda481.zip
Build jinja2._debugsupport extension. Don't install .py[co] files.
Package-Manager: portage-2.2_rc79_p5/cvs/Linux x86_64
Diffstat (limited to 'dev-python/jinja')
-rw-r--r--dev-python/jinja/ChangeLog6
-rw-r--r--dev-python/jinja/jinja-2.5.2.ebuild10
2 files changed, 13 insertions, 3 deletions
diff --git a/dev-python/jinja/ChangeLog b/dev-python/jinja/ChangeLog
index c6c2777685c2..364c32862356 100644
--- a/dev-python/jinja/ChangeLog
+++ b/dev-python/jinja/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/jinja
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/ChangeLog,v 1.24 2010/08/18 09:53:34 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/ChangeLog,v 1.25 2010/09/10 21:41:24 arfrever Exp $
+
+ 10 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ jinja-2.5.2.ebuild:
+ Build jinja2._debugsupport extension. Don't install .py[co] files.
18 Aug 2010; Dirkjan Ochtman <djc@gentoo.org> jinja-2.3.1.ebuild,
jinja-2.4.1.ebuild, jinja-2.5.ebuild:
diff --git a/dev-python/jinja/jinja-2.5.2.ebuild b/dev-python/jinja/jinja-2.5.2.ebuild
index f3d9056931ab..c27cfb3c83d8 100644
--- a/dev-python/jinja/jinja-2.5.2.ebuild
+++ b/dev-python/jinja/jinja-2.5.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/jinja-2.5.2.ebuild,v 1.1 2010/08/18 09:49:47 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/jinja-2.5.2.ebuild,v 1.2 2010/09/10 21:41:24 arfrever Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
@@ -28,15 +28,21 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
+DISTUTILS_GLOBAL_OPTIONS=("--with-debugsupport")
DOCS="CHANGES"
PYTHON_MODNAME="jinja2"
+src_prepare() {
+ distutils_src_prepare
+ find examples -name "*.py[co]" -print0 | xargs -0 rm -f
+}
+
src_compile(){
distutils_src_compile
if use doc; then
- cd docs
einfo "Generation of documentation"
+ cd docs
PYTHONPATH=".." emake html || die "Building of documentation failed"
fi
}