commit: 3deb3266cc23db1815042c373997195ee6f9c93b
Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Sun Jan 6 14:51:18 2019 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Sun Jan 6 14:51:54 2019 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3deb3266
sci-biology/samri: updated ebuild
including test suite, EAPI, and PYTHON_COMPAT bump
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Horea Christian <horea.christ <AT> yandex.com>
sci-biology/samri/samri-9999.ebuild | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/sci-biology/samri/samri-9999.ebuild
b/sci-biology/samri/samri-9999.ebuild
index 24078c41e..df5845e98 100644
--- a/sci-biology/samri/samri-9999.ebuild
+++ b/sci-biology/samri/samri-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1 git-r3
@@ -48,10 +48,9 @@ python_test() {
export MPLBACKEND="agg"
export PATH=${TEST_DIR}/scripts:$PATH
export PYTHONIOENCODING=utf-8
- pytest || die
- for i in examples/*.py; do
- echo "Executing ${EPYTHON} ${i}"
- ${EPYTHON} "$i" || die "Example Python script $i failed with
${EPYTHON}"
- done
./test_scripts.sh || die "Test scripts failed."
+ sed -i -e \
+ "/def test_bru2bids():/[email protected]('Removed in full
test suite, as this is already tested in `test_scripts.sh`')" \
+ samri/pipelines/tests/test_repos.py || die
+ pytest -vv || die
}