diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-23 20:16:03 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-23 20:16:03 +0000 |
commit | 19178bf4c66fc4d4e812cd7e9bb5d49eb8514851 (patch) | |
tree | 4ceb800c8a563f78cd46586474d756034539a4ae /dev-python/jinja | |
parent | stable amd64, bug 313345 (diff) | |
download | historical-19178bf4c66fc4d4e812cd7e9bb5d49eb8514851.tar.gz historical-19178bf4c66fc4d4e812cd7e9bb5d49eb8514851.tar.bz2 historical-19178bf4c66fc4d4e812cd7e9bb5d49eb8514851.zip |
Fix byte-compilation.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/jinja')
-rw-r--r-- | dev-python/jinja/jinja-2.3.1.ebuild | 3 | ||||
-rw-r--r-- | dev-python/jinja/jinja-2.4.1.ebuild | 7 |
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 |