aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/nibabel/Manifest1
-rw-r--r--sci-libs/nibabel/nibabel-2.3.1.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/sci-libs/nibabel/Manifest b/sci-libs/nibabel/Manifest
index 679f04a3a..f360a8bfc 100644
--- a/sci-libs/nibabel/Manifest
+++ b/sci-libs/nibabel/Manifest
@@ -1,3 +1,4 @@
DIST nibabel-2.0.1.tar.gz 3390853 BLAKE2B 862e3482f73f335207d74c1384a4c608aef0879752c722af2b5cfaba728d862168aa8ce601e840ef196dd1c5536f4ad0cb1a5613caf2ae3eedd910fed7749775 SHA512 ed7bc0d8e8b4f31ed16215fe768b5c1ed27cd6459248b8600b92455e770fc83fc81361eb9533a15ff334352e72bc0400a924df40853c2fad23940f9d3c230b14
DIST nibabel-2.1.0.tar.gz 3609462 BLAKE2B 26246f59ac6f5982884eb3316e96f6d484db763135c6dde4ed77b29576a9062aff4f7b2326e84851f5d6b3f0bb7381c7016df66a3672b5b742c8e86309bfc22f SHA512 772e216b68d4d26601d99daaa3a08b53a8d21cbbe5c5eef9e5829d10d9667850f5528f5ec02d1f98e3e98158f639c39aa806c41b28889062430c7f1f6a052f0d
DIST nibabel-2.3.0.tar.gz 4174114 BLAKE2B 9f0561f4a82fb23302406704d5147ea248601e86ecf4a5423172ccd7cf76ef5b8a8169d29e1cb6c6c7409bb9b1a55447139447bc1813f60c3dc48dc57659bcdf SHA512 9d6cb394152b4e5d49ed750958077998185d78bd01386f267733276a68455024af83b98f9b1f1ca1528655bd4becaec8ded1a02141a8e7464b528ffcec607f4a
+DIST nibabel-2.3.1.tar.gz 4182633 BLAKE2B 75d7f53da93945bd67cf5e0fb5583cd7fd62311c0a1107735277be14c6e3f9012d055ad8ae94bf6dcc34169495a5f4b08827b40d15d7c34cdfb5ed7f16c5115b SHA512 c76d50fbefa24bcbd1a9e8365963c54b8f4ac4e842fa3d45b40184fd687d123cc1c8a1013ca0370e07f9ed9185dd0cec5036ac7c4665789c121ea8fe49157f6b
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
+}