summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-11-02 05:21:49 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-11-02 05:21:49 +0000
commita8d1b29391fd3c094b1848ac2e8ae81436a617d1 (patch)
tree450d93ec35758f68f743f96579674209bcd225f8
parentadd 0.22 RC2 version (diff)
downloadgentoo-2-a8d1b29391fd3c094b1848ac2e8ae81436a617d1.tar.gz
gentoo-2-a8d1b29391fd3c094b1848ac2e8ae81436a617d1.tar.bz2
gentoo-2-a8d1b29391fd3c094b1848ac2e8ae81436a617d1.zip
Set SUPPORT_PYTHON_ABIS. Restrict tests (bug #261908).
(Portage version: 14774-svn/cvs/Linux x86_64)
-rw-r--r--dev-python/pyenchant/ChangeLog6
-rw-r--r--dev-python/pyenchant/pyenchant-1.5.3.ebuild23
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 <arfrever@gentoo.org>
+ 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
}