summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-23 20:16:03 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-23 20:16:03 +0000
commitb121bf5c1306a01893b79dc66abe9fc92583e761 (patch)
tree743536e65ed3de82eca6efcd922ffe62e48fb22c /dev-python
parentstable amd64, bug 313345 (diff)
downloadgentoo-2-b121bf5c1306a01893b79dc66abe9fc92583e761.tar.gz
gentoo-2-b121bf5c1306a01893b79dc66abe9fc92583e761.tar.bz2
gentoo-2-b121bf5c1306a01893b79dc66abe9fc92583e761.zip
Fix byte-compilation.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/jinja/jinja-2.3.1.ebuild3
-rw-r--r--dev-python/jinja/jinja-2.4.1.ebuild7
2 files changed, 5 insertions, 5 deletions
diff --git a/dev-python/jinja/jinja-2.3.1.ebuild b/dev-python/jinja/jinja-2.3.1.ebuild
index ec156c1c760c..ac3a6b8b327b 100644
--- a/dev-python/jinja/jinja-2.3.1.ebuild
+++ b/dev-python/jinja/jinja-2.3.1.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.3.1.ebuild,v 1.1 2010/05/21 20:52:00 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/jinja-2.3.1.ebuild,v 1.2 2010/05/23 20:16:03 arfrever Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
@@ -29,6 +29,7 @@ S="${WORKDIR}/${MY_P}"
DISTUTILS_GLOBAL_OPTIONS=("--with-speedups")
DOCS="CHANGES"
+PYTHON_MODNAME="jinja2"
src_prepare() {
distutils_src_prepare
diff --git a/dev-python/jinja/jinja-2.4.1.ebuild b/dev-python/jinja/jinja-2.4.1.ebuild
index 0edd54bf89c4..3fc8427dbab7 100644
--- a/dev-python/jinja/jinja-2.4.1.ebuild
+++ b/dev-python/jinja/jinja-2.4.1.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.4.1.ebuild,v 1.1 2010/05/21 20:52:00 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/jinja-2.4.1.ebuild,v 1.2 2010/05/23 20:16:03 arfrever Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
@@ -29,10 +29,12 @@ S="${WORKDIR}/${MY_P}"
DISTUTILS_GLOBAL_OPTIONS=("--with-speedups")
DOCS="CHANGES"
+PYTHON_MODNAME="jinja2"
src_prepare() {
distutils_src_prepare
epatch "${FILESDIR}/jinja2-2.4.1-object_type_repr.patch"
+ find -name "*.py[co]" -print0 | xargs -0 rm -f
}
src_compile(){
@@ -54,9 +56,6 @@ src_install(){
fi
if use examples; then
- # Eliminate .pyc files going into /usr/share
- find examples -name "*.pyc" -print0 | xargs -0 rm -fr
-
insinto "/usr/share/doc/${PF}"
doins -r examples || die "Failed to install examples"
fi