diff -ur tox.orig/tox-1.4.ebuild tox/tox-1.4.ebuild --- tox.orig/tox-1.4.ebuild 2012-06-28 01:11:08.707370762 +0800 +++ tox/tox-1.4.ebuild 2012-06-27 22:16:10.318180691 +0800 @@ -7,7 +7,7 @@ PYTHON_DEPEND="*" SUPPORT_PYTHON_ABIS="1" -inherit distutils +inherit distutils eutils DESCRIPTION="virtualenv-based automation of test activities" HOMEPAGE="http://tox.testrun.org http://pypi.python.org/pypi/tox" @@ -24,9 +24,13 @@ >=dev-python/pytest-2.2.3" RDEPEND="${DEPEND}" -#src_test() { -# testing() { -# py.test -x -# } -# python_execute_function testing -#} +src_prepare() { + epatch "${FILESDIR}"/${P}-rm_version_test.patch +} + +src_test() { + testing() { + PYTHONPATH=. py.test -x + } + python_execute_function testing +}