commit: 5199050855472db48e12b9669c4075560bf0f63a Author: Horea Christian <chr <AT> chymera <DOT> eu> AuthorDate: Fri Mar 13 17:50:00 2020 +0000 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> CommitDate: Fri Mar 13 17:50:00 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=51990508
sci-libs/nibabel: version bump 3.0.2 Package-Manager: Portage-2.3.92, Repoman-2.3.20 Signed-off-by: Horea Christian <chr <AT> chymera.eu> sci-libs/nibabel/nibabel-3.0.2.ebuild | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/sci-libs/nibabel/nibabel-3.0.2.ebuild b/sci-libs/nibabel/nibabel-3.0.2.ebuild new file mode 100644 index 000000000..e64e4e48b --- /dev/null +++ b/sci-libs/nibabel/nibabel-3.0.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 python3_7 ) + +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() { + cd "${BUILD_DIR}" || die + echo "backend: Agg" > matplotlibrc + MPLCONFIGDIR=. nosetests || die +}