commit: 2afd2fbdee20a8b42f5fc9bdc7d696774e567650 Author: Horea Christian <horea.christ <AT> yandex <DOT> com> AuthorDate: Tue Jun 26 00:50:14 2018 +0000 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> CommitDate: Tue Jun 26 00:50:14 2018 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2afd2fbd
sci-libs/nipype: version bump Package-Manager: Portage-2.3.40, Repoman-2.3.9 sci-libs/nipype/nipype-0.14.0_pre20170830.ebuild | 62 ++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/sci-libs/nipype/nipype-0.14.0_pre20170830.ebuild b/sci-libs/nipype/nipype-0.14.0_pre20170830.ebuild new file mode 100644 index 000000000..0fc65a5ce --- /dev/null +++ b/sci-libs/nipype/nipype-0.14.0_pre20170830.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 + +COMMIT="7055313c91de52bf65518284b42df446466fe581" + +DESCRIPTION="Neuroimaging in Python: Pipelines and Interfaces" +HOMEPAGE="http://nipy.sourceforge.net/nipype/" +SRC_URI="https://github.com/nipy/nipype/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=" + dev-python/future[${PYTHON_USEDEP}] + =dev-python/prov-1.5.0[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=sci-libs/nibabel-2.0.1[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) + $(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7) + " +RDEPEND=" + >=dev-python/click-6.6[${PYTHON_USEDEP}] + dev-python/funcsigs[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pydotplus[${PYTHON_USEDEP}] + dev-python/pygraphviz[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/traits-4.6.0[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + " + +S="${WORKDIR}/${PN}-${COMMIT}" + +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 +}