diff --git a/dev-python/probeinterface/ChangeLog b/dev-python/probeinterface/ChangeLog new file mode 100644 index 0000000..80d7ee4 --- /dev/null +++ b/dev-python/probeinterface/ChangeLog @@ -0,0 +1,5 @@ +*probeinterface-0.2.5 (09 Oct 2021) + + 09 Oct 2021; +metadata.xml, + +probeinterface-0.2.5.ebuild: + dev-python/probeinterface: new package (DANDI ephys stack) diff --git a/dev-python/probeinterface/Manifest b/dev-python/probeinterface/Manifest new file mode 100644 index 0000000..22ca261 --- /dev/null +++ b/dev-python/probeinterface/Manifest @@ -0,0 +1 @@ +DIST probeinterface-0.2.5.tar.gz 154572 SHA256 7d9b7b8587d74b8994b90e5d0bf59b73a7081cce7ea69912168ed00cfaf75276 SHA512 fdf170e1e4057445b0c8701105c7e6283258b460b1250e992f9896d6d3a0feacf3eb7dc6f8b35b77f591e1654930bd20d548758ea01b5d4cdb15a57dac24c4f9 WHIRLPOOL 3b1f00ff7fa5db50057f3dc1545954c7eca9a52e7dad417184966c950467eededb53548d496f0be8ba48cd56f9bd426c2c7a027d53c9cfce7f40436fd82728fd diff --git a/dev-python/probeinterface/metadata.xml b/dev-python/probeinterface/metadata.xml new file mode 100644 index 0000000..58f800c --- /dev/null +++ b/dev-python/probeinterface/metadata.xml @@ -0,0 +1,15 @@ + + + + + gentoo@chymera.eu + Horea Christian + + + sci@gentoo.org + Gentoo Science Project + + + SpikeInterface/probeinterface + + diff --git a/dev-python/probeinterface/probeinterface-0.2.5.ebuild b/dev-python/probeinterface/probeinterface-0.2.5.ebuild new file mode 100644 index 0000000..fdec4dc --- /dev/null +++ b/dev-python/probeinterface/probeinterface-0.2.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Python package to handle probe layout, geometry and wiring to device" +HOMEPAGE="https://github.com/SpikeInterface/probeinterface" +SRC_URI="https://github.com/SpikeInterface/probeinterface/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="" +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] +" +BDEPEND="" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Requires network access: + # https://github.com/SpikeInterface/probeinterface/issues/70 + tests/test_library.py::test_download_probeinterface_file + tests/test_library.py::test_get_from_cache + tests/test_library.py::test_get_probe + tests/test_wiring.py::test_wire_probe + ) + epytest tests +}