commit: 3fd203a789a08050fc4801d4c2c4ca9d3f40de24 Author: Horea Christian <horea.christ <AT> yandex <DOT> com> AuthorDate: Tue Jul 31 14:14:03 2018 +0000 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> CommitDate: Tue Jul 31 14:14:03 2018 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3fd203a7
sci-libs/nibabel: version bump Package-Manager: Portage-2.3.44, Repoman-2.3.10 sci-libs/nibabel/nibabel-2.3.0.ebuild | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/sci-libs/nibabel/nibabel-2.3.0.ebuild b/sci-libs/nibabel/nibabel-2.3.0.ebuild new file mode 100644 index 000000000..d25151e1a --- /dev/null +++ b/sci-libs/nibabel/nibabel-2.3.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="Access a cacophony of neuro-imaging file formats" +HOMEPAGE="http://nipy.org/nibabel/" +SRC_URI="https://github.com/nipy/nibabel/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" + +LICENSE="MIT" +SLOT="0" +IUSE="dicom doc test" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dicom? ( + sci-libs/pydicom[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + ) + " + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + " + +python_test() { + distutils-r1_install_for_testing + cd "${BUILD_DIR}" || die + echo "backend: Agg" > matplotlibrc + MPLCONFIGDIR=. nosetests || die +}