summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorea Christian <horea.christ@yandex.com>2016-08-11 04:57:05 +0200
committerDavid Seifert <soap@gentoo.org>2016-08-13 20:48:24 +0200
commit0e8483cf1fe8b3776bd29f6c056764d3e95cfa6d (patch)
tree0068e74c2bed5cb2bcf7da6af2ab3111a73126a2 /sci-libs/scikits_learn
parentnet-misc/gsutil: version bump to 4.20 (diff)
downloadgentoo-0e8483cf1fe8b3776bd29f6c056764d3e95cfa6d.tar.gz
gentoo-0e8483cf1fe8b3776bd29f6c056764d3e95cfa6d.tar.bz2
gentoo-0e8483cf1fe8b3776bd29f6c056764d3e95cfa6d.zip
sci-libs/scikits_learn: using system joblib for cross_validation module
Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/2065 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs/scikits_learn')
-rw-r--r--sci-libs/scikits_learn/scikits_learn-0.17.1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sci-libs/scikits_learn/scikits_learn-0.17.1.ebuild b/sci-libs/scikits_learn/scikits_learn-0.17.1.ebuild
index 865a2079adff..89c2409c57c1 100644
--- a/sci-libs/scikits_learn/scikits_learn-0.17.1.ebuild
+++ b/sci-libs/scikits_learn/scikits_learn-0.17.1.ebuild
@@ -61,7 +61,8 @@ python_prepare_all() {
rm -r sklearn/externals/joblib/* || die
echo "from joblib import *" > sklearn/externals/joblib/__init__.py
sed -i -e '/joblib\/test/d' sklearn/externals/setup.py || die
- sed -i -e 's/..externals.joblib/joblib/g' \
+ sed -i -e 's/..externals.joblib/ joblib/g' \
+ sklearn/cross_validation.py \
sklearn/decomposition/tests/test_sparse_pca.py \
sklearn/metrics/pairwise.py || die