commit: 6ae04d24faeac75edfa0a900fe193269c32890ff
Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Mon Dec 31 05:40:17 2018 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon Dec 31 05:40:17 2018 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6ae04d24
sci-libs/nibabel: version bump
Signed-off-by: Horea Christian <horea.christ <AT> yandex.com>
Package-Manager: Portage-2.3.52, Repoman-2.3.12
sci-libs/nibabel/nibabel-2.3.1.ebuild | 43 +++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/sci-libs/nibabel/nibabel-2.3.1.ebuild
b/sci-libs/nibabel/nibabel-2.3.1.ebuild
new file mode 100644
index 000000000..4018c7f41
--- /dev/null
+++ b/sci-libs/nibabel/nibabel-2.3.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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() {
+ cd "${BUILD_DIR}" || die
+ echo "backend: Agg" > matplotlibrc
+ MPLCONFIGDIR=. nosetests || die
+}