Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/samri/
Date: Wed, 26 Jan 2022 17:48:42
Message-Id: 1643193393.a5362c2b5a6817a805335c0b3b4d6b883536b668.andrewammerlaan@gentoo
1 commit: a5362c2b5a6817a805335c0b3b4d6b883536b668
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 26 10:36:33 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 26 10:36:33 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a5362c2b
7
8 sci-biology/samri: drop old and live
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
12
13 sci-biology/samri/samri-0.4.1.ebuild | 58 -----------------------------
14 sci-biology/samri/samri-9999.ebuild | 71 ------------------------------------
15 2 files changed, 129 deletions(-)
16
17 diff --git a/sci-biology/samri/samri-0.4.1.ebuild b/sci-biology/samri/samri-0.4.1.ebuild
18 deleted file mode 100644
19 index f94119541..000000000
20 --- a/sci-biology/samri/samri-0.4.1.ebuild
21 +++ /dev/null
22 @@ -1,58 +0,0 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -PYTHON_COMPAT=( python3_{7..8} )
29 -
30 -inherit distutils-r1 prefix
31 -
32 -DESCRIPTION="Small Animal Magnetic Resonance Imaging"
33 -HOMEPAGE="https://github.com/IBT-FMI/SAMRI"
34 -SRC_URI="https://github.com/IBT-FMI/SAMRI/archive/${PV}.tar.gz -> ${P}.tar.gz"
35 -
36 -LICENSE="GPL-3"
37 -SLOT="0"
38 -IUSE="labbookdb test"
39 -KEYWORDS="~amd64"
40 -RESTRICT="!test? ( test )"
41 -
42 -DEPEND="
43 - test? (
44 - dev-python/pytest[${PYTHON_USEDEP}]
45 - sci-biology/samri_bidsdata
46 - sci-biology/samri_bindata
47 - )
48 -"
49 -RDEPEND="
50 - dev-python/argh[${PYTHON_USEDEP}]
51 - dev-python/joblib[${PYTHON_USEDEP}]
52 - >=dev-python/matplotlib-2.0.2[${PYTHON_USEDEP}]
53 - >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}]
54 - dev-python/pandas[${PYTHON_USEDEP}]
55 - dev-python/seaborn[${PYTHON_USEDEP}]
56 - dev-python/statsmodels[${PYTHON_USEDEP}]
57 - media-gfx/blender
58 - >=sci-biology/fsl-5.0.9
59 - sci-biology/bru2nii
60 - sci-biology/mouse-brain-atlases
61 - labbookdb? ( sci-libs/labbookdb[${PYTHON_USEDEP}] )
62 - sci-libs/nibabel[${PYTHON_USEDEP}]
63 - >=sci-libs/nipy-0.4.1[${PYTHON_USEDEP}]
64 - >=sci-libs/nipype-1.0.0[${PYTHON_USEDEP}]
65 - <=sci-libs/pybids-0.6.5[${PYTHON_USEDEP}]
66 - sci-libs/scikit-image[${PYTHON_USEDEP}]
67 - dev-python/scipy[${PYTHON_USEDEP}]
68 - sci-biology/ants
69 - sci-biology/afni
70 - sci-biology/nilearn[${PYTHON_USEDEP}]
71 -"
72 -
73 -S="${WORKDIR}/SAMRI-${PV}"
74 -
75 -src_prepare() {
76 - distutils-r1_src_prepare
77 - sed -i -e "s:/usr:@GENTOO_PORTAGE_EPREFIX@/usr:g" `grep -rlI \'/usr/ samri`
78 - sed -i -e "s:/usr:@GENTOO_PORTAGE_EPREFIX@/usr:g" `grep -rlI /usr/ test_scripts.sh`
79 - eprefixify $(grep -rl GENTOO_PORTAGE_EPREFIX samri/* test_scripts.sh)
80 -}
81
82 diff --git a/sci-biology/samri/samri-9999.ebuild b/sci-biology/samri/samri-9999.ebuild
83 deleted file mode 100644
84 index 8dba8864c..000000000
85 --- a/sci-biology/samri/samri-9999.ebuild
86 +++ /dev/null
87 @@ -1,71 +0,0 @@
88 -# Copyright 1999-2021 Gentoo Authors
89 -# Distributed under the terms of the GNU General Public License v2
90 -
91 -EAPI=7
92 -
93 -PYTHON_COMPAT=( python3_{7..8} )
94 -
95 -inherit distutils-r1 prefix git-r3
96 -
97 -DESCRIPTION="Small Animal Magnetic Resonance Imaging"
98 -HOMEPAGE="https://github.com/IBT-FMI/SAMRI"
99 -SRC_URI=""
100 -EGIT_REPO_URI="https://github.com/IBT-FMI/SAMRI"
101 -
102 -LICENSE="GPL-3"
103 -SLOT="0"
104 -IUSE="+atlases labbookdb test"
105 -KEYWORDS=""
106 -RESTRICT="!test? ( test )"
107 -
108 -DEPEND="
109 - test? (
110 - dev-python/pytest[${PYTHON_USEDEP}]
111 - sci-biology/samri_bidsdata
112 - sci-biology/samri_bindata
113 - )
114 - "
115 -RDEPEND="
116 - dev-python/argh[${PYTHON_USEDEP}]
117 - dev-python/joblib[${PYTHON_USEDEP}]
118 - >=dev-python/matplotlib-2.0.2[${PYTHON_USEDEP}]
119 - >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}]
120 - dev-python/pandas[${PYTHON_USEDEP}]
121 - dev-python/scipy[${PYTHON_USEDEP}]
122 - dev-python/seaborn[${PYTHON_USEDEP}]
123 - dev-python/statsmodels[${PYTHON_USEDEP}]
124 - >=media-gfx/blender-2.83.4
125 - >=sci-biology/fsl-5.0.9
126 - sci-biology/bru2nii
127 - atlases? ( sci-biology/mouse-brain-atlases )
128 - labbookdb? ( sci-libs/labbookdb[${PYTHON_USEDEP}] )
129 - sci-libs/nibabel[${PYTHON_USEDEP}]
130 - >=sci-libs/nipy-0.4.1[${PYTHON_USEDEP}]
131 - >=sci-libs/nipype-1.0.0[${PYTHON_USEDEP}]
132 - sci-libs/pybids[${PYTHON_USEDEP}]
133 - sci-libs/scikit-image[${PYTHON_USEDEP}]
134 - sci-biology/ants
135 - sci-biology/afni
136 - sci-biology/nilearn[${PYTHON_USEDEP}]
137 -"
138 -
139 -REQUIRED_USE="test? ( atlases )"
140 -
141 -src_prepare() {
142 - distutils-r1_src_prepare
143 - sed -i -e "s:/usr:@GENTOO_PORTAGE_EPREFIX@/usr:g" `grep -rlI \'/usr/ samri`
144 - sed -i -e "s:/usr:@GENTOO_PORTAGE_EPREFIX@/usr:g" `grep -rlI /usr/ test_scripts.sh`
145 - eprefixify $(grep -rl GENTOO_PORTAGE_EPREFIX samri/* test_scripts.sh)
146 -}
147 -
148 -python_test() {
149 - distutils_install_for_testing
150 - export MPLBACKEND="agg"
151 - export PATH=${TEST_DIR}/scripts:$PATH
152 - export PYTHONIOENCODING=utf-8
153 - ./test_scripts.sh || die "Test scripts failed."
154 - sed -i -e \
155 - "/def test_bru2bids():/i@×××××××××××.skip('Removed in full test suite, as this is already tested in `test_scripts.sh`')" \
156 - samri/pipelines/tests/test_repos.py || die
157 - pytest -vv -k "not longtime" || die
158 -}