sci-libs/scikits_learn: Remove old
authorDavid Seifert <soap@gentoo.org>
Sun, 29 Dec 2019 08:53:12 +0000 (09:53 +0100)
committerDavid Seifert <soap@gentoo.org>
Sun, 29 Dec 2019 08:53:12 +0000 (09:53 +0100)
Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
sci-libs/scikits_learn/Manifest
sci-libs/scikits_learn/files/scikits_learn-0.14.1-system-cblas.patch [deleted file]
sci-libs/scikits_learn/files/scikits_learn-0.17.1-system-cblas.patch [deleted file]
sci-libs/scikits_learn/scikits_learn-0.17.1.ebuild [deleted file]
sci-libs/scikits_learn/scikits_learn-0.17.ebuild [deleted file]
sci-libs/scikits_learn/scikits_learn-0.18.1.ebuild [deleted file]
sci-libs/scikits_learn/scikits_learn-0.18.2-r1.ebuild [deleted file]
sci-libs/scikits_learn/scikits_learn-0.18.2.ebuild [deleted file]
sci-libs/scikits_learn/scikits_learn-0.19.0.ebuild [deleted file]

index af427e21cc5f792ea41c1f910951ff1a1bb26ca0..cc6598f1275ef4f79cb192a1d65992b6122c4e4f 100644 (file)
@@ -1,5 +1 @@
-DIST scikit-learn-0.17.1.tar.gz 7898571 BLAKE2B 4125864e8701e072e45f83be504a0eba8480f2c08584a6e98f2ae09dd4d64487931eca2ae116230b0d8945822d6e07cc2102129f48e789825c2b70102121fa06 SHA512 5786e04a13225d2433103f1873f2753e332704b98c4c32b840970f763ec1abf0248007089e5ae47e11c66535f05a0d0402715622e6d6f0955ec7961b92e1b2e5
-DIST scikit-learn-0.17.tar.gz 7834903 BLAKE2B 9492a0deff723bd1ff3a976f080a5db0d1bf590521a324d627b09bbb755dbdccc6e41fe71519e10bbad8d425b6b12ff6f44b0518d501d9d075dfa5d021be64dd SHA512 53a76e2f90e27967bf216cd9d7e8051ed847a3381e3b7b7b8236511b4105eef41bd4d3c9f7f71a51db4b0bf99cbd571d7c1b26803757cff04424b70cb834b555
-DIST scikit-learn-0.18.1.tar.gz 8933930 BLAKE2B 48cfc73769531242d1228f41115a78e4649c52e7d8796e54286f996ddab72353e3f73bf22302535b7d24f55194e893ed681c74dd60beab5f8ba09aa3af8e161a SHA512 7149e683424351a28c19501302ece147cb03d4d12b08822eb2b1898a4978b96803323778fbba628008dd7a7c85daea4e9b550a71ee76851f9a09b2baac18a799
-DIST scikit-learn-0.18.2.tar.gz 9224516 BLAKE2B fe4b402e3ac561f9272a0a51ddc17092f2a9fada3e2dc081be3fe66bb7932e0ca0c14d9be21272c364d13c4d9669e9ff399e16b53b5cbaa3f5b20e43d2bb448d SHA512 7c5c7bdd577ad215790654ce1eff6e802aebe53283ab6c5f12684cf99aeecc8976f9a9803f619f549d4d03be0d7634f249046e4b4f15afa12aecb2697e2e0b05
 DIST scikit-learn-0.19.0.tar.gz 9341628 BLAKE2B c9e0c12558e81efb6f5cfddead028980b0019d2f6d0fdce5662c9138ec3a5b2a3d30b022a5713578bc7effd09894006e8f7f60a3e038ca66297502d9d4212686 SHA512 1b88bc043b08de9b5bb1f3814b8101c73ced010cf94bd725fb69e1ef95b4a9597a34de4a19f84fbbf63e54d47e95b3ff498d611234fcdfcaa5e4e3cf696289d2
diff --git a/sci-libs/scikits_learn/files/scikits_learn-0.14.1-system-cblas.patch b/sci-libs/scikits_learn/files/scikits_learn-0.14.1-system-cblas.patch
deleted file mode 100644 (file)
index 96c6cc2..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
---- sklearn/setup.py.orig      2013-08-08 13:54:08.310879167 -0700
-+++ sklearn/setup.py   2013-08-08 13:52:59.808456423 -0700
-@@ -68,14 +68,6 @@
-         libraries=libraries,
-     )
--    # some libs needs cblas, fortran-compiled BLAS will not be sufficient
--    blas_info = get_info('blas_opt', 0)
--    if (not blas_info) or (
--            ('NO_ATLAS_INFO', 1) in blas_info.get('define_macros', [])):
--        config.add_library('cblas',
--                           sources=[join('src', 'cblas', '*.c')])
--        warnings.warn(BlasNotFoundError.__doc__)
--
-     # the following packages depend on cblas, so they have to be build
-     # after the above.
-     config.add_subpackage('linear_model')
---- sklearn/_build_utils.py.orig       2013-08-08 14:01:35.994589269 -0700
-+++ sklearn/_build_utils.py    2013-08-08 12:19:41.875967870 -0700
-@@ -23,7 +23,7 @@
-         return False
-     blas_info = get_info('blas_opt', 0)
--    if (not blas_info) or atlas_not_found(blas_info):
-+    if (not blas_info):
-         cblas_libs = ['cblas']
-         blas_info.pop('libraries', None)
-     else:
diff --git a/sci-libs/scikits_learn/files/scikits_learn-0.17.1-system-cblas.patch b/sci-libs/scikits_learn/files/scikits_learn-0.17.1-system-cblas.patch
deleted file mode 100644 (file)
index 42657a7..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -Nur scikit-learn-0.17.1.orig/sklearn/_build_utils.py scikit-learn-0.17.1/sklearn/_build_utils.py
---- scikit-learn-0.17.1.orig/sklearn/_build_utils.py   2016-03-09 00:27:54.756813784 +0000
-+++ scikit-learn-0.17.1/sklearn/_build_utils.py        2016-03-09 00:30:09.605118512 +0000
-@@ -23,7 +23,7 @@
-         return False
-     blas_info = get_info('blas_opt', 0)
--    if (not blas_info) or atlas_not_found(blas_info):
-+    if (not blas_info):
-         cblas_libs = ['cblas']
-         blas_info.pop('libraries', None)
-     else:
-diff -Nur scikit-learn-0.17.1.orig/sklearn/setup.py scikit-learn-0.17.1/sklearn/setup.py
---- scikit-learn-0.17.1.orig/sklearn/setup.py  2016-03-09 00:27:54.806813156 +0000
-+++ scikit-learn-0.17.1/sklearn/setup.py       2016-03-09 00:29:28.215638848 +0000
-@@ -58,14 +58,6 @@
-         libraries=libraries,
-     )
--    # some libs needs cblas, fortran-compiled BLAS will not be sufficient
--    blas_info = get_info('blas_opt', 0)
--    if (not blas_info) or (
--            ('NO_ATLAS_INFO', 1) in blas_info.get('define_macros', [])):
--        config.add_library('cblas',
--                           sources=[join('src', 'cblas', '*.c')])
--        warnings.warn(BlasNotFoundError.__doc__)
--
-     # the following packages depend on cblas, so they have to be build
-     # after the above.
-     config.add_subpackage('linear_model')
diff --git a/sci-libs/scikits_learn/scikits_learn-0.17.1.ebuild b/sci-libs/scikits_learn/scikits_learn-0.17.1.ebuild
deleted file mode 100644 (file)
index e83910a..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_5 )
-
-inherit distutils-r1 flag-o-matic
-
-MYPN="${PN/scikits_/scikit-}"
-MYP="${MYPN}-${PV}"
-
-DESCRIPTION="Python modules for machine learning and data mining"
-HOMEPAGE="https://scikit-learn.org"
-SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       dev-python/joblib[${PYTHON_USEDEP}]
-       dev-python/matplotlib[${PYTHON_USEDEP}]
-       dev-python/nose[${PYTHON_USEDEP}]
-       >=dev-python/numpy-1.6.1[lapack,${PYTHON_USEDEP}]
-       sci-libs/scikits[${PYTHON_USEDEP}]
-       >=sci-libs/scipy-0.9[${PYTHON_USEDEP}]
-       virtual/blas
-       virtual/cblas
-       virtual/python-funcsigs[${PYTHON_USEDEP}]
-       "
-DEPEND="
-       dev-python/cython[${PYTHON_USEDEP}]
-       dev-python/numpy[lapack,${PYTHON_USEDEP}]
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       sci-libs/scipy[${PYTHON_USEDEP}]
-       virtual/blas
-       virtual/cblas
-       doc? (
-               dev-python/joblib[${PYTHON_USEDEP}]
-               dev-python/matplotlib[${PYTHON_USEDEP}]
-               dev-python/sphinx[${PYTHON_USEDEP}]
-               )"
-
-S="${WORKDIR}/${MYP}"
-
-PATCHES=( "${FILESDIR}/${P}-system-cblas.patch" )
-
-python_prepare_all() {
-       # bug #397605
-       [[ ${CHOST} == *-darwin* ]] \
-               && append-ldflags -bundle "-undefined dynamic_lookup" \
-               || append-ldflags -shared
-
-       # scikits-learn now uses the horrible numpy.distutils automagic
-       export SCIPY_FCONFIG="config_fc --noopt --noarch"
-
-       # use system joblib
-       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' \
-               sklearn/cross_validation.py \
-               sklearn/decomposition/tests/test_sparse_pca.py \
-               sklearn/metrics/pairwise.py || die
-
-       rm sklearn/externals/funcsigs.py || die
-       rm sklearn/externals/odict.py || die
-       sed -e 's:from ..externals.funcsigs import signature:from funcsigs import signature:g' \
-               -i sklearn/utils/fixes.py || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_compile() {
-       distutils-r1_python_compile ${SCIPY_FCONFIG}
-}
-
-python_compile_all() {
-       if use doc; then
-               cd "${S}/doc" || die
-               local d="${BUILD_DIR}"/lib
-               ln -s "${S}"/sklearn/datasets/{data,descr,images} \
-                       "${d}"/sklearn/datasets || die
-               VARTEXFONTS="${T}"/fonts \
-                       MPLCONFIGDIR="${BUILD_DIR}" \
-                       PYTHONPATH="${d}" \
-                       emake html
-               rm -r "${d}"/sklearn/datasets/{data,descr,images} || die
-       fi
-}
-
-python_test() {
-       # doc builds and runs tests
-       use doc && return
-       distutils_install_for_testing ${SCIPY_FCONFIG}
-       esetup.py \
-               install --root="${T}/test-${EPYTHON}" \
-               --no-compile ${SCIPY_FCONFIG}
-       pushd "${T}/test-${EPYTHON}/$(python_get_sitedir)" || die > /dev/null
-       nosetests -v sklearn --exe || die
-       popd > /dev/null
-}
-
-python_install() {
-       distutils-r1_python_install ${SCIPY_FCONFIG}
-}
-
-python_install_all() {
-       find "${S}" -name \*LICENSE.txt -delete
-       insinto /usr/share/doc/${PF}
-       use doc && doins -r doc/_build/html
-       use examples && doins -r examples
-       distutils-r1_python_install_all
-}
diff --git a/sci-libs/scikits_learn/scikits_learn-0.17.ebuild b/sci-libs/scikits_learn/scikits_learn-0.17.ebuild
deleted file mode 100644 (file)
index e8b01ca..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1 eutils multilib flag-o-matic
-
-MYPN="${PN/scikits_/scikit-}"
-MYP="${MYPN}-${PV}"
-
-DESCRIPTION="Python modules for machine learning and data mining"
-HOMEPAGE="https://scikit-learn.org"
-SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       dev-python/joblib[${PYTHON_USEDEP}]
-       dev-python/matplotlib[${PYTHON_USEDEP}]
-       dev-python/nose[${PYTHON_USEDEP}]
-       >=dev-python/numpy-1.6.1[lapack,${PYTHON_USEDEP}]
-       sci-libs/scikits[${PYTHON_USEDEP}]
-       >=sci-libs/scipy-0.9[${PYTHON_USEDEP}]
-       virtual/blas
-       virtual/cblas
-       virtual/python-funcsigs[${PYTHON_USEDEP}]
-       "
-DEPEND="
-       dev-python/cython[${PYTHON_USEDEP}]
-       dev-python/numpy[lapack,${PYTHON_USEDEP}]
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       sci-libs/scipy[${PYTHON_USEDEP}]
-       virtual/blas
-       virtual/cblas
-       doc? (
-               dev-python/joblib[${PYTHON_USEDEP}]
-               dev-python/matplotlib[${PYTHON_USEDEP}]
-               dev-python/sphinx[${PYTHON_USEDEP}]
-               )"
-
-S="${WORKDIR}/${MYP}"
-
-python_prepare_all() {
-       # bug #397605
-       [[ ${CHOST} == *-darwin* ]] \
-               && append-ldflags -bundle "-undefined dynamic_lookup" \
-               || append-ldflags -shared
-
-       # scikits-learn now uses the horrible numpy.distutils automagic
-       export SCIPY_FCONFIG="config_fc --noopt --noarch"
-
-       # use system joblib
-       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' \
-               sklearn/decomposition/tests/test_sparse_pca.py \
-               sklearn/metrics/pairwise.py || die
-
-       rm sklearn/externals/funcsigs.py || die
-       rm sklearn/externals/odict.py || die
-       sed \
-               -e 's:from ..externals.funcsigs import signature:from funcsigs import signature:g' \
-               -i sklearn/utils/fixes.py || die
-
-       # use gentoo cblas infrastructure
-       epatch "${FILESDIR}"/${PN}-0.14.1-system-cblas.patch
-
-       distutils-r1_python_prepare_all
-}
-
-python_compile() {
-       distutils-r1_python_compile ${SCIPY_FCONFIG}
-}
-
-python_compile_all() {
-       if use doc; then
-               cd "${S}/doc" || die
-               local d="${BUILD_DIR}"/lib
-               ln -s "${S}"/sklearn/datasets/{data,descr,images} \
-                       "${d}"/sklearn/datasets || die
-               VARTEXFONTS="${T}"/fonts \
-                       MPLCONFIGDIR="${BUILD_DIR}" \
-                       PYTHONPATH="${d}" \
-                       emake html
-               rm -r "${d}"/sklearn/datasets/{data,descr,images} || die
-       fi
-}
-
-python_test() {
-       # doc builds and runs tests
-       use doc && return
-       distutils_install_for_testing ${SCIPY_FCONFIG}
-       esetup.py \
-               install --root="${T}/test-${EPYTHON}" \
-               --no-compile ${SCIPY_FCONFIG}
-       pushd "${T}/test-${EPYTHON}/$(python_get_sitedir)" || die > /dev/null
-       nosetests -v sklearn --exe || die
-       popd > /dev/null
-}
-
-python_install() {
-       distutils-r1_python_install ${SCIPY_FCONFIG}
-}
-
-python_install_all() {
-       find "${S}" -name \*LICENSE.txt -delete
-       use doc && HTML_DOCS=( doc/_build/html/. )
-       use examples && EXAMPLES=( examples/. )
-       distutils-r1_python_install_all
-}
diff --git a/sci-libs/scikits_learn/scikits_learn-0.18.1.ebuild b/sci-libs/scikits_learn/scikits_learn-0.18.1.ebuild
deleted file mode 100644 (file)
index 1a04525..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_5 )
-
-inherit distutils-r1 flag-o-matic
-
-MYPN="${PN/scikits_/scikit-}"
-MYP="${MYPN}-${PV}"
-
-DESCRIPTION="Python modules for machine learning and data mining"
-HOMEPAGE="https://scikit-learn.org"
-SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       dev-python/joblib[${PYTHON_USEDEP}]
-       dev-python/matplotlib[${PYTHON_USEDEP}]
-       dev-python/nose[${PYTHON_USEDEP}]
-       >=dev-python/numpy-1.6.1[lapack,${PYTHON_USEDEP}]
-       sci-libs/scikits[${PYTHON_USEDEP}]
-       >=sci-libs/scipy-0.9[${PYTHON_USEDEP}]
-       virtual/blas
-       virtual/cblas
-       virtual/python-funcsigs[${PYTHON_USEDEP}]
-       "
-DEPEND="
-       dev-python/cython[${PYTHON_USEDEP}]
-       dev-python/numpy[lapack,${PYTHON_USEDEP}]
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       sci-libs/scipy[${PYTHON_USEDEP}]
-       virtual/blas
-       virtual/cblas
-       doc? (
-               dev-python/joblib[${PYTHON_USEDEP}]
-               dev-python/matplotlib[${PYTHON_USEDEP}]
-               dev-python/sphinx[${PYTHON_USEDEP}]
-               )"
-
-S="${WORKDIR}/${MYP}"
-
-PATCHES=( "${FILESDIR}/${P}-system-cblas.patch" )
-
-python_prepare_all() {
-       # bug #397605
-       [[ ${CHOST} == *-darwin* ]] \
-               && append-ldflags -bundle "-undefined dynamic_lookup" \
-               || append-ldflags -shared
-
-       # scikits-learn now uses the horrible numpy.distutils automagic
-       export SCIPY_FCONFIG="config_fc --noopt --noarch"
-
-       # remove bundled cblas
-       rm -r sklearn/src || die
-
-       # use system joblib
-       rm -r sklearn/externals/joblib || die
-       sed -i -e '/joblib/d' sklearn/externals/setup.py || die
-       for f in sklearn/{*/,}*.py; do
-               sed -r -e '/^from/s/(sklearn|\.|)\.externals\.joblib/joblib/' \
-                       -e 's/from (sklearn|\.|)\.externals import/import/' -i $f || die
-       done
-
-       rm sklearn/externals/funcsigs.py || die
-       rm sklearn/externals/odict.py || die
-       for f in sklearn/{utils/fixes.py,gaussian_process/{tests/test_,}kernels.py}; do
-               sed -r -e 's/from (sklearn|\.|)\.externals\.funcsigs/from funcsigs/' -i $f || die
-       done
-
-       distutils-r1_python_prepare_all
-}
-
-python_compile() {
-       distutils-r1_python_compile ${SCIPY_FCONFIG}
-}
-
-python_compile_all() {
-       if use doc; then
-               cd "${S}/doc" || die
-               local d="${BUILD_DIR}"/lib
-               ln -s "${S}"/sklearn/datasets/{data,descr,images} \
-                       "${d}"/sklearn/datasets || die
-               VARTEXFONTS="${T}"/fonts \
-                       MPLCONFIGDIR="${BUILD_DIR}" \
-                       PYTHONPATH="${d}" \
-                       emake html
-               rm -r "${d}"/sklearn/datasets/{data,descr,images} || die
-       fi
-}
-
-python_test() {
-       # doc builds and runs tests
-       use doc && return
-       distutils_install_for_testing ${SCIPY_FCONFIG}
-       esetup.py \
-               install --root="${T}/test-${EPYTHON}" \
-               --no-compile ${SCIPY_FCONFIG}
-       pushd "${T}/test-${EPYTHON}/$(python_get_sitedir)" || die > /dev/null
-       nosetests -v sklearn --exe || die
-       popd > /dev/null
-}
-
-python_install() {
-       distutils-r1_python_install ${SCIPY_FCONFIG}
-}
-
-python_install_all() {
-       find "${S}" -name \*LICENSE.txt -delete
-       insinto /usr/share/doc/${PF}
-       use doc && doins -r doc/_build/html
-       use examples && doins -r examples
-       distutils-r1_python_install_all
-}
diff --git a/sci-libs/scikits_learn/scikits_learn-0.18.2-r1.ebuild b/sci-libs/scikits_learn/scikits_learn-0.18.2-r1.ebuild
deleted file mode 100644 (file)
index 854f19a..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-
-inherit distutils-r1 flag-o-matic
-
-MYPN="${PN/scikits_/scikit-}"
-MYP="${MYPN}-${PV}"
-
-DESCRIPTION="Python modules for machine learning and data mining"
-HOMEPAGE="https://scikit-learn.org"
-SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-
-# tried to unbundle virtual/python-funcsigs, funcsigs, odict
-# but it is a large mess to maintain
-
-RDEPEND="
-       dev-python/matplotlib[${PYTHON_USEDEP}]
-       dev-python/nose[${PYTHON_USEDEP}]
-       dev-python/numpy[lapack,${PYTHON_USEDEP}]
-       sci-libs/scikits[${PYTHON_USEDEP}]
-       sci-libs/scipy[${PYTHON_USEDEP}]
-       virtual/blas:=
-       virtual/cblas:=
-"
-
-DEPEND="
-       dev-python/cython[${PYTHON_USEDEP}]
-       dev-python/numpy[lapack,${PYTHON_USEDEP}]
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       sci-libs/scipy[${PYTHON_USEDEP}]
-       virtual/blas:=
-       virtual/cblas:=
-       doc? (
-               dev-python/matplotlib[${PYTHON_USEDEP}]
-               dev-python/sphinx[${PYTHON_USEDEP}]
-       )
-"
-
-S="${WORKDIR}/${MYP}"
-
-PATCHES=( "${FILESDIR}/${PN}-0.18.1-system-cblas.patch" )
-
-python_prepare_all() {
-       # bug #397605
-       [[ ${CHOST} == *-darwin* ]] \
-               && append-ldflags -bundle "-undefined dynamic_lookup" \
-               || append-ldflags -shared
-
-       # scikits-learn now uses the horrible numpy.distutils automagic
-       export SCIPY_FCONFIG="config_fc --noopt --noarch"
-
-       # remove bundled cblas
-       rm -r sklearn/src || die
-
-       # commented out, since it is a mess to maintain
-       # use system joblib
-       #rm -r sklearn/externals/joblib || die
-       #sed -i -e '/joblib/d' sklearn/externals/setup.py || die
-       #for f in sklearn/{*/,}*.py; do
-       #       sed -r -e '/^from/s/(sklearn|\.|)\.externals\.joblib/joblib/' \
-       #               -e 's/from (sklearn|\.|)\.externals import/import/' -i $f || die
-       #done
-
-       # use system funcsigs and odict
-       #rm sklearn/externals/funcsigs.py || die
-       #rm sklearn/externals/odict.py || die
-       #for f in sklearn/{utils/fixes.py,gaussian_process/{tests/test_,}kernels.py}; do
-       #       sed -r -e 's/from (sklearn|\.|)\.externals\.funcsigs/from funcsigs/' -i $f || die
-       #done
-       distutils-r1_python_prepare_all
-}
-
-python_compile() {
-       distutils-r1_python_compile ${SCIPY_FCONFIG}
-}
-
-python_compile_all() {
-       if use doc; then
-               cd "${S}/doc" || die
-               local d="${BUILD_DIR}/lib"
-               ln -s \
-                  "${S}"/sklearn/datasets/{data,descr,images} \
-                  "${d}"/sklearn/datasets || die
-               VARTEXFONTS="${T}"/fonts \
-                       MPLCONFIGDIR="${BUILD_DIR}" \
-                       PYTHONPATH="${d}" \
-                       emake html
-               rm -r "${d}"/sklearn/datasets/{data,descr,images} || die
-       fi
-}
-
-python_test() {
-       # doc builds and runs tests
-       use doc && return
-       distutils_install_for_testing ${SCIPY_FCONFIG}
-       esetup.py install \
-                         --root="${T}/test-${EPYTHON}" \
-                         --no-compile ${SCIPY_FCONFIG}
-       pushd "${T}/test-${EPYTHON}/$(python_get_sitedir)" || die > /dev/null
-       JOBLIB_MULTIPROCESSING=2 SKLEARN_SKIP_NETWORK_TESTS=1 nosetests -v sklearn --exe || die
-       popd > /dev/null
-}
-
-python_install() {
-       distutils-r1_python_install ${SCIPY_FCONFIG}
-}
-
-python_install_all() {
-       find "${S}" -name \*LICENSE.txt -delete
-       insinto /usr/share/doc/${PF}
-       use doc && doins -r doc/_build/html
-       use examples && doins -r examples
-       distutils-r1_python_install_all
-}
diff --git a/sci-libs/scikits_learn/scikits_learn-0.18.2.ebuild b/sci-libs/scikits_learn/scikits_learn-0.18.2.ebuild
deleted file mode 100644 (file)
index 191789a..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-
-inherit distutils-r1 flag-o-matic
-
-MYPN="${PN/scikits_/scikit-}"
-MYP="${MYPN}-${PV}"
-
-DESCRIPTION="Python modules for machine learning and data mining"
-HOMEPAGE="https://scikit-learn.org"
-SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       dev-python/joblib[${PYTHON_USEDEP}]
-       dev-python/matplotlib[${PYTHON_USEDEP}]
-       dev-python/nose[${PYTHON_USEDEP}]
-       >=dev-python/numpy-1.6.1[lapack,${PYTHON_USEDEP}]
-       sci-libs/scikits[${PYTHON_USEDEP}]
-       >=sci-libs/scipy-0.9[${PYTHON_USEDEP}]
-       virtual/blas
-       virtual/cblas
-       virtual/python-funcsigs[${PYTHON_USEDEP}]
-       "
-DEPEND="
-       dev-python/cython[${PYTHON_USEDEP}]
-       dev-python/numpy[lapack,${PYTHON_USEDEP}]
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       sci-libs/scipy[${PYTHON_USEDEP}]
-       virtual/blas
-       virtual/cblas
-       doc? (
-               dev-python/joblib[${PYTHON_USEDEP}]
-               dev-python/matplotlib[${PYTHON_USEDEP}]
-               dev-python/sphinx[${PYTHON_USEDEP}]
-               )"
-
-S="${WORKDIR}/${MYP}"
-
-PATCHES=( "${FILESDIR}/${PN}-0.18.1-system-cblas.patch" )
-
-python_prepare_all() {
-       # bug #397605
-       [[ ${CHOST} == *-darwin* ]] \
-               && append-ldflags -bundle "-undefined dynamic_lookup" \
-               || append-ldflags -shared
-
-       # scikits-learn now uses the horrible numpy.distutils automagic
-       export SCIPY_FCONFIG="config_fc --noopt --noarch"
-
-       # remove bundled cblas
-       rm -r sklearn/src || die
-
-       # use system joblib
-       rm -r sklearn/externals/joblib || die
-       sed -i -e '/joblib/d' sklearn/externals/setup.py || die
-       for f in sklearn/{*/,}*.py; do
-               sed -r -e '/^from/s/(sklearn|\.|)\.externals\.joblib/joblib/' \
-                       -e 's/from (sklearn|\.|)\.externals import/import/' -i $f || die
-       done
-
-       rm sklearn/externals/funcsigs.py || die
-       rm sklearn/externals/odict.py || die
-       for f in sklearn/{utils/fixes.py,gaussian_process/{tests/test_,}kernels.py}; do
-               sed -r -e 's/from (sklearn|\.|)\.externals\.funcsigs/from funcsigs/' -i $f || die
-       done
-
-       distutils-r1_python_prepare_all
-}
-
-python_compile() {
-       distutils-r1_python_compile ${SCIPY_FCONFIG}
-}
-
-python_compile_all() {
-       if use doc; then
-               cd "${S}/doc" || die
-               local d="${BUILD_DIR}"/lib
-               ln -s "${S}"/sklearn/datasets/{data,descr,images} \
-                       "${d}"/sklearn/datasets || die
-               VARTEXFONTS="${T}"/fonts \
-                       MPLCONFIGDIR="${BUILD_DIR}" \
-                       PYTHONPATH="${d}" \
-                       emake html
-               rm -r "${d}"/sklearn/datasets/{data,descr,images} || die
-       fi
-}
-
-python_test() {
-       # doc builds and runs tests
-       use doc && return
-       distutils_install_for_testing ${SCIPY_FCONFIG}
-       esetup.py \
-               install --root="${T}/test-${EPYTHON}" \
-               --no-compile ${SCIPY_FCONFIG}
-       pushd "${T}/test-${EPYTHON}/$(python_get_sitedir)" || die > /dev/null
-       nosetests -v sklearn --exe || die
-       popd > /dev/null
-}
-
-python_install() {
-       distutils-r1_python_install ${SCIPY_FCONFIG}
-}
-
-python_install_all() {
-       find "${S}" -name \*LICENSE.txt -delete
-       insinto /usr/share/doc/${PF}
-       use doc && doins -r doc/_build/html
-       use examples && doins -r examples
-       distutils-r1_python_install_all
-}
diff --git a/sci-libs/scikits_learn/scikits_learn-0.19.0.ebuild b/sci-libs/scikits_learn/scikits_learn-0.19.0.ebuild
deleted file mode 100644 (file)
index f6a48d1..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-
-inherit distutils-r1 flag-o-matic
-
-MYPN="${PN/scikits_/scikit-}"
-MYP="${MYPN}-${PV}"
-
-DESCRIPTION="Python modules for machine learning and data mining"
-HOMEPAGE="https://scikit-learn.org"
-SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="examples test"
-RESTRICT="!test? ( test )"
-
-# tried to unbundle virtual/python-funcsigs, funcsigs, odict
-# but it is a large mess to maintain
-
-RDEPEND="
-       dev-python/matplotlib[${PYTHON_USEDEP}]
-       dev-python/nose[${PYTHON_USEDEP}]
-       dev-python/numpy[lapack,${PYTHON_USEDEP}]
-       sci-libs/scikits[${PYTHON_USEDEP}]
-       sci-libs/scipy[${PYTHON_USEDEP}]
-       virtual/blas:=
-       virtual/cblas:=
-"
-
-DEPEND="
-       dev-python/cython[${PYTHON_USEDEP}]
-       dev-python/numpy[lapack,${PYTHON_USEDEP}]
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       sci-libs/scipy[${PYTHON_USEDEP}]
-       virtual/blas:=
-       virtual/cblas:=
-"
-
-S="${WORKDIR}/${MYP}"
-
-PATCHES=( "${FILESDIR}"/${PN}-0.18.1-system-cblas.patch )
-
-python_prepare_all() {
-       # bug #397605
-       [[ ${CHOST} == *-darwin* ]] \
-               && append-ldflags -bundle "-undefined dynamic_lookup" \
-               || append-ldflags -shared
-
-       # scikits-learn now uses the horrible numpy.distutils automagic
-       export SCIPY_FCONFIG="config_fc --noopt --noarch"
-
-       # remove bundled cblas
-       rm -r sklearn/src || die
-
-       # commented out, since it is a mess to maintain
-       # use system joblib
-       #rm -r sklearn/externals/joblib || die
-       #sed -i -e '/joblib/d' sklearn/externals/setup.py || die
-       #for f in sklearn/{*/,}*.py; do
-       #       sed -r -e '/^from/s/(sklearn|\.|)\.externals\.joblib/joblib/' \
-       #               -e 's/from (sklearn|\.|)\.externals import/import/' -i $f || die
-       #done
-
-       # use system funcsigs and odict
-       #rm sklearn/externals/funcsigs.py || die
-       #rm sklearn/externals/odict.py || die
-       #for f in sklearn/{utils/fixes.py,gaussian_process/{tests/test_,}kernels.py}; do
-       #       sed -r -e 's/from (sklearn|\.|)\.externals\.funcsigs/from funcsigs/' -i $f || die
-       #done
-       distutils-r1_python_prepare_all
-}
-
-python_compile() {
-       distutils-r1_python_compile ${SCIPY_FCONFIG}
-}
-
-python_test() {
-       # doc builds and runs tests
-       use doc && return
-       distutils_install_for_testing ${SCIPY_FCONFIG}
-       esetup.py install \
-                         --root="${T}/test-${EPYTHON}" \
-                         --no-compile ${SCIPY_FCONFIG}
-       pushd "${T}/test-${EPYTHON}/$(python_get_sitedir)" || die > /dev/null
-       JOBLIB_MULTIPROCESSING=2 SKLEARN_SKIP_NETWORK_TESTS=1 nosetests -v sklearn --exe || die
-       popd > /dev/null
-}
-
-python_install() {
-       distutils-r1_python_install ${SCIPY_FCONFIG}
-}
-
-python_install_all() {
-       find "${S}" -name \*LICENSE.txt -delete
-       distutils-r1_python_install_all
-       if use examples; then
-               dodoc -r examples
-               docompress -x /usr/share/doc/${PF}/examples
-       fi
-
-}