1 |
commit: 3deb3266cc23db1815042c373997195ee6f9c93b |
2 |
Author: Horea Christian <horea.christ <AT> yandex <DOT> com> |
3 |
AuthorDate: Sun Jan 6 14:51:18 2019 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Sun Jan 6 14:51:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3deb3266 |
7 |
|
8 |
sci-biology/samri: updated ebuild |
9 |
|
10 |
including test suite, EAPI, and PYTHON_COMPAT bump |
11 |
|
12 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
13 |
Signed-off-by: Horea Christian <horea.christ <AT> yandex.com> |
14 |
|
15 |
sci-biology/samri/samri-9999.ebuild | 15 +++++++-------- |
16 |
1 file changed, 7 insertions(+), 8 deletions(-) |
17 |
|
18 |
diff --git a/sci-biology/samri/samri-9999.ebuild b/sci-biology/samri/samri-9999.ebuild |
19 |
index 24078c41e..df5845e98 100644 |
20 |
--- a/sci-biology/samri/samri-9999.ebuild |
21 |
+++ b/sci-biology/samri/samri-9999.ebuild |
22 |
@@ -1,9 +1,9 @@ |
23 |
-# Copyright 1999-2018 Gentoo Foundation |
24 |
+# Copyright 1999-2019 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=6 |
28 |
+EAPI=7 |
29 |
|
30 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
31 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
32 |
|
33 |
inherit distutils-r1 git-r3 |
34 |
|
35 |
@@ -48,10 +48,9 @@ python_test() { |
36 |
export MPLBACKEND="agg" |
37 |
export PATH=${TEST_DIR}/scripts:$PATH |
38 |
export PYTHONIOENCODING=utf-8 |
39 |
- pytest || die |
40 |
- for i in examples/*.py; do |
41 |
- echo "Executing ${EPYTHON} ${i}" |
42 |
- ${EPYTHON} "$i" || die "Example Python script $i failed with ${EPYTHON}" |
43 |
- done |
44 |
./test_scripts.sh || die "Test scripts failed." |
45 |
+ sed -i -e \ |
46 |
+ "/def test_bru2bids():/i@×××××××××××.skip('Removed in full test suite, as this is already tested in `test_scripts.sh`')" \ |
47 |
+ samri/pipelines/tests/test_repos.py || die |
48 |
+ pytest -vv || die |
49 |
} |