diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-09-18 10:55:51 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-09-18 10:55:51 +0000 |
commit | b73b6be0bae6ea258f730a8a1d2a6b40fb03b526 (patch) | |
tree | 9200d9252fae3a25a0c1f80a706c9dae594d2f84 /sci-libs/scikits_learn/scikits_learn-0.14.1.ebuild | |
parent | Backport swap activation patches, bug #484998. Ensure that locale.conf is res... (diff) | |
download | gentoo-2-b73b6be0bae6ea258f730a8a1d2a6b40fb03b526.tar.gz gentoo-2-b73b6be0bae6ea258f730a8a1d2a6b40fb03b526.tar.bz2 gentoo-2-b73b6be0bae6ea258f730a8a1d2a6b40fb03b526.zip |
sci-libs/scikits_learn: Drop broken python Abis; enhance test phase
(Portage version: 2.2.6/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-libs/scikits_learn/scikits_learn-0.14.1.ebuild')
-rw-r--r-- | sci-libs/scikits_learn/scikits_learn-0.14.1.ebuild | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/sci-libs/scikits_learn/scikits_learn-0.14.1.ebuild b/sci-libs/scikits_learn/scikits_learn-0.14.1.ebuild index d486056b82d3..f4c453ce4e64 100644 --- a/sci-libs/scikits_learn/scikits_learn-0.14.1.ebuild +++ b/sci-libs/scikits_learn/scikits_learn-0.14.1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/scikits_learn-0.14.1.ebuild,v 1.2 2013/08/08 21:35:41 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/scikits_learn-0.14.1.ebuild,v 1.3 2013/09/18 10:55:51 jlec Exp $ EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) +PYTHON_COMPAT=( python{2_6,2_7,3_3} ) DISTUTILS_NO_PARALLEL_BUILD=true inherit distutils-r1 eutils multilib flag-o-matic @@ -88,9 +88,10 @@ python_test() { distutils_install_for_testing ${SCIPY_FCONFIG} esetup.py \ install --root="${T}/test-${EPYTHON}" \ - --no-compile ${SCIPY_FCONFIG} || die - cd "${T}/test-${EPYTHON}/$(python_get_sitedir)" || die - PYTHONPATH=. nosetests-${EPYTHON} -v sklearn --exe || die + --no-compile ${SCIPY_FCONFIG} + pushd "${T}/test-${EPYTHON}/$(python_get_sitedir)" || die > /dev/null + nosetests -v sklearn --exe || die + popd > /dev/null } python_install() { @@ -99,8 +100,10 @@ python_install() { python_install_all() { find "${S}" -name \*LICENSE.txt -delete + use doc && HTML_DOCS=( doc/_build/html/. ) distutils-r1_python_install_all - insinto /usr/share/doc/${PF} - use doc && dohtml -r doc/_build/html/* - use examples && doins -r examples + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi } |