diff options
author | Theo Chatzimichos <tampakrap@gentoo.org> | 2012-05-19 13:57:41 +0000 |
---|---|---|
committer | Theo Chatzimichos <tampakrap@gentoo.org> | 2012-05-19 13:57:41 +0000 |
commit | b55b996e3ab7978a8e316f5d415395b2aa1f5c3b (patch) | |
tree | 795f36a05cddba28196cefeee1b6662aaf4ae328 /dev-python/django-debug-toolbar | |
parent | [bump] dev-perl/Class-Load-0.190.0 (diff) | |
download | gentoo-2-b55b996e3ab7978a8e316f5d415395b2aa1f5c3b.tar.gz gentoo-2-b55b996e3ab7978a8e316f5d415395b2aa1f5c3b.tar.bz2 gentoo-2-b55b996e3ab7978a8e316f5d415395b2aa1f5c3b.zip |
test phase reduced/simplified, by idella4
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/django-debug-toolbar')
-rw-r--r-- | dev-python/django-debug-toolbar/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/django-debug-toolbar/django-debug-toolbar-0.9.4.ebuild | 13 |
2 files changed, 10 insertions, 9 deletions
diff --git a/dev-python/django-debug-toolbar/ChangeLog b/dev-python/django-debug-toolbar/ChangeLog index ca89eebf5ee7..44aec7637663 100644 --- a/dev-python/django-debug-toolbar/ChangeLog +++ b/dev-python/django-debug-toolbar/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/django-debug-toolbar # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django-debug-toolbar/ChangeLog,v 1.1 2012/04/25 16:26:12 tampakrap Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-debug-toolbar/ChangeLog,v 1.2 2012/05/19 13:57:41 tampakrap Exp $ + + 19 May 2012; Theo Chatzimichos <tampakrap@gentoo.org> + django-debug-toolbar-0.9.4.ebuild: + test phase reduced/simplified, by idella4 *django-debug-toolbar-0.9.4 (25 Apr 2012) diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-0.9.4.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-0.9.4.ebuild index 7a2a812c384c..994ed6a0e835 100644 --- a/dev-python/django-debug-toolbar/django-debug-toolbar-0.9.4.ebuild +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-0.9.4.ebuild @@ -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/django-debug-toolbar/django-debug-toolbar-0.9.4.ebuild,v 1.1 2012/04/25 16:26:12 tampakrap Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-debug-toolbar/django-debug-toolbar-0.9.4.ebuild,v 1.2 2012/05/19 13:57:41 tampakrap Exp $ EAPI=4 PYTHON_DEPEND="2" @@ -19,10 +19,9 @@ LICENSE="MIT" SLOT="0" PYTHON_MODNAME="debug_toolbar" -RDEPEND="" +RDEPEND="dev-python/django" DEPEND="${RDEPEND} dev-python/setuptools - dev-python/django test? ( dev-python/dingus )" src_prepare() { @@ -32,11 +31,9 @@ src_prepare() { src_test() { export DJANGO_SETTINGS_MODULE="django.conf" testing() { - PYTHONPATH=. "$(PYTHON)" tests/tests.py - if [[ $? ]]; then - einfo "Tests for python"$(python_get_version)" completed ok" - einfo "" - fi + PYTHONPATH=. "$(PYTHON)" -m tests.tests + einfo "Tests for python$(python_get_version) completed" + einfo "" } python_execute_function testing } |