public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/nilearn/
Date: Thu, 17 Dec 2015 11:06:33 +0000 (UTC)	[thread overview]
Message-ID: <1447892835.55c76cbf01847da2c4887679b52c414ac1aa10c5.jlec@gentoo> (raw)

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;  <chymera@gentoo.org> nilearn-0.1.4.1.ebuild,
+  nilearn-9999.ebuild:
+  dev-python/nilearn: added test flag and test dependency
+
   14 Nov 2015; Horea Christian <h.chr@mail.ru> 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
+}
+
+


             reply	other threads:[~2015-12-17 11:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-17 11:06 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-12-17 11:06 [gentoo-commits] proj/sci:master commit in: dev-python/nilearn/ Justin Lecher
2015-12-17 11:06 Justin Lecher
2015-12-17 11:06 Justin Lecher
2015-12-17 11:06 Justin Lecher
2015-12-17 11:06 Justin Lecher
2015-12-17 11:06 Justin Lecher
2015-12-17 11:06 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1447892835.55c76cbf01847da2c4887679b52c414ac1aa10c5.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox