Gentoo Archives: gentoo-commits

From: Horea Christian <horea.christ@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/probeinterface/
Date: Thu, 02 Mar 2023 16:52:05
Message-Id: 1677775897.976452fe487bb55612e3595b6d40ef43a9151d34.chymera@gentoo
1 commit: 976452fe487bb55612e3595b6d40ef43a9151d34
2 Author: Horea Christian <chr <AT> chymera <DOT> eu>
3 AuthorDate: Thu Mar 2 16:51:37 2023 +0000
4 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
5 CommitDate: Thu Mar 2 16:51:37 2023 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=976452fe
7
8 dev-python/probeinterface: add 0.2.16
9
10 Signed-off-by: Horea Christian <chr <AT> chymera.eu>
11
12 .../probeinterface/probeinterface-0.2.16.ebuild | 37 ++++++++++++++++++++++
13 1 file changed, 37 insertions(+)
14
15 diff --git a/dev-python/probeinterface/probeinterface-0.2.16.ebuild b/dev-python/probeinterface/probeinterface-0.2.16.ebuild
16 new file mode 100644
17 index 000000000..d3827a5e9
18 --- /dev/null
19 +++ b/dev-python/probeinterface/probeinterface-0.2.16.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_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