1 |
commit: 2197df0e3de174258d330058ca961121c538784c |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Tue Jan 31 09:57:44 2023 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Jan 31 09:57:44 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2197df0e |
7 |
|
8 |
dev-python/tridesclous: new package, add 1.6.4, 1.6.6 |
9 |
|
10 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
11 |
|
12 |
dev-python/tridesclous/metadata.xml | 16 ++++ |
13 |
dev-python/tridesclous/tridesclous-1.6.4.ebuild | 101 ++++++++++++++++++++++++ |
14 |
dev-python/tridesclous/tridesclous-1.6.6.ebuild | 101 ++++++++++++++++++++++++ |
15 |
3 files changed, 218 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/tridesclous/metadata.xml b/dev-python/tridesclous/metadata.xml |
18 |
new file mode 100644 |
19 |
index 000000000..819340cd1 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/tridesclous/metadata.xml |
22 |
@@ -0,0 +1,16 @@ |
23 |
+<?xml version='1.0' encoding='UTF-8'?> |
24 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
25 |
+<pkgmetadata> |
26 |
+ <maintainer type="person"> |
27 |
+ <email>gentoo@×××××××.eu</email> |
28 |
+ <name>Horea Christian</name> |
29 |
+ </maintainer> |
30 |
+ <maintainer type="project"> |
31 |
+ <email>sci@g.o</email> |
32 |
+ <name>Gentoo Science Project</name> |
33 |
+ </maintainer> |
34 |
+ <upstream> |
35 |
+ <remote-id type="github">tridesclous/tridesclous</remote-id> |
36 |
+ <remote-id type="pypi">tridesclous</remote-id> |
37 |
+ </upstream> |
38 |
+</pkgmetadata> |
39 |
|
40 |
diff --git a/dev-python/tridesclous/tridesclous-1.6.4.ebuild b/dev-python/tridesclous/tridesclous-1.6.4.ebuild |
41 |
new file mode 100644 |
42 |
index 000000000..a65c30298 |
43 |
--- /dev/null |
44 |
+++ b/dev-python/tridesclous/tridesclous-1.6.4.ebuild |
45 |
@@ -0,0 +1,101 @@ |
46 |
+# Copyright 2021-2023 Gentoo Authors |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+ |
49 |
+EAPI=8 |
50 |
+ |
51 |
+PYTHON_COMPAT=( python3_{10..10} ) |
52 |
+DISTUTILS_USE_PEP517=setuptools |
53 |
+inherit distutils-r1 |
54 |
+ |
55 |
+DESCRIPTION="offline/online spike sorting" |
56 |
+HOMEPAGE="https://github.com/tridesclous/tridesclous" |
57 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
58 |
+ |
59 |
+LICENSE="MIT" |
60 |
+SLOT="0" |
61 |
+KEYWORDS="~amd64" |
62 |
+IUSE="gui test" |
63 |
+ |
64 |
+RDEPEND=" |
65 |
+ <dev-python/numpy-1.24.0[${PYTHON_USEDEP}] |
66 |
+ dev-python/cython[${PYTHON_USEDEP}] |
67 |
+ dev-python/hdbscan[${PYTHON_USEDEP}] |
68 |
+ dev-python/loky[${PYTHON_USEDEP}] |
69 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
70 |
+ dev-python/neo[${PYTHON_USEDEP}] |
71 |
+ dev-python/numba |
72 |
+ dev-python/openpyxl[${PYTHON_USEDEP}] |
73 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
74 |
+ dev-python/scipy[${PYTHON_USEDEP}] |
75 |
+ dev-python/seaborn[${PYTHON_USEDEP}] |
76 |
+ dev-python/tqdm[${PYTHON_USEDEP}] |
77 |
+ sci-libs/scikit-learn[${PYTHON_USEDEP}] |
78 |
+ gui? ( |
79 |
+ dev-python/PyQt5[${PYTHON_USEDEP}] |
80 |
+ ) |
81 |
+" |
82 |
+ |
83 |
+distutils_enable_tests pytest |
84 |
+ |
85 |
+# Network sandboxing, this is sadly more than half the test suite :( |
86 |
+EPYTEST_DESELECT=( |
87 |
+ tridesclous/tests/test_cleancluster.py::test_auto_split |
88 |
+ tridesclous/tests/test_cleancluster.py::test_trash_not_aligned |
89 |
+ tridesclous/tests/test_cleancluster.py::test_auto_merge |
90 |
+ tridesclous/tests/test_cleancluster.py::test_trash_low_extremum |
91 |
+ tridesclous/tests/test_cleancluster.py::test_trash_small_cluster |
92 |
+ tridesclous/tests/test_cluster.py::test_sawchaincut |
93 |
+ tridesclous/tests/test_cluster.py::test_pruningshears |
94 |
+ tridesclous/tests/test_decomposition.py::test_all_decomposition |
95 |
+ tridesclous/tests/test_export.py::test_export |
96 |
+ tridesclous/tests/test_export.py::test_export_catalogue_spikes |
97 |
+ tridesclous/tests/test_jobtools.py::test_run_parallel_signalprocessor |
98 |
+ tridesclous/tests/test_matplotlibplot.py::test_plot_probe_geometry |
99 |
+ tridesclous/tests/test_matplotlibplot.py::test_plot_signals |
100 |
+ tridesclous/tests/test_matplotlibplot.py::test_plot_waveforms_with_geometry |
101 |
+ tridesclous/tests/test_matplotlibplot.py::test_plot_waveforms |
102 |
+ tridesclous/tests/test_matplotlibplot.py::test_plot_features_scatter_2d |
103 |
+ tridesclous/tests/test_metrics.py::test_all_metrics |
104 |
+ tridesclous/tests/test_metrics.py::test_cluster_ratio |
105 |
+ tridesclous/tests/test_peeler.py::test_peeler_geometry |
106 |
+ tridesclous/tests/test_peeler.py::test_peeler_geometry_cl |
107 |
+ tridesclous/tests/test_peeler.py::test_peeler_empty_catalogue |
108 |
+ tridesclous/tests/test_peeler.py::test_peeler_several_chunksize |
109 |
+ tridesclous/tests/test_peeler.py::test_peeler_with_and_without_preprocessor |
110 |
+ tridesclous/tests/test_peeler.py::test_export_spikes |
111 |
+ tridesclous/tests/test_report.py::test_summary_catalogue_clusters |
112 |
+ tridesclous/tests/test_report.py::test_summary_noise |
113 |
+ tridesclous/tests/test_report.py::test_summary_after_peeler_clusters |
114 |
+ tridesclous/tests/test_report.py::test_generate_report |
115 |
+ tridesclous/tests/test_autoparams.py::test_get_auto_params |
116 |
+ tridesclous/tests/test_catalogueconstructor.py::test_catalogue_constructor |
117 |
+ tridesclous/tests/test_catalogueconstructor.py::test_make_catalogue |
118 |
+ tridesclous/tests/test_catalogueconstructor.py::test_ratio_amplitude |
119 |
+ tridesclous/tests/test_catalogueconstructor.py::test_create_savepoint_catalogue_constructor |
120 |
+ tridesclous/tests/test_catalogueconstructor.py::test_feature_with_lda_selection |
121 |
+ tridesclous/tests/test_cataloguetools.py::test_apply_all_catalogue_steps |
122 |
+ tridesclous/tests/test_dataio.py::test_DataIO |
123 |
+ tridesclous/tests/test_dataio.py::test_DataIO_probes |
124 |
+ tridesclous/tests/test_datasets.py::test_download_dataset |
125 |
+ tridesclous/tests/test_datasets.py::test_get_dataset |
126 |
+ tridesclous/tests/test_datasource.py::test_RawDataSource |
127 |
+ tridesclous/tests/test_datasource.py::test_NeoRawIOAggregator |
128 |
+ tridesclous/tests/test_peakdetector.py::test_compare_offline_online_engines |
129 |
+ tridesclous/tests/test_peakdetector.py::test_detect_geometrical_peaks |
130 |
+ tridesclous/tests/test_peakdetector.py::test_peak_sign_symetry |
131 |
+ tridesclous/tests/test_signalpreprocessor.py::test_compare_offline_online_engines |
132 |
+ tridesclous/tests/test_signalpreprocessor.py::test_auto_pad_width |
133 |
+ tridesclous/tests/test_tools.py::test_fix_prb_file_py2 |
134 |
+) |
135 |
+ |
136 |
+python_test() { |
137 |
+ local EPYTEST_IGNORE=( |
138 |
+ tridesclous/online/tests/* |
139 |
+ ) |
140 |
+ if use !gui ; then |
141 |
+ local EPYTEST_IGNORE+=( |
142 |
+ tridesclous/gui/* |
143 |
+ ) |
144 |
+ fi |
145 |
+ epytest |
146 |
+} |
147 |
|
148 |
diff --git a/dev-python/tridesclous/tridesclous-1.6.6.ebuild b/dev-python/tridesclous/tridesclous-1.6.6.ebuild |
149 |
new file mode 100644 |
150 |
index 000000000..13697e657 |
151 |
--- /dev/null |
152 |
+++ b/dev-python/tridesclous/tridesclous-1.6.6.ebuild |
153 |
@@ -0,0 +1,101 @@ |
154 |
+# Copyright 2021-2023 Gentoo Authors |
155 |
+# Distributed under the terms of the GNU General Public License v2 |
156 |
+ |
157 |
+EAPI=8 |
158 |
+ |
159 |
+PYTHON_COMPAT=( python3_{10..10} ) |
160 |
+DISTUTILS_USE_PEP517=setuptools |
161 |
+inherit distutils-r1 |
162 |
+ |
163 |
+DESCRIPTION="offline/online spike sorting" |
164 |
+HOMEPAGE="https://github.com/tridesclous/tridesclous" |
165 |
+SRC_URI="https://github.com/tridesclous/tridesclous/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" |
166 |
+ |
167 |
+LICENSE="MIT" |
168 |
+SLOT="0" |
169 |
+KEYWORDS="~amd64" |
170 |
+IUSE="gui test" |
171 |
+ |
172 |
+RDEPEND=" |
173 |
+ <dev-python/numpy-1.24.0[${PYTHON_USEDEP}] |
174 |
+ dev-python/cython[${PYTHON_USEDEP}] |
175 |
+ dev-python/hdbscan[${PYTHON_USEDEP}] |
176 |
+ dev-python/loky[${PYTHON_USEDEP}] |
177 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
178 |
+ dev-python/neo[${PYTHON_USEDEP}] |
179 |
+ dev-python/numba |
180 |
+ dev-python/openpyxl[${PYTHON_USEDEP}] |
181 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
182 |
+ dev-python/scipy[${PYTHON_USEDEP}] |
183 |
+ dev-python/seaborn[${PYTHON_USEDEP}] |
184 |
+ dev-python/tqdm[${PYTHON_USEDEP}] |
185 |
+ sci-libs/scikit-learn[${PYTHON_USEDEP}] |
186 |
+ gui? ( |
187 |
+ dev-python/PyQt5[${PYTHON_USEDEP}] |
188 |
+ ) |
189 |
+" |
190 |
+ |
191 |
+distutils_enable_tests pytest |
192 |
+ |
193 |
+# Network sandboxing, this is sadly more than half the test suite :( |
194 |
+EPYTEST_DESELECT=( |
195 |
+ tridesclous/tests/test_cleancluster.py::test_auto_split |
196 |
+ tridesclous/tests/test_cleancluster.py::test_trash_not_aligned |
197 |
+ tridesclous/tests/test_cleancluster.py::test_auto_merge |
198 |
+ tridesclous/tests/test_cleancluster.py::test_trash_low_extremum |
199 |
+ tridesclous/tests/test_cleancluster.py::test_trash_small_cluster |
200 |
+ tridesclous/tests/test_cluster.py::test_sawchaincut |
201 |
+ tridesclous/tests/test_cluster.py::test_pruningshears |
202 |
+ tridesclous/tests/test_decomposition.py::test_all_decomposition |
203 |
+ tridesclous/tests/test_export.py::test_export |
204 |
+ tridesclous/tests/test_export.py::test_export_catalogue_spikes |
205 |
+ tridesclous/tests/test_jobtools.py::test_run_parallel_signalprocessor |
206 |
+ tridesclous/tests/test_matplotlibplot.py::test_plot_probe_geometry |
207 |
+ tridesclous/tests/test_matplotlibplot.py::test_plot_signals |
208 |
+ tridesclous/tests/test_matplotlibplot.py::test_plot_waveforms_with_geometry |
209 |
+ tridesclous/tests/test_matplotlibplot.py::test_plot_waveforms |
210 |
+ tridesclous/tests/test_matplotlibplot.py::test_plot_features_scatter_2d |
211 |
+ tridesclous/tests/test_metrics.py::test_all_metrics |
212 |
+ tridesclous/tests/test_metrics.py::test_cluster_ratio |
213 |
+ tridesclous/tests/test_peeler.py::test_peeler_geometry |
214 |
+ tridesclous/tests/test_peeler.py::test_peeler_geometry_cl |
215 |
+ tridesclous/tests/test_peeler.py::test_peeler_empty_catalogue |
216 |
+ tridesclous/tests/test_peeler.py::test_peeler_several_chunksize |
217 |
+ tridesclous/tests/test_peeler.py::test_peeler_with_and_without_preprocessor |
218 |
+ tridesclous/tests/test_peeler.py::test_export_spikes |
219 |
+ tridesclous/tests/test_report.py::test_summary_catalogue_clusters |
220 |
+ tridesclous/tests/test_report.py::test_summary_noise |
221 |
+ tridesclous/tests/test_report.py::test_summary_after_peeler_clusters |
222 |
+ tridesclous/tests/test_report.py::test_generate_report |
223 |
+ tridesclous/tests/test_autoparams.py::test_get_auto_params |
224 |
+ tridesclous/tests/test_catalogueconstructor.py::test_catalogue_constructor |
225 |
+ tridesclous/tests/test_catalogueconstructor.py::test_make_catalogue |
226 |
+ tridesclous/tests/test_catalogueconstructor.py::test_ratio_amplitude |
227 |
+ tridesclous/tests/test_catalogueconstructor.py::test_create_savepoint_catalogue_constructor |
228 |
+ tridesclous/tests/test_catalogueconstructor.py::test_feature_with_lda_selection |
229 |
+ tridesclous/tests/test_cataloguetools.py::test_apply_all_catalogue_steps |
230 |
+ tridesclous/tests/test_dataio.py::test_DataIO |
231 |
+ tridesclous/tests/test_dataio.py::test_DataIO_probes |
232 |
+ tridesclous/tests/test_datasets.py::test_download_dataset |
233 |
+ tridesclous/tests/test_datasets.py::test_get_dataset |
234 |
+ tridesclous/tests/test_datasource.py::test_RawDataSource |
235 |
+ tridesclous/tests/test_datasource.py::test_NeoRawIOAggregator |
236 |
+ tridesclous/tests/test_peakdetector.py::test_compare_offline_online_engines |
237 |
+ tridesclous/tests/test_peakdetector.py::test_detect_geometrical_peaks |
238 |
+ tridesclous/tests/test_peakdetector.py::test_peak_sign_symetry |
239 |
+ tridesclous/tests/test_signalpreprocessor.py::test_compare_offline_online_engines |
240 |
+ tridesclous/tests/test_signalpreprocessor.py::test_auto_pad_width |
241 |
+ tridesclous/tests/test_tools.py::test_fix_prb_file_py2 |
242 |
+) |
243 |
+ |
244 |
+python_test() { |
245 |
+ local EPYTEST_IGNORE=( |
246 |
+ tridesclous/online/tests/* |
247 |
+ ) |
248 |
+ if use !gui ; then |
249 |
+ local EPYTEST_IGNORE+=( |
250 |
+ tridesclous/gui/* |
251 |
+ ) |
252 |
+ fi |
253 |
+ epytest |
254 |
+} |