diff --git a/app-admin/kedpm/kedpm-0.4.0-r1.ebuild b/app-admin/kedpm/kedpm-0.4.0-r1.ebuild index 11c6aac..61c257a 100644 --- a/app-admin/kedpm/kedpm-0.4.0-r1.ebuild +++ b/app-admin/kedpm/kedpm-0.4.0-r1.ebuild @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit distutils eutils +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +inherit distutils eutils python DESCRIPTION="Ked Password Manager helps to manage large amounts of passwords and related information" HOMEPAGE="http://kedpm.sourceforge.net/" @@ -38,5 +40,8 @@ src_install() { } src_test() { - ./run_tests || die "tests failed" + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" ./run_tests || die "tests failed" + } + python_execute_function testing }