From b93a8629290df70033e24c7366247b02d79582a4 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 10 Aug 2009 20:43:38 +0000 Subject: Set SUPPORT_PYTHON_ABIS. (Portage version: 13977-svn/cvs/Linux x86_64) --- dev-python/jinja2/ChangeLog | 6 +++++- dev-python/jinja2/jinja2-2.1.1-r1.ebuild | 17 +++++++++++------ 2 files changed, 16 insertions(+), 7 deletions(-) (limited to 'dev-python') diff --git a/dev-python/jinja2/ChangeLog b/dev-python/jinja2/ChangeLog index ed2629065245..db0472b29be7 100644 --- a/dev-python/jinja2/ChangeLog +++ b/dev-python/jinja2/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/jinja2 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja2/ChangeLog,v 1.16 2009/08/09 16:40:00 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja2/ChangeLog,v 1.17 2009/08/10 20:43:38 arfrever Exp $ + + 10 Aug 2009; Arfrever Frehtes Taifersar Arahesis + jinja2-2.1.1-r1.ebuild: + Set SUPPORT_PYTHON_ABIS. 09 Aug 2009; Raúl Porcel jinja2-2.1.1.ebuild: alpha/arm/ia64/s390/sh/sparc stable wrt #278978 diff --git a/dev-python/jinja2/jinja2-2.1.1-r1.ebuild b/dev-python/jinja2/jinja2-2.1.1-r1.ebuild index e99086854802..b1e62b56c4f8 100644 --- a/dev-python/jinja2/jinja2-2.1.1-r1.ebuild +++ b/dev-python/jinja2/jinja2-2.1.1-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja2/jinja2-2.1.1-r1.ebuild,v 1.1 2009/07/13 21:51:42 neurogeek Exp $ -# Ebuild generated by g-pypi 0.2.2 (rev. 214) +# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja2/jinja2-2.1.1-r1.ebuild,v 1.2 2009/08/10 20:43:38 arfrever Exp $ EAPI="2" +SUPPORT_PYTHON_ABIS="1" inherit distutils @@ -26,6 +26,8 @@ DEPEND="${CDEPEND} RDEPEND="${CDEPEND} i18n? ( >=dev-python/Babel-0.9.3 )" +RESTRICT_PYTHON_ABIS="3*" + S="${WORKDIR}/${MY_P}" DOCS="CHANGES" @@ -43,6 +45,13 @@ src_compile(){ fi } +src_test(){ + testing() { + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" setup.py test + } + python_execute_function testing +} + src_install(){ distutils_src_install @@ -60,7 +69,3 @@ src_install(){ die "Failed to install examples" fi } - -src_test(){ - "${python}" setup.py test || die "Tests failed" -} -- cgit v1.2.3-65-gdbad