commit: a5362c2b5a6817a805335c0b3b4d6b883536b668
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 26 10:36:33 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Jan 26 10:36:33 2022 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a5362c2b
sci-biology/samri: drop old and live
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-biology/samri/samri-0.4.1.ebuild | 58 -----------------------------
sci-biology/samri/samri-9999.ebuild | 71 ------------------------------------
2 files changed, 129 deletions(-)
diff --git a/sci-biology/samri/samri-0.4.1.ebuild
b/sci-biology/samri/samri-0.4.1.ebuild
deleted file mode 100644
index f94119541..000000000
--- a/sci-biology/samri/samri-0.4.1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..8} )
-
-inherit distutils-r1 prefix
-
-DESCRIPTION="Small Animal Magnetic Resonance Imaging"
-HOMEPAGE="https://github.com/IBT-FMI/SAMRI"
-SRC_URI="https://github.com/IBT-FMI/SAMRI/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="labbookdb test"
-KEYWORDS="~amd64"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- sci-biology/samri_bidsdata
- sci-biology/samri_bindata
- )
-"
-RDEPEND="
- dev-python/argh[${PYTHON_USEDEP}]
- dev-python/joblib[${PYTHON_USEDEP}]
- >=dev-python/matplotlib-2.0.2[${PYTHON_USEDEP}]
- >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}]
- dev-python/pandas[${PYTHON_USEDEP}]
- dev-python/seaborn[${PYTHON_USEDEP}]
- dev-python/statsmodels[${PYTHON_USEDEP}]
- media-gfx/blender
- >=sci-biology/fsl-5.0.9
- sci-biology/bru2nii
- sci-biology/mouse-brain-atlases
- labbookdb? ( sci-libs/labbookdb[${PYTHON_USEDEP}] )
- sci-libs/nibabel[${PYTHON_USEDEP}]
- >=sci-libs/nipy-0.4.1[${PYTHON_USEDEP}]
- >=sci-libs/nipype-1.0.0[${PYTHON_USEDEP}]
- <=sci-libs/pybids-0.6.5[${PYTHON_USEDEP}]
- sci-libs/scikit-image[${PYTHON_USEDEP}]
- dev-python/scipy[${PYTHON_USEDEP}]
- sci-biology/ants
- sci-biology/afni
- sci-biology/nilearn[${PYTHON_USEDEP}]
-"
-
-S="${WORKDIR}/SAMRI-${PV}"
-
-src_prepare() {
- distutils-r1_src_prepare
- sed -i -e "s:/usr:@GENTOO_PORTAGE_EPREFIX@/usr:g" `grep -rlI \'/usr/
samri`
- sed -i -e "s:/usr:@GENTOO_PORTAGE_EPREFIX@/usr:g" `grep -rlI /usr/
test_scripts.sh`
- eprefixify $(grep -rl GENTOO_PORTAGE_EPREFIX samri/* test_scripts.sh)
-}
diff --git a/sci-biology/samri/samri-9999.ebuild
b/sci-biology/samri/samri-9999.ebuild
deleted file mode 100644
index 8dba8864c..000000000
--- a/sci-biology/samri/samri-9999.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..8} )
-
-inherit distutils-r1 prefix git-r3
-
-DESCRIPTION="Small Animal Magnetic Resonance Imaging"
-HOMEPAGE="https://github.com/IBT-FMI/SAMRI"
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/IBT-FMI/SAMRI"
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="+atlases labbookdb test"
-KEYWORDS=""
-RESTRICT="!test? ( test )"
-
-DEPEND="
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- sci-biology/samri_bidsdata
- sci-biology/samri_bindata
- )
- "
-RDEPEND="
- dev-python/argh[${PYTHON_USEDEP}]
- dev-python/joblib[${PYTHON_USEDEP}]
- >=dev-python/matplotlib-2.0.2[${PYTHON_USEDEP}]
- >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}]
- dev-python/pandas[${PYTHON_USEDEP}]
- dev-python/scipy[${PYTHON_USEDEP}]
- dev-python/seaborn[${PYTHON_USEDEP}]
- dev-python/statsmodels[${PYTHON_USEDEP}]
- >=media-gfx/blender-2.83.4
- >=sci-biology/fsl-5.0.9
- sci-biology/bru2nii
- atlases? ( sci-biology/mouse-brain-atlases )
- labbookdb? ( sci-libs/labbookdb[${PYTHON_USEDEP}] )
- sci-libs/nibabel[${PYTHON_USEDEP}]
- >=sci-libs/nipy-0.4.1[${PYTHON_USEDEP}]
- >=sci-libs/nipype-1.0.0[${PYTHON_USEDEP}]
- sci-libs/pybids[${PYTHON_USEDEP}]
- sci-libs/scikit-image[${PYTHON_USEDEP}]
- sci-biology/ants
- sci-biology/afni
- sci-biology/nilearn[${PYTHON_USEDEP}]
-"
-
-REQUIRED_USE="test? ( atlases )"
-
-src_prepare() {
- distutils-r1_src_prepare
- sed -i -e "s:/usr:@GENTOO_PORTAGE_EPREFIX@/usr:g" `grep -rlI \'/usr/
samri`
- sed -i -e "s:/usr:@GENTOO_PORTAGE_EPREFIX@/usr:g" `grep -rlI /usr/
test_scripts.sh`
- eprefixify $(grep -rl GENTOO_PORTAGE_EPREFIX samri/* test_scripts.sh)
-}
-
-python_test() {
- distutils_install_for_testing
- export MPLBACKEND="agg"
- export PATH=${TEST_DIR}/scripts:$PATH
- export PYTHONIOENCODING=utf-8
- ./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 -k "not longtime" || die
-}