summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarien Zwart <marienz@gentoo.org>2007-03-18 00:20:10 +0000
committerMarien Zwart <marienz@gentoo.org>2007-03-18 00:20:10 +0000
commit1e4baa4861f889731ab008e894480fb8f84fc57c (patch)
tree4fbe6325de0374a3c5cc4a36669c0fb3e64b091c /dev-python/numarray
parentCleanup, Vbump. (diff)
downloadgentoo-2-1e4baa4861f889731ab008e894480fb8f84fc57c.tar.gz
gentoo-2-1e4baa4861f889731ab008e894480fb8f84fc57c.tar.bz2
gentoo-2-1e4baa4861f889731ab008e894480fb8f84fc57c.zip
Clean up src_test a bit, thanks to ferringb for reporting.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-python/numarray')
-rw-r--r--dev-python/numarray/ChangeLog5
-rw-r--r--dev-python/numarray/numarray-1.5.2-r1.ebuild13
2 files changed, 8 insertions, 10 deletions
diff --git a/dev-python/numarray/ChangeLog b/dev-python/numarray/ChangeLog
index 71900a1b73c2..c437028ca141 100644
--- a/dev-python/numarray/ChangeLog
+++ b/dev-python/numarray/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/numarray
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/numarray/ChangeLog,v 1.22 2007/03/05 02:47:44 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/numarray/ChangeLog,v 1.23 2007/03/18 00:20:10 marienz Exp $
+
+ 18 Mar 2007; Marien Zwart <marienz@gentoo.org> numarray-1.5.2-r1.ebuild:
+ Clean up src_test a bit, thanks to ferringb for reporting.
05 Mar 2007; Marius Mauch <genone@gentoo.org> numarray-1.5.2-r1.ebuild:
Replacing einfo with elog
diff --git a/dev-python/numarray/numarray-1.5.2-r1.ebuild b/dev-python/numarray/numarray-1.5.2-r1.ebuild
index 019e3fab6a16..3a2b0483fe04 100644
--- a/dev-python/numarray/numarray-1.5.2-r1.ebuild
+++ b/dev-python/numarray/numarray-1.5.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/numarray/numarray-1.5.2-r1.ebuild,v 1.2 2007/03/05 02:47:44 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/numarray/numarray-1.5.2-r1.ebuild,v 1.3 2007/03/18 00:20:10 marienz Exp $
NEED_PYTHON=2.3
@@ -27,6 +27,9 @@ LICENSE="BSD"
DOCS="LICENSE.txt Doc/*.txt Doc/release_notes/ANNOUNCE-${PV:0:3}"
+# test with lapack buggy
+RESTRICT="lapack? ( test )"
+
pkg_setup() {
if use lapack; then
FORTRAN="gfortran g77"
@@ -84,23 +87,15 @@ src_unpack() {
}
src_test() {
- # test with lapack buggy
- if use lapack; then
- elog "no automatic testing with external lapack"
- return
- fi
- ebegin "Testing numarray functions"
cd build/lib*
cp "${S}"/Lib/testdata.fits numarray
PYTHONPATH=. "${python}" -c \
"from numarray.testall import test;import sys;sys.exit(test())" \
> test.log
grep -q -i failed test.log && die "failed tests in ${PWD}/test.log"
- eend $?
rm -f numarray/testdata.fits test*.*
}
-
src_install() {
distutils_src_install
if use doc; then