diff options
author | Ian Delaney <della5@iinet.com.au> | 2012-04-28 12:19:10 +0800 |
---|---|---|
committer | Ian Delaney <della5@iinet.com.au> | 2012-04-28 12:19:10 +0800 |
commit | 683bb5f88d0a995791569cfcb20f964ec85aa91b (patch) | |
tree | 425c2b3f9d004f3444e8b1b84dbc6fb7bf4c4033 /dev-python/manuel/manuel-1.6.0.ebuild | |
parent | [dev-python/django-evolution] test phase loop changed (diff) | |
download | improvise-683bb5f88d0a995791569cfcb20f964ec85aa91b.tar.gz improvise-683bb5f88d0a995791569cfcb20f964ec85aa91b.tar.bz2 improvise-683bb5f88d0a995791569cfcb20f964ec85aa91b.zip |
[dev-python/manuel] test updated
(Portage version: 2.1.10.56/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/manuel/manuel-1.6.0.ebuild')
-rw-r--r-- | dev-python/manuel/manuel-1.6.0.ebuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/dev-python/manuel/manuel-1.6.0.ebuild b/dev-python/manuel/manuel-1.6.0.ebuild index 2d8174f..182b1cc 100644 --- a/dev-python/manuel/manuel-1.6.0.ebuild +++ b/dev-python/manuel/manuel-1.6.0.ebuild @@ -6,7 +6,7 @@ EAPI="4" PYTHON_DEPEND="2:2.6" SUPPORT_PYTHON_ABIS=1 RESTRICT_PYTHON_ABIS="2.5 3.*" - +DISTUTILS_SRC_TEST=setup.py inherit distutils eutils DESCRIPTION="Manuel lets you build tested documentation." @@ -26,16 +26,14 @@ RDEPEND="${DEPEND}" DOCS=( CHANGES.txt ) src_prepare() { - sed -e s':from . ::' -i src/${PN}/tests.py || die epatch "${FILESDIR}"/${P}-rm_zope_test.patch } src_test() { testing() { pushd build-${PYTHON_ABI}/lib > /dev/null - PYTHONPATH=. "$(PYTHON)" ${PN}/tests.py - - popd build-${PYTHON_ABI}/lib > /dev/null + PYTHONPATH=. "$(PYTHON)" -m ${PN}.tests + popd > /dev/null } python_execute_function testing } |