From b95e3af36693b3b2ed35e72217def700f9f617f0 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 7 Mar 2010 10:20:27 +0000 Subject: Simplify src_test(). (Portage version: 15754-svn/cvs/Linux x86_64) --- dev-python/mantissa/mantissa-0.7.0.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'dev-python/mantissa') diff --git a/dev-python/mantissa/mantissa-0.7.0.ebuild b/dev-python/mantissa/mantissa-0.7.0.ebuild index d37a17755141..cb82a6fd3b64 100644 --- a/dev-python/mantissa/mantissa-0.7.0.ebuild +++ b/dev-python/mantissa/mantissa-0.7.0.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mantissa/mantissa-0.7.0.ebuild,v 1.3 2010/01/12 11:15:01 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mantissa/mantissa-0.7.0.ebuild,v 1.4 2010/03/07 10:20:27 arfrever Exp $ EAPI="2" +DISTUTILS_SRC_TEST="trial xmantissa" +DISTUTILS_DISABLE_TEST_DEPENDENCY="1" SUPPORT_PYTHON_ABIS="1" # setup.py uses epsilon.setuphelper.autosetup(), which tries to use @@ -45,10 +47,7 @@ src_compile() { } src_test() { - testing() { - PYTHONPATH="." trial xmantissa - } - python_execute_function testing + TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" distutils_src_test } src_install() { -- cgit v1.2.3-65-gdbad