# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/testoob/testoob-1.15.ebuild,v 1.7 2013/08/03 09:45:51 mgorny Exp $ EAPI="2" SUPPORT_PYTHON_ABIS="1" inherit distutils DESCRIPTION="Advanced Python testing framework" HOMEPAGE="http://testoob.sourceforge.net/ http://pypi.python.org/pypi/testoob" SRC_URI="mirror://sourceforge/testoob/${P}.tar.bz2" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ia64 ppc ~sparc x86" IUSE="pdf threads" DEPEND="" RDEPEND="pdf? ( dev-python/reportlab ) threads? ( dev-python/twisted-core )" RESTRICT_PYTHON_ABIS="3.*" DOCS="docs/*" src_test() { testing() { PATH="build-${PYTHON_ABI}/scripts-${PYTHON_ABI}:${PATH}" PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" tests/alltests.py } python_execute_function testing }