diff options
-rw-r--r-- | sci-physics/camfr/ChangeLog | 6 | ||||
-rw-r--r-- | sci-physics/camfr/camfr-20070717-r2.ebuild | 14 |
2 files changed, 13 insertions, 7 deletions
diff --git a/sci-physics/camfr/ChangeLog b/sci-physics/camfr/ChangeLog index 27c51bbb93ab..9cb2f8f9e17f 100644 --- a/sci-physics/camfr/ChangeLog +++ b/sci-physics/camfr/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-physics/camfr # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.17 2010/06/25 13:25:00 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.18 2010/06/25 22:37:22 arfrever Exp $ + + 25 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + camfr-20070717-r2.ebuild: + Fix src_test() (bug #316245). *camfr-20070717-r2 (25 Jun 2010) diff --git a/sci-physics/camfr/camfr-20070717-r2.ebuild b/sci-physics/camfr/camfr-20070717-r2.ebuild index 633ff319f5fb..4b8e070b4112 100644 --- a/sci-physics/camfr/camfr-20070717-r2.ebuild +++ b/sci-physics/camfr/camfr-20070717-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild,v 1.1 2010/06/25 13:25:00 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild,v 1.2 2010/06/25 22:37:22 arfrever Exp $ EAPI=2 @@ -73,11 +73,13 @@ src_prepare() { } src_test() { - # trick to avoid X in testing (bug #229753) - echo "backend : Agg" > matplotlibrc - PYTHONPATH=".:visualisation" "$(PYTHON)" testsuite/camfr_test.py \ - || die "tests failed" - rm -f matplotlibrc + testing() { + # trick to avoid X in testing (bug #229753) + echo "backend : Agg" > matplotlibrc + PYTHONPATH=".:visualisation" "$(PYTHON)" testsuite/camfr_test.py + rm -f matplotlibrc + } + python_execute_function -s testing } src_install() { |