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: Mon, 30 Mar 2020 04:23:13
Message-Id: 1585542176.4c04ec99ba702fcb718122050c008eaf5ad7fed3.chymera@gentoo
1 commit: 4c04ec99ba702fcb718122050c008eaf5ad7fed3
2 Author: Horea Christian <chr <AT> chymera <DOT> eu>
3 AuthorDate: Mon Mar 30 04:22:56 2020 +0000
4 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
5 CommitDate: Mon Mar 30 04:22:56 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4c04ec99
7
8 sci-libs/nipype: PYTHON_COMPAT 3_7
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Horea Christian <chr <AT> chymera.eu>
12
13 sci-libs/nipype/nipype-1.1.0.ebuild | 54 -------------------------------
14 sci-libs/nipype/nipype-1.1.1-r1.ebuild | 30 +++++++++---------
15 sci-libs/nipype/nipype-9999.ebuild | 58 ----------------------------------
16 3 files changed, 15 insertions(+), 127 deletions(-)
17
18 diff --git a/sci-libs/nipype/nipype-1.1.0.ebuild b/sci-libs/nipype/nipype-1.1.0.ebuild
19 deleted file mode 100644
20 index f7c871659..000000000
21 --- a/sci-libs/nipype/nipype-1.1.0.ebuild
22 +++ /dev/null
23 @@ -1,54 +0,0 @@
24 -# Copyright 1999-2020 Gentoo Authors
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI=7
28 -
29 -PYTHON_COMPAT=( python{3_4,3_5,3_6} )
30 -PYTHON_REQ_USE="threads(+),sqlite"
31 -
32 -inherit distutils-r1
33 -
34 -DESCRIPTION="Neuroimaging in Python: Pipelines and Interfaces"
35 -HOMEPAGE="http://nipy.sourceforge.net/nipype/"
36 -SRC_URI="https://github.com/nipy/nipype/archive/${PV}.tar.gz -> ${P}.tar.gz"
37 -
38 -LICENSE="BSD"
39 -SLOT="0"
40 -KEYWORDS="~amd64 ~x86"
41 -IUSE="test"
42 -
43 -DEPEND="
44 - dev-python/future[${PYTHON_USEDEP}]
45 - dev-python/numpy[${PYTHON_USEDEP}]
46 - ~dev-python/prov-1.5.0[${PYTHON_USEDEP}]
47 - dev-python/setuptools[${PYTHON_USEDEP}]
48 - sci-libs/nibabel[${PYTHON_USEDEP}]
49 - test? (
50 - dev-python/mock[${PYTHON_USEDEP}]
51 - dev-python/pytest[${PYTHON_USEDEP}]
52 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
53 - ${RDEPEND}
54 - )
55 - $(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7)
56 - "
57 -RDEPEND="
58 - >=dev-python/click-6.6[${PYTHON_USEDEP}]
59 - dev-python/networkx[${PYTHON_USEDEP}]
60 - dev-python/packaging[${PYTHON_USEDEP}]
61 - dev-python/pydotplus[${PYTHON_USEDEP}]
62 - dev-python/pygraphviz[${PYTHON_USEDEP}]
63 - dev-python/python-dateutil[${PYTHON_USEDEP}]
64 - dev-python/simplejson[${PYTHON_USEDEP}]
65 - dev-python/traits[${PYTHON_USEDEP}]
66 - sci-libs/scipy[${PYTHON_USEDEP}]
67 - virtual/python-funcsigs[${PYTHON_USEDEP}]
68 - "
69 -
70 -python_test() {
71 - py.test -v --cov nipype\
72 - --cov-config .coveragerc\
73 - --cov-report xml:cov.xml\
74 - -c nipype/pytest.ini\
75 - --doctest-modules nipype\
76 - || die
77 -}
78
79 diff --git a/sci-libs/nipype/nipype-1.1.1-r1.ebuild b/sci-libs/nipype/nipype-1.1.1-r1.ebuild
80 index 959ce9a63..1baca8aa8 100644
81 --- a/sci-libs/nipype/nipype-1.1.1-r1.ebuild
82 +++ b/sci-libs/nipype/nipype-1.1.1-r1.ebuild
83 @@ -3,7 +3,7 @@
84
85 EAPI=7
86
87 -PYTHON_COMPAT=( python{3_4,3_5,3_6} )
88 +PYTHON_COMPAT=( python3_{6,7} )
89 PYTHON_REQ_USE="threads(+),sqlite"
90
91 inherit distutils-r1
92 @@ -20,19 +20,18 @@ IUSE="test"
93 DEPEND="
94 dev-python/future[${PYTHON_USEDEP}]
95 dev-python/numpy[${PYTHON_USEDEP}]
96 - ~dev-python/prov-1.5.0[${PYTHON_USEDEP}]
97 + dev-python/prov[${PYTHON_USEDEP}]
98 dev-python/setuptools[${PYTHON_USEDEP}]
99 sci-libs/nibabel[${PYTHON_USEDEP}]
100 test? (
101 dev-python/mock[${PYTHON_USEDEP}]
102 - dev-python/pytest[${PYTHON_USEDEP}]
103 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
104 + <=dev-python/pytest-4.6.9[${PYTHON_USEDEP}]
105 ${RDEPEND}
106 )
107 - $(python_gen_cond_dep '
108 - dev-python/futures[${PYTHON_USEDEP}]
109 - dev-python/configparser[${PYTHON_USEDEP}]' python2_7)
110 - "
111 +"
112 +# Dependency disabled as upstream test configuration which requires it fails
113 +#dev-python/pytest-xdist[${PYTHON_USEDEP}]
114 +
115 RDEPEND="
116 >=dev-python/click-6.6[${PYTHON_USEDEP}]
117 dev-python/networkx[${PYTHON_USEDEP}]
118 @@ -44,8 +43,7 @@ RDEPEND="
119 dev-python/simplejson[${PYTHON_USEDEP}]
120 dev-python/traits[${PYTHON_USEDEP}]
121 sci-libs/scipy[${PYTHON_USEDEP}]
122 - virtual/python-funcsigs[${PYTHON_USEDEP}]
123 - "
124 +"
125
126 src_prepare() {
127 sed -i\
128 @@ -56,10 +54,12 @@ src_prepare() {
129 }
130
131 python_test() {
132 - py.test -v --cov nipype\
133 - --cov-config .coveragerc\
134 - --cov-report xml:cov.xml\
135 - -c nipype/pytest.ini\
136 - --doctest-modules nipype\
137 + pytest -vv\
138 || die
139 + # Upstream test configuration fails
140 + #-c nipype/pytest.ini\
141 + #--doctest-modules nipype\
142 + #--cov nipype\
143 + #--cov-config .coveragerc\
144 + #--cov-report xml:cov.xml\
145 }
146
147 diff --git a/sci-libs/nipype/nipype-9999.ebuild b/sci-libs/nipype/nipype-9999.ebuild
148 deleted file mode 100644
149 index dc35f3e2e..000000000
150 --- a/sci-libs/nipype/nipype-9999.ebuild
151 +++ /dev/null
152 @@ -1,58 +0,0 @@
153 -# Copyright 1999-2020 Gentoo Authors
154 -# Distributed under the terms of the GNU General Public License v2
155 -
156 -EAPI=7
157 -
158 -PYTHON_COMPAT=( python{3_4,3_5,3_6} )
159 -PYTHON_REQ_USE="threads(+),sqlite"
160 -
161 -inherit distutils-r1 git-r3
162 -
163 -DESCRIPTION="Neuroimaging in Python: Pipelines and Interfaces"
164 -HOMEPAGE="http://nipy.sourceforge.net/nipype/"
165 -SRC_URI=""
166 -EGIT_REPO_URI="https://github.com/nipy/nipype"
167 -
168 -LICENSE="Apache-2.0"
169 -SLOT="0"
170 -KEYWORDS=""
171 -IUSE="test"
172 -
173 -DEPEND="
174 - dev-python/future[${PYTHON_USEDEP}]
175 - dev-python/numpy[${PYTHON_USEDEP}]
176 - ~dev-python/prov-1.5.0[${PYTHON_USEDEP}]
177 - dev-python/setuptools[${PYTHON_USEDEP}]
178 - sci-libs/nibabel[${PYTHON_USEDEP}]
179 - test? (
180 - dev-python/mock[${PYTHON_USEDEP}]
181 - dev-python/pytest[${PYTHON_USEDEP}]
182 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
183 - ${RDEPEND}
184 - )
185 - $(python_gen_cond_dep '
186 - dev-python/futures[${PYTHON_USEDEP}]
187 - dev-python/configparser[${PYTHON_USEDEP}]' python2_7)
188 - "
189 -RDEPEND="
190 - >=dev-python/click-6.6[${PYTHON_USEDEP}]
191 - dev-python/networkx[${PYTHON_USEDEP}]
192 - dev-python/packaging[${PYTHON_USEDEP}]
193 - dev-python/pydot[${PYTHON_USEDEP}]
194 - dev-python/pydotplus[${PYTHON_USEDEP}]
195 - dev-python/pygraphviz[${PYTHON_USEDEP}]
196 - dev-python/python-dateutil[${PYTHON_USEDEP}]
197 - dev-python/simplejson[${PYTHON_USEDEP}]
198 - dev-python/traits[${PYTHON_USEDEP}]
199 - sci-libs/scipy[${PYTHON_USEDEP}]
200 - virtual/python-funcsigs[${PYTHON_USEDEP}]
201 - "
202 -
203 -python_test() {
204 - py.test -v --cov nipype\
205 - --cov-config .coveragerc\
206 - --cov-report xml:cov.xml\
207 - -c nipype/pytest.ini\
208 - --doctest-modules nipype\
209 - || die
210 -}