diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-10 20:43:38 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-10 20:43:38 +0000 |
commit | b93a8629290df70033e24c7366247b02d79582a4 (patch) | |
tree | 0101132869560219b9cc2dd2b6c6ee27c86f5ae4 /dev-python/jinja2 | |
parent | Version bump. (diff) | |
download | gentoo-2-b93a8629290df70033e24c7366247b02d79582a4.tar.gz gentoo-2-b93a8629290df70033e24c7366247b02d79582a4.tar.bz2 gentoo-2-b93a8629290df70033e24c7366247b02d79582a4.zip |
Set SUPPORT_PYTHON_ABIS.
(Portage version: 13977-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/jinja2')
-rw-r--r-- | dev-python/jinja2/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/jinja2/jinja2-2.1.1-r1.ebuild | 17 |
2 files changed, 16 insertions, 7 deletions
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 <arfrever@gentoo.org> + jinja2-2.1.1-r1.ebuild: + Set SUPPORT_PYTHON_ABIS. 09 Aug 2009; Raúl Porcel <armin76@gentoo.org> 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" -} |