Gentoo Archives: gentoo-commits

From: Horea Christian <horea.christ@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/samri/
Date: Sun, 06 Jan 2019 15:09:09
Message-Id: 1546787335.35b70ea666aeb1b55743d6c6d57e5cb7118cab58.chymera@gentoo
1 commit: 35b70ea666aeb1b55743d6c6d57e5cb7118cab58
2 Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
3 AuthorDate: Sun Jan 6 15:07:30 2019 +0000
4 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
5 CommitDate: Sun Jan 6 15:08:55 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=35b70ea6
7
8 sci-biology/samri: version bump
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Horea Christian <horea.christ <AT> yandex.com>
12
13 sci-biology/samri/samri-0.2.ebuild | 56 ++++++++++++++++++++++++++++++++++++++
14 1 file changed, 56 insertions(+)
15
16 diff --git a/sci-biology/samri/samri-0.2.ebuild b/sci-biology/samri/samri-0.2.ebuild
17 new file mode 100644
18 index 000000000..3b8f06a60
19 --- /dev/null
20 +++ b/sci-biology/samri/samri-0.2.ebuild
21 @@ -0,0 +1,56 @@
22 +# Copyright 1999-2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Small Animal Magnetic Resonance Imaging"
32 +HOMEPAGE="https://github.com/IBT-FMI/SAMRI"
33 +SRC_URI="https://github.com/IBT-FMI/SAMRI/archive/${PV}.tar.gz -> ${P}.tar.gz"
34 +
35 +LICENSE="GPL-3"
36 +SLOT="0"
37 +IUSE="atlases labbookdb test"
38 +KEYWORDS="~amd64 ~x86"
39 +
40 +# Numpy dependency to circumvent scikits_learn dependency bug:
41 +# https://bugs.gentoo.org/653052
42 +DEPEND="test? ( sci-biology/samri_bindata )"
43 +RDEPEND="
44 + dev-python/argh[${PYTHON_USEDEP}]
45 + dev-python/joblib[${PYTHON_USEDEP}]
46 + >=dev-python/matplotlib-2.0.2[${PYTHON_USEDEP}]
47 + >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}]
48 + dev-python/pandas[${PYTHON_USEDEP}]
49 + dev-python/seaborn[${PYTHON_USEDEP}]
50 + dev-python/statsmodels[${PYTHON_USEDEP}]
51 + >=sci-biology/fsl-5.0.9
52 + sci-biology/bru2nii
53 + atlases? ( sci-biology/mouse-brain-atlases )
54 + labbookdb? ( sci-libs/labbookdb[${PYTHON_USEDEP}] )
55 + sci-libs/nibabel[${PYTHON_USEDEP}]
56 + >=sci-libs/nipy-0.4.1[${PYTHON_USEDEP}]
57 + >=sci-libs/nipype-0.14.0_pre20170830[${PYTHON_USEDEP}]
58 + sci-libs/pybids[${PYTHON_USEDEP}]
59 + sci-libs/scipy[${PYTHON_USEDEP}]
60 + sci-biology/ants
61 + sci-biology/afni
62 + sci-biology/nilearn[${PYTHON_USEDEP}]
63 + "
64 +
65 +S="${WORKDIR}/SAMRI-${PV}"
66 +
67 +python_test() {
68 + distutils_install_for_testing
69 + export MPLBACKEND="agg"
70 + export PATH=${TEST_DIR}/scripts:$PATH
71 + export PYTHONIOENCODING=utf-8
72 + ./test_scripts.sh || die "Test scripts failed."
73 + sed -i -e \
74 + "/def test_bru2bids():/i@×××××××××××.skip('Removed in full test suite, as this is already tested in `test_scripts.sh`')" \
75 + samri/pipelines/tests/test_repos.py || die
76 + pytest -vv || die
77 +}