Gentoo Archives: gentoo-commits

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