diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-01-19 16:59:10 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-01-19 16:59:10 +0000 |
commit | 052042e0602d10d6da01840fce1eb3f9a0da22df (patch) | |
tree | 51eff1a48ffc681536e33af320e6758a339b410a /sci-libs | |
parent | The test-suite for this package is not appropriate for end-users to run (for ... (diff) | |
download | gentoo-2-052042e0602d10d6da01840fce1eb3f9a0da22df.tar.gz gentoo-2-052042e0602d10d6da01840fce1eb3f9a0da22df.tar.bz2 gentoo-2-052042e0602d10d6da01840fce1eb3f9a0da22df.zip |
Fixed tests bug #351545
(Portage version: 2.1.9.33/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/scikits_statsmodels/ChangeLog | 6 | ||||
-rw-r--r-- | sci-libs/scikits_statsmodels/scikits_statsmodels-0.2.0.ebuild | 14 |
2 files changed, 16 insertions, 4 deletions
diff --git a/sci-libs/scikits_statsmodels/ChangeLog b/sci-libs/scikits_statsmodels/ChangeLog index 1de5f2430d73..4e050c9cd495 100644 --- a/sci-libs/scikits_statsmodels/ChangeLog +++ b/sci-libs/scikits_statsmodels/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/scikits_statsmodels # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_statsmodels/ChangeLog,v 1.1 2011/01/08 19:23:57 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_statsmodels/ChangeLog,v 1.2 2011/01/19 16:59:10 bicatali Exp $ + + 19 Jan 2011; Sébastien Fabbro <bicatali@gentoo.org> + scikits_statsmodels-0.2.0.ebuild: + Fixed tests bug #351545 08 Jan 2011; Sébastien Fabbro <bicatali@gentoo.org> +scikits_statsmodels-0.2.0.ebuild, +metadata.xml: diff --git a/sci-libs/scikits_statsmodels/scikits_statsmodels-0.2.0.ebuild b/sci-libs/scikits_statsmodels/scikits_statsmodels-0.2.0.ebuild index ee1bc4bc8fbf..33d4d35a031c 100644 --- a/sci-libs/scikits_statsmodels/scikits_statsmodels-0.2.0.ebuild +++ b/sci-libs/scikits_statsmodels/scikits_statsmodels-0.2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_statsmodels/scikits_statsmodels-0.2.0.ebuild,v 1.2 2011/01/08 19:36:43 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_statsmodels/scikits_statsmodels-0.2.0.ebuild,v 1.3 2011/01/19 16:59:10 bicatali Exp $ EAPI="2" @@ -25,7 +25,8 @@ RDEPEND="sci-libs/scipy sci-libs/scikits" DEPEND="dev-python/numpy dev-python/setuptools - doc? ( dev-python/sphinx )" + doc? ( dev-python/sphinx ) + test? ( dev-python/nose )" S="${WORKDIR}/${MY_P}" @@ -48,7 +49,14 @@ src_compile() { src_test() { testing() { - PYTHONPATH="$(dir -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test + "$(PYTHON)" setup.py \ + build -b "build-${PYTHON_ABI}" \ + install --home="${S}/test-${PYTHON_ABI}" + pushd "${S}/test-${PYTHON_ABI}/lib" > /dev/null + PYTHONPATH=. "$(PYTHON)" -c "import scikits.statsmodels; scikits.statsmodels.test()" 2>&1 | tee test.log + grep -Eq '^(ERROR|FAIL):' test.log && return 1 + popd > /dev/null + rm -fr test-${PYTHON_ABI} } python_execute_function testing } |