From a8d1b29391fd3c094b1848ac2e8ae81436a617d1 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 2 Nov 2009 05:21:49 +0000 Subject: Set SUPPORT_PYTHON_ABIS. Restrict tests (bug #261908). (Portage version: 14774-svn/cvs/Linux x86_64) --- dev-python/pyenchant/ChangeLog | 6 +++++- dev-python/pyenchant/pyenchant-1.5.3.ebuild | 23 ++++++++++++++++------- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/dev-python/pyenchant/ChangeLog b/dev-python/pyenchant/ChangeLog index 90097477819d..0993df45314a 100644 --- a/dev-python/pyenchant/ChangeLog +++ b/dev-python/pyenchant/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pyenchant # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyenchant/ChangeLog,v 1.10 2009/06/06 10:29:34 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyenchant/ChangeLog,v 1.11 2009/11/02 05:21:49 arfrever Exp $ + + 02 Nov 2009; Arfrever Frehtes Taifersar Arahesis + pyenchant-1.5.3.ebuild: + Set SUPPORT_PYTHON_ABIS. Restrict tests (bug #261908). *pyenchant-1.5.3 (06 Jun 2009) diff --git a/dev-python/pyenchant/pyenchant-1.5.3.ebuild b/dev-python/pyenchant/pyenchant-1.5.3.ebuild index 7336a8d95d07..8b89bcaebb91 100644 --- a/dev-python/pyenchant/pyenchant-1.5.3.ebuild +++ b/dev-python/pyenchant/pyenchant-1.5.3.ebuild @@ -1,24 +1,33 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyenchant/pyenchant-1.5.3.ebuild,v 1.1 2009/06/06 10:29:34 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyenchant/pyenchant-1.5.3.ebuild,v 1.2 2009/11/02 05:21:48 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" inherit distutils DESCRIPTION="Python wrapper for the Enchant spellchecking wrapper library" +HOMEPAGE="http://pyenchant.sourceforge.net http://pypi.python.org/pypi/pyenchant" SRC_URI="mirror://sourceforge/pyenchant/${P}.tar.gz" -HOMEPAGE="http://pyenchant.sourceforge.net" -IUSE="" +LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" -LICENSE="LGPL-2.1" +IUSE="" -DEPEND=">=dev-lang/python-2.5 - >=app-text/enchant-1.4.0 +DEPEND=">=app-text/enchant-1.4.0 >=dev-python/setuptools-0.6_alpha11" +RDEPEND="${DEPEND}" +RESTRICT="test" +RESTRICT_PYTHON_ABIS="3.*" +PYTHON_MODNAME="enchant" DOCS="README.txt TODO.txt" src_test() { - "${python}" setup.py test || die "test failed" + testing() { + "$(PYTHON)" setup.py test + } + python_execute_function testing } -- cgit v1.2.3-65-gdbad