1
0
Fork 0

sci-libs/nipype: fixed test suite

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2020-03-31 00:30:13 -04:00
parent 1794b32b19
commit 9fe1d7e128
No known key found for this signature in database
GPG Key ID: EAA9223EE3BB378A
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,6 @@
31 Mar 2020; <chymera@gentoo.org> nipype-1.4.2.ebuild:
sci-libs/nipype: fixed test suite
*nipype-1.4.2 (30 Mar 2020)
30 Mar 2020; <chymera@gentoo.org> +nipype-1.4.2.ebuild:

View File

@ -44,16 +44,18 @@ RDEPEND="
"
#etelemetry and neurdflib
#src_prepare() {
# sed -i\
# -e "/'pytest>=%s' % PYTEST_MIN_VERSION,/d"\
# -e "/'pytest-xdist',$/d"\
# nipype/info.py || die
# default
#}
src_prepare() {
sed -i \
-e "/def test_no_et(tmp_path):/i@pytest.mark.skip('Known to fail by upstream: https://github.com/nipy/nipype/issues/3196#issuecomment-606003186')" \
nipype/tests/test_nipype.py || die
sed -i \
-e "/def test_fslversion():/i@pytest.mark.skip('Known to fail by upstream: https://github.com/nipy/nipype/issues/3196#issuecomment-605997462')" \
nipype/interfaces/fsl/tests/test_base.py || die
default
}
python_test() {
pytest -vv\
NIPYPE_NO_ET=1 pytest -vv\
|| die
# Upstream test configuration fails
#-c nipype/pytest.ini\