--- dev-python/cliapp/cliapp-0.29.ebuild 2012/06/15 10:16:15 1.1 +++ dev-python/cliapp/cliapp-0.29.ebuild 2012/06/24 15:13:58 1.2 @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cliapp/Attic/cliapp-0.29.ebuild,v 1.1 2012/06/15 10:16:15 mschiff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/cliapp/Attic/cliapp-0.29.ebuild,v 1.2 2012/06/24 15:13:58 mschiff Exp $ EAPI=4 @@ -17,7 +17,16 @@ KEYWORDS="~amd64 ~x86" IUSE="" +DEPEND="test? ( dev-python/CoverageTestRunner )" + pkg_setup() { python_set_active_version 2 python_pkg_setup } + +src_test() { + # remove build directory so tests will not fail + # due to tests defined twice + rm -rf "${S}"/build + default +}