commit: 8faafb557dc5d48fd31e8c09d648be4e188ec2bd
Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Wed May 1 16:36:41 2019 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Wed May 1 16:36:41 2019 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8faafb55
sci-libs/nipype: revision for testing imports
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Horea Christian <horea.christ <AT> yandex.com>
sci-libs/nipype/{nipype-1.1.1.ebuild => nipype-1.1.1-r1.ebuild} | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/sci-libs/nipype/nipype-1.1.1.ebuild
b/sci-libs/nipype/nipype-1.1.1-r1.ebuild
similarity index 91%
rename from sci-libs/nipype/nipype-1.1.1.ebuild
rename to sci-libs/nipype/nipype-1.1.1-r1.ebuild
index 70a0c37aa..e564b43c6 100644
--- a/sci-libs/nipype/nipype-1.1.1.ebuild
+++ b/sci-libs/nipype/nipype-1.1.1-r1.ebuild
@@ -47,6 +47,14 @@ RDEPEND="
virtual/python-funcsigs[${PYTHON_USEDEP}]
"
+src_prepare() {
+ sed -i\
+ -e "/'pytest>=%s' % PYTEST_MIN_VERSION,/d"\
+ -e "/'pytest-xdist',$/d"\
+ nipype/info.py || die
+ default
+}
+
python_test() {
py.test -v --cov nipype\
--cov-config .coveragerc\