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/nipype/
Date: Tue, 15 Jan 2019 21:53:12
Message-Id: 1547589176.652a29d0e2b7fb59f5f87d535f65534ae59af01e.chymera@gentoo
1 commit: 652a29d0e2b7fb59f5f87d535f65534ae59af01e
2 Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
3 AuthorDate: Tue Jan 15 21:52:56 2019 +0000
4 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
5 CommitDate: Tue Jan 15 21:52:56 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=652a29d0
7
8 sci-libs/nipype: Updated license, copyright, EAPI
9
10 tests, and PYTHON_COMPAT
11
12 Package-Manager: Portage-2.3.55, Repoman-2.3.12
13 Signed-off-by: Horea Christian <horea.christ <AT> yandex.com>
14
15 sci-libs/nipype/nipype-9999.ebuild | 44 ++++++++++++++++++--------------------
16 1 file changed, 21 insertions(+), 23 deletions(-)
17
18 diff --git a/sci-libs/nipype/nipype-9999.ebuild b/sci-libs/nipype/nipype-9999.ebuild
19 index 30c5a6493..df9829dbd 100644
20 --- a/sci-libs/nipype/nipype-9999.ebuild
21 +++ b/sci-libs/nipype/nipype-9999.ebuild
22 @@ -1,9 +1,9 @@
23 -# Copyright 1999-2018 Gentoo Foundation
24 +# Copyright 1999-2019 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 -EAPI=6
28 +EAPI=7
29
30 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
31 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
32 PYTHON_REQ_USE="threads(+),sqlite"
33
34 inherit distutils-r1 git-r3
35 @@ -13,48 +13,46 @@ HOMEPAGE="http://nipy.sourceforge.net/nipype/"
36 SRC_URI=""
37 EGIT_REPO_URI="https://github.com/nipy/nipype"
38
39 -LICENSE="BSD"
40 +LICENSE="Apache-2.0"
41 SLOT="0"
42 KEYWORDS=""
43 IUSE="test"
44
45 DEPEND="
46 dev-python/future[${PYTHON_USEDEP}]
47 - dev-python/prov[${PYTHON_USEDEP}]
48 dev-python/numpy[${PYTHON_USEDEP}]
49 + ~dev-python/prov-1.5.0[${PYTHON_USEDEP}]
50 dev-python/setuptools[${PYTHON_USEDEP}]
51 - >=sci-libs/nibabel-2.0.1[${PYTHON_USEDEP}]
52 + sci-libs/nibabel[${PYTHON_USEDEP}]
53 test? (
54 dev-python/mock[${PYTHON_USEDEP}]
55 dev-python/pytest[${PYTHON_USEDEP}]
56 dev-python/pytest-xdist[${PYTHON_USEDEP}]
57 - )
58 - $(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7)
59 + ${RDEPEND}
60 + )
61 + $(python_gen_cond_dep '
62 + dev-python/futures[${PYTHON_USEDEP}]
63 + dev-python/configparser[${PYTHON_USEDEP}]' python2_7)
64 "
65 RDEPEND="
66 >=dev-python/click-6.6[${PYTHON_USEDEP}]
67 - dev-python/funcsigs[${PYTHON_USEDEP}]
68 dev-python/networkx[${PYTHON_USEDEP}]
69 dev-python/packaging[${PYTHON_USEDEP}]
70 + dev-python/pydot[${PYTHON_USEDEP}]
71 dev-python/pydotplus[${PYTHON_USEDEP}]
72 dev-python/pygraphviz[${PYTHON_USEDEP}]
73 - dev-python/pytest[${PYTHON_USEDEP}]
74 dev-python/python-dateutil[${PYTHON_USEDEP}]
75 - >=dev-python/traits-4.6.0[${PYTHON_USEDEP}]
76 - sci-libs/scipy[${PYTHON_USEDEP}]
77 dev-python/simplejson[${PYTHON_USEDEP}]
78 + dev-python/traits[${PYTHON_USEDEP}]
79 + sci-libs/scipy[${PYTHON_USEDEP}]
80 + virtual/python-funcsigs[${PYTHON_USEDEP}]
81 "
82
83 -python_prepare_all() {
84 - distutils-r1_python_prepare_all
85 - EXISTING_REQUIRE="setup_requires=\['future', 'configparser'\]"
86 - CORRECTED_REQUIRE="setup_requires=\['future'\]"
87 - sed \
88 - -e "s/${EXISTING_REQUIRE}/${CORRECTED_REQUIRE}/g" \
89 - -i setup.py \
90 - || die "sed setup.py"
91 -}
92 -
93 python_test() {
94 - nosetests -v || die
95 + py.test -v --cov nipype\
96 + --cov-config .coveragerc\
97 + --cov-report xml:cov.xml\
98 + -c nipype/pytest.ini\
99 + --doctest-modules nipype\
100 + || die
101 }