1 |
commit: 3fd203a789a08050fc4801d4c2c4ca9d3f40de24 |
2 |
Author: Horea Christian <horea.christ <AT> yandex <DOT> com> |
3 |
AuthorDate: Tue Jul 31 14:14:03 2018 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Jul 31 14:14:03 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3fd203a7 |
7 |
|
8 |
sci-libs/nibabel: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.44, Repoman-2.3.10 |
11 |
|
12 |
sci-libs/nibabel/nibabel-2.3.0.ebuild | 44 +++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 44 insertions(+) |
14 |
|
15 |
diff --git a/sci-libs/nibabel/nibabel-2.3.0.ebuild b/sci-libs/nibabel/nibabel-2.3.0.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000..d25151e1a |
18 |
--- /dev/null |
19 |
+++ b/sci-libs/nibabel/nibabel-2.3.0.ebuild |
20 |
@@ -0,0 +1,44 @@ |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=7 |
25 |
+ |
26 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
27 |
+ |
28 |
+inherit distutils-r1 |
29 |
+ |
30 |
+DESCRIPTION="Access a cacophony of neuro-imaging file formats" |
31 |
+HOMEPAGE="http://nipy.org/nibabel/" |
32 |
+SRC_URI="https://github.com/nipy/nibabel/archive/${PV}.tar.gz -> ${P}.tar.gz" |
33 |
+ |
34 |
+KEYWORDS="~amd64 ~x86" |
35 |
+ |
36 |
+LICENSE="MIT" |
37 |
+SLOT="0" |
38 |
+IUSE="dicom doc test" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
42 |
+ sci-libs/scipy[${PYTHON_USEDEP}] |
43 |
+ dev-python/mock[${PYTHON_USEDEP}] |
44 |
+ dicom? ( |
45 |
+ sci-libs/pydicom[${PYTHON_USEDEP}] |
46 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
47 |
+ ) |
48 |
+ " |
49 |
+ |
50 |
+DEPEND=" |
51 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
52 |
+ test? ( |
53 |
+ ${RDEPEND} |
54 |
+ dev-python/nose[${PYTHON_USEDEP}] |
55 |
+ ) |
56 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
57 |
+ " |
58 |
+ |
59 |
+python_test() { |
60 |
+ distutils-r1_install_for_testing |
61 |
+ cd "${BUILD_DIR}" || die |
62 |
+ echo "backend: Agg" > matplotlibrc |
63 |
+ MPLCONFIGDIR=. nosetests || die |
64 |
+} |