commit:     c1407b997a3e6e11251147e7e23814b1daba4552
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Mon Sep 26 11:04:39 2016 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon Sep 26 11:04:39 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c1407b99

sci-biology/nilearn: updted EAPI and python compatibility (#684)

* sci-biology/nilearn: updted EAPI and python compatibility

Package-Manager: portage-2.3.1

* sci-biology/nilearn: version bump

Package-Manager: portage-2.3.1

* sci-biology/nilearn: improved test phase

Package-Manager: portage-2.3.1

 sci-biology/nilearn/nilearn-0.1.4.1.ebuild                     | 10 +++++-----
 sci-biology/nilearn/nilearn-0.2.4.ebuild                       |  6 +++---
 sci-biology/nilearn/nilearn-0.2.5.ebuild                       |  6 +++---
 .../nilearn/{nilearn-0.2.4.ebuild => nilearn-0.2.6.ebuild}     |  6 +++---
 sci-biology/nilearn/nilearn-9999.ebuild                        | 10 +++++-----
 5 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/sci-biology/nilearn/nilearn-0.1.4.1.ebuild 
b/sci-biology/nilearn/nilearn-0.1.4.1.ebuild
index a57bbbc..9814724 100644
--- a/sci-biology/nilearn/nilearn-0.1.4.1.ebuild
+++ b/sci-biology/nilearn/nilearn-0.1.4.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_4 )
+PYTHON_COMPAT=( python{2_7,3_4} )
 
 inherit distutils-r1
 
@@ -31,6 +31,6 @@ RDEPEND="
 
 S="${WORKDIR}/${PN}-${MY_PV}"
 
-src_test() {
-       emake test-code
+python_test() {
+       nosetests -v || die
 }

diff --git a/sci-biology/nilearn/nilearn-0.2.4.ebuild 
b/sci-biology/nilearn/nilearn-0.2.4.ebuild
index 0d3b294..7816b7e 100644
--- a/sci-biology/nilearn/nilearn-0.2.4.ebuild
+++ b/sci-biology/nilearn/nilearn-0.2.4.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_4 )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 
 inherit distutils-r1
 
@@ -28,6 +28,6 @@ RDEPEND="
        sci-libs/nibabel[${PYTHON_USEDEP}]
        plot? ( dev-python/matplotlib[${PYTHON_USEDEP}] )"
 
-src_test() {
-       emake test-code
+python_test() {
+       nosetests -v || die
 }

diff --git a/sci-biology/nilearn/nilearn-0.2.5.ebuild 
b/sci-biology/nilearn/nilearn-0.2.5.ebuild
index 0d3b294..7816b7e 100644
--- a/sci-biology/nilearn/nilearn-0.2.5.ebuild
+++ b/sci-biology/nilearn/nilearn-0.2.5.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_4 )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 
 inherit distutils-r1
 
@@ -28,6 +28,6 @@ RDEPEND="
        sci-libs/nibabel[${PYTHON_USEDEP}]
        plot? ( dev-python/matplotlib[${PYTHON_USEDEP}] )"
 
-src_test() {
-       emake test-code
+python_test() {
+       nosetests -v || die
 }

diff --git a/sci-biology/nilearn/nilearn-0.2.4.ebuild 
b/sci-biology/nilearn/nilearn-0.2.6.ebuild
similarity index 90%
copy from sci-biology/nilearn/nilearn-0.2.4.ebuild
copy to sci-biology/nilearn/nilearn-0.2.6.ebuild
index 0d3b294..7816b7e 100644
--- a/sci-biology/nilearn/nilearn-0.2.4.ebuild
+++ b/sci-biology/nilearn/nilearn-0.2.6.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_4 )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 
 inherit distutils-r1
 
@@ -28,6 +28,6 @@ RDEPEND="
        sci-libs/nibabel[${PYTHON_USEDEP}]
        plot? ( dev-python/matplotlib[${PYTHON_USEDEP}] )"
 
-src_test() {
-       emake test-code
+python_test() {
+       nosetests -v || die
 }

diff --git a/sci-biology/nilearn/nilearn-9999.ebuild 
b/sci-biology/nilearn/nilearn-9999.ebuild
index ab5a4af..36d9a30 100644
--- a/sci-biology/nilearn/nilearn-9999.ebuild
+++ b/sci-biology/nilearn/nilearn-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_4 )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 
 inherit distutils-r1 git-r3
 
@@ -29,6 +29,6 @@ RDEPEND="
        sci-libs/nibabel[${PYTHON_USEDEP}]
        plot? ( dev-python/matplotlib[${PYTHON_USEDEP}] )"
 
-src_test() {
-       emake test-code
+python_test() {
+       nosetests -v || die
 }

Reply via email to