1 |
commit: 385a7b2400c1057978747c93eb8a6194911ccbf0 |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Thu Apr 28 15:25:13 2022 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Apr 28 15:25:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=385a7b24 |
7 |
|
8 |
sci-biology/nilearn: version bump and working tests |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
12 |
|
13 |
sci-biology/nilearn/nilearn-0.9.1.ebuild | 50 ++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/sci-biology/nilearn/nilearn-0.9.1.ebuild b/sci-biology/nilearn/nilearn-0.9.1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000..71fce4b3f |
19 |
--- /dev/null |
20 |
+++ b/sci-biology/nilearn/nilearn-0.9.1.ebuild |
21 |
@@ -0,0 +1,50 @@ |
22 |
+# Copyright 1999-2022 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python3_{8..9} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="Fast and easy statistical learning on NeuroImaging data" |
32 |
+HOMEPAGE="http://nilearn.github.io/" |
33 |
+SRC_URI="https://github.com/nilearn/nilearn/archive/${PV}.tar.gz -> ${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="BSD" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~x86" |
38 |
+IUSE="test" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ >=dev-python/joblib-0.15[${PYTHON_USEDEP}] |
42 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
43 |
+ >=dev-python/matplotlib-3[${PYTHON_USEDEP}] |
44 |
+ >=dev-python/numpy-1.18[${PYTHON_USEDEP}] |
45 |
+ >=dev-python/pandas-1[${PYTHON_USEDEP}] |
46 |
+ >=dev-python/requests-2[${PYTHON_USEDEP}] |
47 |
+ >=dev-python/scipy-1.5[${PYTHON_USEDEP}] |
48 |
+ >=sci-libs/nibabel-3[${PYTHON_USEDEP}] |
49 |
+ >=sci-libs/scikit-learn-0.22[${PYTHON_USEDEP}] |
50 |
+" |
51 |
+ |
52 |
+PATCHES=( "${FILESDIR}/${P}-tests.patch" ) |
53 |
+ |
54 |
+distutils_enable_tests pytest |
55 |
+ |
56 |
+EPYTEST_IGNORE=( |
57 |
+ "examples/05_glm_second_level/plot_second_level_association_test.py" |
58 |
+ "examples/05_glm_second_level/plot_second_level_one_sample_test.py" |
59 |
+ "examples/05_glm_second_level/plot_second_level_two_sample_test.py" |
60 |
+) |
61 |
+EPYTEST_DESELECT=( |
62 |
+ "nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_standardize[False-True-zscore]" |
63 |
+ "nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_standardize[False-True-psc]" |
64 |
+ "nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_standardize[True-True-zscore]" |
65 |
+ "nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_standardize[True-True-psc]" |
66 |
+) |
67 |
+ |
68 |
+python_test() { |
69 |
+ echo "backend: Agg" > matplotlibrc |
70 |
+ MPLCONFIGDIR=. epytest |
71 |
+} |