commit: 55c76cbf01847da2c4887679b52c414ac1aa10c5 Author: Horea Christian <h.chr <AT> mail <DOT> ru> AuthorDate: Thu Nov 19 00:27:15 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Thu Nov 19 00:27:15 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=55c76cbf
dev-python/nilearn: added test flag and test dependency Package-Manager: portage-2.2.23 dev-python/nilearn/ChangeLog | 4 ++++ dev-python/nilearn/nilearn-0.1.4.1.ebuild | 3 ++- dev-python/nilearn/nilearn-9999.ebuild | 9 ++++++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/dev-python/nilearn/ChangeLog b/dev-python/nilearn/ChangeLog index 4cf4d12..19503f2 100644 --- a/dev-python/nilearn/ChangeLog +++ b/dev-python/nilearn/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Id$ + 19 Nov 2015; <[email protected]> nilearn-0.1.4.1.ebuild, + nilearn-9999.ebuild: + dev-python/nilearn: added test flag and test dependency + 14 Nov 2015; Horea Christian <[email protected]> nilearn-0.1.4.1.ebuild: dev-python/nilearn: added test function diff --git a/dev-python/nilearn/nilearn-0.1.4.1.ebuild b/dev-python/nilearn/nilearn-0.1.4.1.ebuild index d8c0ded..90623f8 100644 --- a/dev-python/nilearn/nilearn-0.1.4.1.ebuild +++ b/dev-python/nilearn/nilearn-0.1.4.1.ebuild @@ -16,12 +16,13 @@ SRC_URI="mirror://pypi/n/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="+plot" +IUSE="+plot test" DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] " RDEPEND=" + test? ( dev-python/nose[${PYTHON_USEDEP}] ) dev-python/numpy[${PYTHON_USEDEP}] sci-libs/scikits_learn[${PYTHON_USEDEP}] sci-libs/scipy[${PYTHON_USEDEP}] diff --git a/dev-python/nilearn/nilearn-9999.ebuild b/dev-python/nilearn/nilearn-9999.ebuild index a1b3989..5282afe 100644 --- a/dev-python/nilearn/nilearn-9999.ebuild +++ b/dev-python/nilearn/nilearn-9999.ebuild @@ -16,14 +16,21 @@ EGIT_REPO_URI="git://github.com/nilearn/nilearn" LICENSE="BSD" SLOT="0" KEYWORDS="" -IUSE="+plot" +IUSE="+plot test" DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] " RDEPEND=" + test? ( dev-python/nose[${PYTHON_USEDEP}] ) dev-python/numpy[${PYTHON_USEDEP}] sci-libs/scikits_learn[${PYTHON_USEDEP}] sci-libs/scipy[${PYTHON_USEDEP}] sci-libs/nibabel[${PYTHON_USEDEP}] plot? ( dev-python/matplotlib[${PYTHON_USEDEP}] )" + +src_test() { + emake test-code +} + +
