From 1cd79b4ea5742a2bf7cbd05430acc5a2ac9a889f Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Tue, 19 Apr 2011 20:12:09 +0000 Subject: dev-python/iniparse: Enable python 2.4 and 2.5; implement src_test svn path=/sunrise/; revision=11899 --- dev-python/iniparse/iniparse-0.4.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'dev-python/iniparse/iniparse-0.4.ebuild') diff --git a/dev-python/iniparse/iniparse-0.4.ebuild b/dev-python/iniparse/iniparse-0.4.ebuild index 1596d3f65..4a661b456 100644 --- a/dev-python/iniparse/iniparse-0.4.ebuild +++ b/dev-python/iniparse/iniparse-0.4.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" SUPPORT_PYTHON_ABIS="1" -PYTHON_DEPEND="2:2.6" -RESTRICT_PYTHON_ABIS="2.[45] 3.*" +PYTHON_DEPEND="2" +RESTRICT_PYTHON_ABIS="3.*" inherit distutils @@ -18,3 +18,10 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" runtests.py + } + python_execute_function testing +} -- cgit v1.2.3-65-gdbad