commit: a3e64508c08297dfc5951fd5d7d6d92961fe45ad
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Thu Jan 25 11:46:22 2024 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Thu Jan 25 11:46:22 2024 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a3e64508
sci-biology/neuroconv: add 0.4.6
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
sci-biology/neuroconv/neuroconv-0.4.6.ebuild | 58 ++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/sci-biology/neuroconv/neuroconv-0.4.6.ebuild
b/sci-biology/neuroconv/neuroconv-0.4.6.ebuild
new file mode 100644
index 000000000..ac28a2da6
--- /dev/null
+++ b/sci-biology/neuroconv/neuroconv-0.4.6.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Create NWB files from proprietary formats."
+HOMEPAGE="https://github.com/catalystneuro/neuroconv"
+SRC_URI="https://github.com/catalystneuro/neuroconv/archive/refs/tags/v${PV}.tar.gz
-> ${P}.gh.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+ecephys +icephys +ophys"
+
+RDEPEND="
+ dev-python/h5py[${PYTHON_USEDEP}]
+ dev-python/hdmf[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/nwbinspector[${PYTHON_USEDEP}]
+ dev-python/pandas[${PYTHON_USEDEP}]
+ dev-python/parse[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/pynwb[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/scipy[${PYTHON_USEDEP}]
+ dev-python/tqdm[${PYTHON_USEDEP}]
+ dev-python/pydantic[${PYTHON_USEDEP}]
+ ecephys? (
+ dev-python/spikeinterface[${PYTHON_USEDEP}]
+ )
+ icephys? (
+ dev-python/neo[${PYTHON_USEDEP}]
+ )
+ ophys? (
+ sci-biology/roiextractors[${PYTHON_USEDEP}]
+ )
+"
+BDEPEND="
+ test? (
+ dev-python/parameterized[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ # Additional tests require complex data getting infrastructure, ophys
tests still have issues:
+ # https://github.com/catalystneuro/neuroconv/issues/305
+ local my_tests=( "tests/test_minimal" )
+ use ecephys && my_tests+=( "tests/test_ecephys" )
+ #use ophys && my_tests+=( "tests/test_ophys" )
+ epytest ${my_tests[*]// /|}
+}