From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/numpy: numpy-1.5.0-r2.ebuild |
Date: | Sun, 07 Nov 2010 17:38:44 |
Message-Id: | 20101107173836.A685420051@flycatcher.gentoo.org |
1 | arfrever 10/11/07 17:38:36 |
2 | |
3 | Modified: numpy-1.5.0-r2.ebuild |
4 | Log: |
5 | Improve detection of test failures. |
6 | |
7 | (Portage version: 2.2.0_alpha4_p12/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.6 dev-python/numpy/numpy-1.5.0-r2.ebuild |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild?rev=1.6&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild?rev=1.6&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild?r1=1.5&r2=1.6 |
15 | |
16 | Index: numpy-1.5.0-r2.ebuild |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild,v |
19 | retrieving revision 1.5 |
20 | retrieving revision 1.6 |
21 | diff -u -r1.5 -r1.6 |
22 | --- numpy-1.5.0-r2.ebuild 7 Nov 2010 17:08:29 -0000 1.5 |
23 | +++ numpy-1.5.0-r2.ebuild 7 Nov 2010 17:38:36 -0000 1.6 |
24 | @@ -1,6 +1,6 @@ |
25 | # Copyright 1999-2010 Gentoo Foundation |
26 | # Distributed under the terms of the GNU General Public License v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild,v 1.5 2010/11/07 17:08:29 halcy0n Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild,v 1.6 2010/11/07 17:38:36 arfrever Exp $ |
29 | |
30 | EAPI="3" |
31 | PYTHON_DEPEND="*" |
32 | @@ -126,7 +126,7 @@ |
33 | --home="${S}/test-${PYTHON_ABI}" --no-compile || die "install test failed" |
34 | pushd "${S}/test-${PYTHON_ABI}/"lib* > /dev/null |
35 | PYTHONPATH=python "$(PYTHON)" -c "import numpy; numpy.test()" 2>&1 | tee test.log |
36 | - grep -q '^ERROR' test.log && die "test failed" |
37 | + grep -Eq '^(ERROR|FAIL):' test.log || return 1 |
38 | popd > /dev/null |
39 | rm -fr test-${PYTHON_ABI} |
40 | } |