1 |
commit: 7df0dba820d628b4b7224692a5cb188799097c40 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 29 17:41:14 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 29 17:41:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7df0dba8 |
7 |
|
8 |
sci-libs/scikit-learn: drop 0.23.2 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/754333 |
11 |
Bug: https://bugs.gentoo.org/758323 |
12 |
Bug: https://bugs.gentoo.org/788592 |
13 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
14 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
15 |
|
16 |
sci-libs/scikit-learn/Manifest | 1 - |
17 |
sci-libs/scikit-learn/scikit-learn-0.23.2.ebuild | 66 ------------------------ |
18 |
2 files changed, 67 deletions(-) |
19 |
|
20 |
diff --git a/sci-libs/scikit-learn/Manifest b/sci-libs/scikit-learn/Manifest |
21 |
index dafc45c07bb..ca041d4e518 100644 |
22 |
--- a/sci-libs/scikit-learn/Manifest |
23 |
+++ b/sci-libs/scikit-learn/Manifest |
24 |
@@ -1,3 +1,2 @@ |
25 |
DIST scikit-learn-0.22.2_p1.tar.gz 7034850 BLAKE2B 41c362ef6594e837a9fc798837e666fbb51e33954fdf700292650204fd9d1ab4fc4d1695890d02a24ad68f4dcc2d3cde8f0827eca70c6fb9a6f0e5c0d9c04fd5 SHA512 20bcda5c65f76bce9b71c5b5fb1b499f7f3a7a3f6fa5fade80a38dc658cb434e16e9d5a4906a9657157a5cc90a6d51080575d6e510207baa9f8b06c4fa761d5b |
26 |
-DIST scikit-learn-0.23.2.tar.gz 7190564 BLAKE2B db90e3d05d9b563c6cd98a6820c27b541e757e3fb6c25262b720842811b9e26d41a4a9c1d73e675714573d84dab799a0c450e768f4a41a39a6a61f6930c4c79a SHA512 e9797185b1b9def3ee5525e9b72742784aeb78fe8b069bb5aeab1d0f4513cf738c4489ed894274606dea9d6a32ccd3df26170ce1951e443dc77f9287c372e8c5 |
27 |
DIST scikit-learn-0.24.2.tar.gz 7589697 BLAKE2B a5a32db690e76d6ecfcb12d57a7f84ebcc7e67ecb73258c1d923f9b98a9d87c46aac96918ef7c3d8741f5dbeb46f169c73a7744fb7b92e6ab5cf42101a6bc2f1 SHA512 2159baf63414b9594918b40e1b72af2ab47349335ad4e3afd9756921f786737ed41d6deb333881e8c5c6e1f7ce9cfa10691b966dc2476c48c051621f9049d2ee |
28 |
|
29 |
diff --git a/sci-libs/scikit-learn/scikit-learn-0.23.2.ebuild b/sci-libs/scikit-learn/scikit-learn-0.23.2.ebuild |
30 |
deleted file mode 100644 |
31 |
index 4d66f60873c..00000000000 |
32 |
--- a/sci-libs/scikit-learn/scikit-learn-0.23.2.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,66 +0,0 @@ |
35 |
-# Copyright 2020 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
- |
40 |
-PYTHON_COMPAT=( python3_{7..9} ) |
41 |
-DISTUTILS_USE_SETUPTOOLS=no |
42 |
-inherit distutils-r1 |
43 |
- |
44 |
-DESCRIPTION="Machine learning library for Python" |
45 |
-HOMEPAGE="https://scikit-learn.org/stable/" |
46 |
-SRC_URI="https://github.com/scikit-learn/scikit-learn/archive/${PV}.tar.gz -> ${P}.tar.gz" |
47 |
- |
48 |
-LICENSE="BSD" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
51 |
-IUSE="examples" |
52 |
- |
53 |
-DEPEND=" |
54 |
- virtual/blas:= |
55 |
- virtual/cblas:= |
56 |
-" |
57 |
-RDEPEND=" |
58 |
- ${DEPEND} |
59 |
- dev-python/wheel[${PYTHON_USEDEP}] |
60 |
- dev-python/cython[${PYTHON_USEDEP}] |
61 |
- dev-python/joblib[${PYTHON_USEDEP}] |
62 |
- dev-python/numpy[${PYTHON_USEDEP}] |
63 |
- dev-python/scipy[${PYTHON_USEDEP}] |
64 |
- dev-python/threadpoolctl[${PYTHON_USEDEP}] |
65 |
-" |
66 |
- |
67 |
-distutils_enable_tests pytest |
68 |
- |
69 |
-python_prepare_all() { |
70 |
- # scikits-learn now uses the horrible numpy.distutils automagic |
71 |
- export SCIPY_FCONFIG="config_fc --noopt --noarch" |
72 |
- |
73 |
- # remove bundled cblas |
74 |
- rm -rf sklearn/src || die "failed to remove bundled cblas" |
75 |
- |
76 |
- distutils-r1_python_prepare_all |
77 |
-} |
78 |
- |
79 |
-python_compile() { |
80 |
- distutils-r1_python_compile ${SCIPY_FCONFIG} |
81 |
-} |
82 |
- |
83 |
-python_test() { |
84 |
- distutils_install_for_testing ${SCIPY_FCONFIG} |
85 |
- pushd "${TEST_DIR}/lib" >/dev/null || die |
86 |
- pytest -vv || die "testing failed with ${EPYTHON}" |
87 |
- popd >/dev/null || die |
88 |
-} |
89 |
- |
90 |
-python_install() { |
91 |
- distutils-r1_python_install ${SCIPY_FCONFIG} |
92 |
-} |
93 |
- |
94 |
-python_install_all() { |
95 |
- find "${S}" -name \*LICENSE.txt -delete |
96 |
- distutils-r1_python_install_all |
97 |
- if use examples; then |
98 |
- dodoc -r examples |
99 |
- fi |
100 |
-} |