Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/pynwb/files/, dev-python/pynwb/
Date: Tue, 03 Jan 2023 18:16:59
Message-Id: 1672769712.252693b1a06c119a2efe40661b957fb6d10c0ed5.andrewammerlaan@gentoo
1 commit: 252693b1a06c119a2efe40661b957fb6d10c0ed5
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 3 18:15:06 2023 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 3 18:15:12 2023 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=252693b1
7
8 dev-python/pynwb: treeclean
9
10 dep sci-libs/hdf5[ros3(-)] unavailable
11
12 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
13
14 dev-python/pynwb/files/pynwb-2.0.0-versions.patch | 21 ---------
15 dev-python/pynwb/files/pynwb-2.1.0-versions.patch | 21 ---------
16 dev-python/pynwb/files/pynwb-2.2.0-versions.patch | 21 ---------
17 dev-python/pynwb/metadata.xml | 24 ----------
18 dev-python/pynwb/pynwb-2.0.1.ebuild | 39 ----------------
19 dev-python/pynwb/pynwb-2.1.0-r1.ebuild | 43 -----------------
20 dev-python/pynwb/pynwb-2.2.0.ebuild | 57 -----------------------
21 7 files changed, 226 deletions(-)
22
23 diff --git a/dev-python/pynwb/files/pynwb-2.0.0-versions.patch b/dev-python/pynwb/files/pynwb-2.0.0-versions.patch
24 deleted file mode 100644
25 index d09c50594..000000000
26 --- a/dev-python/pynwb/files/pynwb-2.0.0-versions.patch
27 +++ /dev/null
28 @@ -1,21 +0,0 @@
29 -diff --git a/setup.py b/tmp/setup.py
30 -index 39e75824..f7948f64 100755
31 ---- a/setup.py
32 -+++ b/setup.py
33 -@@ -19,11 +19,11 @@ print('found these packages:', pkgs)
34 - schema_dir = 'nwb-schema/core'
35 -
36 - reqs = [
37 -- 'h5py>=2.9,<4',
38 -- 'hdmf>=3.1.1,<4',
39 -- 'numpy>=1.16,<1.22',
40 -- 'pandas>=1.0.5,<2',
41 -- 'python-dateutil>=2.7,<3',
42 -+ 'h5py',
43 -+ 'hdmf',
44 -+ 'numpy',
45 -+ 'pandas',
46 -+ 'python-dateutil',
47 - 'setuptools'
48 - ]
49 -
50
51 diff --git a/dev-python/pynwb/files/pynwb-2.1.0-versions.patch b/dev-python/pynwb/files/pynwb-2.1.0-versions.patch
52 deleted file mode 100644
53 index 8c816d226..000000000
54 --- a/dev-python/pynwb/files/pynwb-2.1.0-versions.patch
55 +++ /dev/null
56 @@ -1,21 +0,0 @@
57 -diff --git a/setup.py b/tmp/setup.py
58 -index 39e75824..f7948f64 100755
59 ---- a/setup.py
60 -+++ b/setup.py
61 -@@ -19,11 +19,11 @@ print('found these packages:', pkgs)
62 - schema_dir = 'nwb-schema/core'
63 -
64 - reqs = [
65 -- 'h5py>=2.10,<4',
66 -- 'hdmf>=3.3.2,<4',
67 -- 'numpy>=1.16,<1.23',
68 -- 'pandas>=1.0.5,<2',
69 -- 'python-dateutil>=2.7,<3',
70 -+ 'h5py',
71 -+ 'hdmf',
72 -+ 'numpy',
73 -+ 'pandas',
74 -+ 'python-dateutil',
75 - 'setuptools'
76 - ]
77 -
78
79 diff --git a/dev-python/pynwb/files/pynwb-2.2.0-versions.patch b/dev-python/pynwb/files/pynwb-2.2.0-versions.patch
80 deleted file mode 100644
81 index 6141f629a..000000000
82 --- a/dev-python/pynwb/files/pynwb-2.2.0-versions.patch
83 +++ /dev/null
84 @@ -1,21 +0,0 @@
85 -diff --git a/setup.py b/tmp/setup.py
86 -index 39e75824..f7948f64 100755
87 ---- a/setup.py
88 -+++ b/setup.py
89 -@@ -19,11 +19,11 @@ print('found these packages:', pkgs)
90 - schema_dir = 'nwb-schema/core'
91 -
92 - reqs = [
93 -- 'h5py>=2.10,<4',
94 -- 'hdmf>=3.4.2,<4',
95 -- 'numpy>=1.16,<1.24',
96 -- 'pandas>=1.1.5,<2',
97 -- 'python-dateutil>=2.7.3,<3',
98 -+ 'h5py',
99 -+ 'hdmf',
100 -+ 'numpy',
101 -+ 'pandas',
102 -+ 'python-dateutil',
103 - 'setuptools'
104 - ]
105 -
106
107 diff --git a/dev-python/pynwb/metadata.xml b/dev-python/pynwb/metadata.xml
108 deleted file mode 100644
109 index 1e30097b2..000000000
110 --- a/dev-python/pynwb/metadata.xml
111 +++ /dev/null
112 @@ -1,24 +0,0 @@
113 -<?xml version='1.0' encoding='UTF-8'?>
114 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
115 -<pkgmetadata>
116 - <maintainer type="person">
117 - <email>gentoo@×××××××.eu</email>
118 - <name>Horea Christian</name>
119 - </maintainer>
120 - <maintainer type="project">
121 - <email>sci@g.o</email>
122 - <name>Gentoo Science Project</name>
123 - </maintainer>
124 - <longdescription lang="en">
125 - PyNWB is a Python package for working with NWB files. It provides a
126 - high-level API for efficiently working with Neurodata stored in the NWB
127 - format. Neurodata Without Borders: Neurophysiology (NWB:N) is a project
128 - to develop a unified data format for cellular-based neurophysiology
129 - data, focused on the dynamics of groups of neurons measured under a
130 - large range of experimental conditions.
131 - </longdescription>
132 - <upstream>
133 - <remote-id type="pypi">pynwb</remote-id>
134 - <remote-id type="github">NeurodataWithoutBorders/pynwb</remote-id>
135 - </upstream>
136 -</pkgmetadata>
137
138 diff --git a/dev-python/pynwb/pynwb-2.0.1.ebuild b/dev-python/pynwb/pynwb-2.0.1.ebuild
139 deleted file mode 100644
140 index 3fe21370f..000000000
141 --- a/dev-python/pynwb/pynwb-2.0.1.ebuild
142 +++ /dev/null
143 @@ -1,39 +0,0 @@
144 -# Copyright 1999-2022 Gentoo Authors
145 -# Distributed under the terms of the GNU General Public License v2
146 -
147 -EAPI=8
148 -
149 -DISTUTILS_USE_PEP517=setuptools
150 -PYTHON_COMPAT=( python3_{8..10} )
151 -inherit distutils-r1
152 -
153 -DESCRIPTION="A Python API for working with Neurodata stored in the NWB Format "
154 -HOMEPAGE="https://github.com/NeurodataWithoutBorders/pynwb"
155 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
156 -
157 -SLOT="0"
158 -LICENSE="BSD"
159 -KEYWORDS="~amd64 ~x86"
160 -
161 -RDEPEND="
162 - sci-libs/hdf5[ros3(-)]
163 - <dev-python/hdmf-3.3.2[${PYTHON_USEDEP}]
164 - dev-python/h5py[${PYTHON_USEDEP}]
165 - dev-python/numpy[${PYTHON_USEDEP}]
166 - dev-python/pandas[${PYTHON_USEDEP}]
167 - dev-python/python-dateutil[${PYTHON_USEDEP}]
168 - "
169 -BDEPEND=""
170 -
171 -EPYTEST_DESELECT=(
172 - # Reported upsream:
173 - # https://github.com/NeurodataWithoutBorders/pynwb/issues/1425
174 - tests/validation/test_validate.py::TestValidateScript::test_validate_file_cached
175 - tests/validation/test_validate.py::TestValidateScript::test_validate_file_cached_bad_ns
176 - tests/validation/test_validate.py::TestValidateScript::test_validate_file_cached_hdmf_common
177 - tests/validation/test_validate.py::TestValidateScript::test_validate_file_cached_ignore
178 - tests/validation/test_validate.py::TestValidateScript::test_validate_file_no_cache
179 - tests/validation/test_validate.py::TestValidateScript::test_validate_file_no_cache_bad_ns
180 -)
181 -
182 -distutils_enable_tests pytest
183
184 diff --git a/dev-python/pynwb/pynwb-2.1.0-r1.ebuild b/dev-python/pynwb/pynwb-2.1.0-r1.ebuild
185 deleted file mode 100644
186 index c24dae23a..000000000
187 --- a/dev-python/pynwb/pynwb-2.1.0-r1.ebuild
188 +++ /dev/null
189 @@ -1,43 +0,0 @@
190 -# Copyright 1999-2022 Gentoo Authors
191 -# Distributed under the terms of the GNU General Public License v2
192 -
193 -EAPI=8
194 -
195 -DISTUTILS_USE_PEP517=setuptools
196 -PYTHON_COMPAT=( python3_{8..10} )
197 -inherit distutils-r1
198 -
199 -DESCRIPTION="A Python API for working with Neurodata stored in the NWB Format "
200 -HOMEPAGE="https://github.com/NeurodataWithoutBorders/pynwb"
201 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
202 -
203 -SLOT="0"
204 -LICENSE="BSD"
205 -KEYWORDS="~amd64 ~x86"
206 -
207 -RDEPEND="
208 - sci-libs/hdf5[ros3(-)]
209 - >=dev-python/hdmf-3.3.2[${PYTHON_USEDEP}]
210 - dev-python/h5py[${PYTHON_USEDEP}]
211 - dev-python/numpy[${PYTHON_USEDEP}]
212 - dev-python/pandas[${PYTHON_USEDEP}]
213 - dev-python/python-dateutil[${PYTHON_USEDEP}]
214 - "
215 -BDEPEND=""
216 -
217 -PATCHES=(
218 - "${FILESDIR}/${P}-versions.patch"
219 - )
220 -
221 -EPYTEST_DESELECT=(
222 - # Reported upsream:
223 - # https://github.com/NeurodataWithoutBorders/pynwb/issues/1425
224 - tests/validation/test_validate.py::TestValidateScript::test_validate_file_cached
225 - tests/validation/test_validate.py::TestValidateScript::test_validate_file_cached_bad_ns
226 - tests/validation/test_validate.py::TestValidateScript::test_validate_file_cached_hdmf_common
227 - tests/validation/test_validate.py::TestValidateScript::test_validate_file_cached_ignore
228 - tests/validation/test_validate.py::TestValidateScript::test_validate_file_no_cache
229 - tests/validation/test_validate.py::TestValidateScript::test_validate_file_no_cache_bad_ns
230 -)
231 -
232 -distutils_enable_tests pytest
233
234 diff --git a/dev-python/pynwb/pynwb-2.2.0.ebuild b/dev-python/pynwb/pynwb-2.2.0.ebuild
235 deleted file mode 100644
236 index 6ea595a8f..000000000
237 --- a/dev-python/pynwb/pynwb-2.2.0.ebuild
238 +++ /dev/null
239 @@ -1,57 +0,0 @@
240 -# Copyright 1999-2022 Gentoo Authors
241 -# Distributed under the terms of the GNU General Public License v2
242 -
243 -EAPI=8
244 -
245 -DISTUTILS_USE_PEP517=setuptools
246 -PYTHON_COMPAT=( python3_{8..10} )
247 -inherit distutils-r1
248 -
249 -DESCRIPTION="A Python API for working with Neurodata stored in the NWB Format "
250 -HOMEPAGE="https://github.com/NeurodataWithoutBorders/pynwb"
251 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
252 -
253 -SLOT="0"
254 -LICENSE="BSD"
255 -KEYWORDS="~amd64 ~x86"
256 -
257 -RDEPEND="
258 - sci-libs/hdf5[ros3(-)]
259 - >=dev-python/hdmf-3.3.2[${PYTHON_USEDEP}]
260 - dev-python/h5py[${PYTHON_USEDEP}]
261 - dev-python/numpy[${PYTHON_USEDEP}]
262 - dev-python/pandas[${PYTHON_USEDEP}]
263 - dev-python/python-dateutil[${PYTHON_USEDEP}]
264 - "
265 -BDEPEND=""
266 -
267 -PATCHES=(
268 - "${FILESDIR}/${P}-versions.patch"
269 - )
270 -
271 -EPYTEST_DESELECT=(
272 - # Reported upsream:
273 - # https://github.com/NeurodataWithoutBorders/pynwb/issues/1580
274 - tests/back_compat/test_read.py::TestReadOldVersions::test_read
275 - tests/back_compat/test_read.py::TestReadOldVersions::test_read_imageseries_non_external_format
276 - tests/back_compat/test_read.py::TestReadOldVersions::test_read_imageseries_nonmatch_starting_frame
277 - tests/unit/test_image.py::ImageSeriesConstructor::test_external_file_with_data
278 - tests/unit/test_image.py::ImageSeriesConstructor::test_external_file_with_data_construct_mode
279 - tests/unit/test_image.py::ImageSeriesConstructor::test_external_file_with_incorrect_format
280 - tests/unit/test_image.py::ImageSeriesConstructor::test_external_file_with_incorrect_format_construct_mode
281 - tests/unit/test_image.py::ImageSeriesConstructor::test_external_file_with_incorrect_starting_frame
282 - tests/validation/test_validate.py::TestValidateCLI::test_validate_file_cached
283 - tests/validation/test_validate.py::TestValidateCLI::test_validate_file_cached_bad_ns
284 - tests/validation/test_validate.py::TestValidateCLI::test_validate_file_cached_core
285 - tests/validation/test_validate.py::TestValidateCLI::test_validate_file_cached_extension
286 - tests/validation/test_validate.py::TestValidateCLI::test_validate_file_cached_extension_pass_ns
287 - tests/validation/test_validate.py::TestValidateCLI::test_validate_file_cached_hdmf_common
288 - tests/validation/test_validate.py::TestValidateCLI::test_validate_file_cached_ignore
289 - tests/validation/test_validate.py::TestValidateCLI::test_validate_file_invalid
290 - tests/validation/test_validate.py::TestValidateCLI::test_validate_file_list_namespaces_core
291 - tests/validation/test_validate.py::TestValidateCLI::test_validate_file_list_namespaces_extension
292 - tests/validation/test_validate.py::TestValidateCLI::test_validate_file_no_cache
293 - tests/validation/test_validate.py::TestValidateCLI::test_validate_file_no_cache_bad_ns
294 -)
295 -
296 -distutils_enable_tests pytest