1 |
commit: efd779b9c71210ac035d5299dd8024054cbf597f |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Thu Mar 2 16:52:39 2023 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Mar 2 16:52:39 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=efd779b9 |
7 |
|
8 |
dev-python/spikeinterface: add 0.97.0 |
9 |
|
10 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
11 |
|
12 |
.../spikeinterface/spikeinterface-0.97.0.ebuild | 93 ++++++++++++++++++++++ |
13 |
1 file changed, 93 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/spikeinterface/spikeinterface-0.97.0.ebuild b/dev-python/spikeinterface/spikeinterface-0.97.0.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000..5c4e65481 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/spikeinterface/spikeinterface-0.97.0.ebuild |
20 |
@@ -0,0 +1,93 @@ |
21 |
+# Copyright 2021-2023 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+PYTHON_COMPAT=( python3_{10..10} ) |
27 |
+DISTUTILS_USE_PEP517=setuptools |
28 |
+inherit distutils-r1 |
29 |
+ |
30 |
+DESCRIPTION="A Python-based module for creating flexible and robust spike sorting pipelines." |
31 |
+HOMEPAGE="https://github.com/SpikeInterface/spikeinterface" |
32 |
+SRC_URI="https://github.com/SpikeInterface/spikeinterface/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="MIT" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64" |
37 |
+IUSE="extractors full test" |
38 |
+ |
39 |
+RDEPEND=" |
40 |
+ dev-python/joblib[${PYTHON_USEDEP}] |
41 |
+ dev-python/neo[${PYTHON_USEDEP}] |
42 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
43 |
+ >=dev-python/probeinterface-0.2.16[${PYTHON_USEDEP}] |
44 |
+ dev-python/threadpoolctl[${PYTHON_USEDEP}] |
45 |
+ dev-python/tqdm[${PYTHON_USEDEP}] |
46 |
+ extractors? ( |
47 |
+ dev-python/pynwb[${PYTHON_USEDEP}] |
48 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
49 |
+ dev-python/scipy[${PYTHON_USEDEP}] |
50 |
+ ) |
51 |
+ full? ( |
52 |
+ dev-python/distinctipy[${PYTHON_USEDEP}] |
53 |
+ dev-python/h5py[${PYTHON_USEDEP}] |
54 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
55 |
+ dev-python/networkx[${PYTHON_USEDEP}] |
56 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
57 |
+ dev-python/scipy[${PYTHON_USEDEP}] |
58 |
+ dev-python/xarray[${PYTHON_USEDEP}] |
59 |
+ dev-python/zarr[${PYTHON_USEDEP}] |
60 |
+ sci-libs/scikit-learn[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+" |
63 |
+# Also wants: |
64 |
+# # Extractors: |
65 |
+# MEArec |
66 |
+# pyedflib |
67 |
+# sonpy |
68 |
+# dev-python/hdf5storage (in ::science, masked) |
69 |
+ |
70 |
+distutils_enable_tests pytest |
71 |
+ |
72 |
+# Test failures reported upstream: |
73 |
+# https://github.com/SpikeInterface/spikeinterface/issues/307 |
74 |
+python_test() { |
75 |
+ # Network sandboxing, mostly (?) |
76 |
+ local EPYTEST_DESELECT=( |
77 |
+ spikeinterface/core/tests/test_datasets.py::test_download_dataset |
78 |
+ spikeinterface/sortingcomponents/tests/test_motion_estimation.py::test_motion_functions |
79 |
+ spikeinterface/sortingcomponents/tests/test_motion_estimation.py::test_estimate_motion_rigid |
80 |
+ spikeinterface/sortingcomponents/tests/test_motion_estimation.py::test_estimate_motion_non_rigid |
81 |
+ spikeinterface/comparison/tests/test_multisortingcomparison.py::test_compare_multiple_sorters |
82 |
+ spikeinterface/curation/tests/test_sortingview_curation.py::test_sortingview_curation |
83 |
+ spikeinterface/exporters/tests/test_export_to_phy.py::test_export_to_phy |
84 |
+ spikeinterface/exporters/tests/test_export_to_phy.py::test_export_to_phy_by_sparsity |
85 |
+ spikeinterface/exporters/tests/test_report.py::test_export_report |
86 |
+ spikeinterface/extractors/tests/test_neoextractors.py |
87 |
+ spikeinterface/sorters/tests/test_launcher.py::test_run_sorters_with_dict |
88 |
+ spikeinterface/sorters/tests/test_launcher.py::test_sorter_installation |
89 |
+ spikeinterface/sorters/tests/test_runsorter.py::test_run_sorter_local |
90 |
+ spikeinterface/sorters/tests/test_runsorter.py::test_run_sorter_docker |
91 |
+ spikeinterface/sorters/tests/test_runsorter.py::test_run_sorter_singularity |
92 |
+ spikeinterface/sorters/tests/test_si_based_sorters.py::SpykingCircus2SorterCommonTestSuite |
93 |
+ spikeinterface/sorters/tests/test_si_based_sorters.py::Tridesclous2SorterCommonTestSuite::test_with_class |
94 |
+ spikeinterface/sorters/tests/test_si_based_sorters.py::Tridesclous2SorterCommonTestSuite::test_with_run |
95 |
+ spikeinterface/sortingcomponents/tests/test_clustering.py::test_find_cluster_from_peaks |
96 |
+ spikeinterface/sortingcomponents/tests/test_features_from_peaks.py::test_features_from_peaks |
97 |
+ spikeinterface/sortingcomponents/tests/test_peak_detection.py::test_detect_peaks |
98 |
+ spikeinterface/sortingcomponents/tests/test_peak_localization.py::test_localize_peaks |
99 |
+ spikeinterface/sortingcomponents/tests/test_peak_pipeline.py::test_run_peak_pipeline |
100 |
+ spikeinterface/sortingcomponents/tests/test_peak_selection.py::test_detect_peaks |
101 |
+ spikeinterface/sortingcomponents/tests/test_template_matching.py::test_find_spikes_from_templates |
102 |
+ spikeinterface/widgets/tests/test_widgets.py::TestWidgets |
103 |
+ ) |
104 |
+ # Reported upstream: |
105 |
+ # https://github.com/SpikeInterface/spikeinterface/issues/307#issuecomment-1410840998 |
106 |
+ EPYTEST_DESELECT+=( |
107 |
+ spikeinterface/sorters/tests/test_launcher.py::test_collect_sorting_outputs |
108 |
+ ) |
109 |
+ local EPYTEST_IGNORE=( |
110 |
+ spikeinterface/widgets/_legacy_mpl_widgets/tests/* |
111 |
+ ) |
112 |
+ epytest |
113 |
+} |