1 |
commit: abacdd624ef295533c1e3b484a949c39b719d884 |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Thu Nov 3 23:25:11 2022 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Nov 3 23:25:11 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=abacdd62 |
7 |
|
8 |
dev-python/probeinterface: add 0.2.14 |
9 |
|
10 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
11 |
|
12 |
.../probeinterface/probeinterface-0.2.14.ebuild | 37 ++++++++++++++++++++++ |
13 |
1 file changed, 37 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/probeinterface/probeinterface-0.2.14.ebuild b/dev-python/probeinterface/probeinterface-0.2.14.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000..ac66253b4 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/probeinterface/probeinterface-0.2.14.ebuild |
20 |
@@ -0,0 +1,37 @@ |
21 |
+# Copyright 2021-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
+inherit distutils-r1 |
29 |
+ |
30 |
+DESCRIPTION="Python package to handle probe layout, geometry and wiring to device" |
31 |
+HOMEPAGE="https://github.com/SpikeInterface/probeinterface" |
32 |
+SRC_URI="https://github.com/SpikeInterface/probeinterface/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" |
33 |
+# upstream doesn't pus test dir to pypi, https://github.com/SpikeInterface/probeinterface/issues/145 |
34 |
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="MIT" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+ |
40 |
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" |
41 |
+BDEPEND=" |
42 |
+ test? ( |
43 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
44 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
45 |
+ dev-python/scipy[${PYTHON_USEDEP}] |
46 |
+ ) |
47 |
+" |
48 |
+ |
49 |
+EPYTEST_DESELECT=( |
50 |
+ # Requires network access: |
51 |
+ # https://github.com/SpikeInterface/probeinterface/issues/70 |
52 |
+ tests/test_library.py::test_download_probeinterface_file |
53 |
+ tests/test_library.py::test_get_from_cache |
54 |
+ tests/test_library.py::test_get_probe |
55 |
+ tests/test_wiring.py::test_wire_probe |
56 |
+) |
57 |
+distutils_enable_tests pytest |