added nipype ebuild for chymeric upstream
This commit is contained in:
parent
a78324ad15
commit
999ee5cc96
52
sci-libs/nipype/nipype-9999.ebuild
Normal file
52
sci-libs/nipype/nipype-9999.ebuild
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||||
|
PYTHON_REQ_USE="threads(+),sqlite"
|
||||||
|
|
||||||
|
inherit distutils-r1 git-r3
|
||||||
|
|
||||||
|
DESCRIPTION="Neuroimaging in Python: Pipelines and Interfaces"
|
||||||
|
HOMEPAGE="http://nipy.sourceforge.net/nipype/"
|
||||||
|
SRC_URI=""
|
||||||
|
EGIT_REPO_URI="https://github.com/TheChymera/nipype"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS=""
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-python/future[${PYTHON_USEDEP}]
|
||||||
|
dev-python/prov[${PYTHON_USEDEP}]
|
||||||
|
dev-python/numpy[${PYTHON_USEDEP}]
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
sci-libs/nibabel[${PYTHON_USEDEP}]
|
||||||
|
test? ( dev-python/mock[${PYTHON_USEDEP}] )
|
||||||
|
$(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7)
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/networkx[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pydotplus[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pygraphviz[${PYTHON_USEDEP}]
|
||||||
|
dev-python/traits[${PYTHON_USEDEP}]
|
||||||
|
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||||
|
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
EXISTING_REQUIRE="setup_requires=\['future', 'configparser'\]"
|
||||||
|
CORRECTED_REQUIRE="setup_requires=\['future'\]"
|
||||||
|
sed \
|
||||||
|
-e "s/${EXISTING_REQUIRE}/${CORRECTED_REQUIRE}/g" \
|
||||||
|
-i setup.py \
|
||||||
|
|| die "sed setup.py"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
nosetests -v || die
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user