Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/nibabel/
Date: Tue, 01 Sep 2015 11:47:59
Message-Id: 1440919892.8b3816cb8ff03dc927608cc5575e4c079eaa3728.jlec@gentoo
1 commit: 8b3816cb8ff03dc927608cc5575e4c079eaa3728
2 Author: Robbert Harms <robbert <AT> xkls <DOT> nl>
3 AuthorDate: Sun Aug 30 07:31:32 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 30 07:31:32 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8b3816cb
7
8 Version bump, adds nibabel-2.0.1. Also, version-2.0.1 now has python3_4 as python version dependency.
9
10 sci-libs/nibabel/nibabel-2.0.1.ebuild | 42 +++++++++++++++++++++++++++++++++++
11 1 file changed, 42 insertions(+)
12
13 diff --git a/sci-libs/nibabel/nibabel-2.0.1.ebuild b/sci-libs/nibabel/nibabel-2.0.1.ebuild
14 new file mode 100644
15 index 0000000..6d2f25d
16 --- /dev/null
17 +++ b/sci-libs/nibabel/nibabel-2.0.1.ebuild
18 @@ -0,0 +1,42 @@
19 +# Copyright 1999-2015 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +# $Id$
22 +
23 +EAPI="5"
24 +
25 +PYTHON_COMPAT=( python2_7 python3_4 )
26 +
27 +inherit distutils-r1
28 +
29 +DESCRIPTION="Access a cacophony of neuro-imaging file formats"
30 +HOMEPAGE="http://nipy.org/nibabel/"
31 +SRC_URI="https://github.com/nipy/nibabel/archive/${PV}.tar.gz -> ${P}.tar.gz"
32 +
33 +KEYWORDS="~amd64 ~x86"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +IUSE="dicom doc test"
38 +
39 +RDEPEND="
40 + dev-python/numpy[${PYTHON_USEDEP}]
41 + sci-libs/scipy[${PYTHON_USEDEP}]
42 + dev-python/nose[${PYTHON_USEDEP}]
43 + dicom? (
44 + sci-libs/pydicom[${PYTHON_USEDEP}]
45 + virtual/python-imaging[${PYTHON_USEDEP}]
46 + )
47 + "
48 +
49 +DEPEND="
50 + dev-python/setuptools[${PYTHON_USEDEP}]
51 + test? ( ${RDEPEND} )
52 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
53 + "
54 +
55 +python_test() {
56 + distutils-r1_install_for_testing
57 + cd "${BUILD_DIR}" || die
58 + echo "backend: Agg" > matplotlibrc
59 + MPLCONFIGDIR=. nosetests || die
60 +}