aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorea Christian <horea.christ@yandex.com>2018-12-31 06:40:17 +0100
committerHorea Christian <horea.christ@yandex.com>2018-12-31 06:40:17 +0100
commit6ae04d24faeac75edfa0a900fe193269c32890ff (patch)
tree3574296f8c09592f65ffca719a421c1365e7d09a /sci-libs/nibabel/nibabel-2.3.1.ebuild
parentsci-libs/nibabel: removed deprecated version (diff)
downloadsci-6ae04d24faeac75edfa0a900fe193269c32890ff.tar.gz
sci-6ae04d24faeac75edfa0a900fe193269c32890ff.tar.bz2
sci-6ae04d24faeac75edfa0a900fe193269c32890ff.zip
sci-libs/nibabel: version bump
Signed-off-by: Horea Christian <horea.christ@yandex.com> Package-Manager: Portage-2.3.52, Repoman-2.3.12
Diffstat (limited to 'sci-libs/nibabel/nibabel-2.3.1.ebuild')
-rw-r--r--sci-libs/nibabel/nibabel-2.3.1.ebuild43
1 files changed, 43 insertions, 0 deletions
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
+}