commit:     04e727a714b5464b5e4a63a605bea5b6d6b42997
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Thu Dec 14 19:17:41 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Thu Dec 14 19:17:41 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=04e727a7

dev-python/neo: add 0.12.0

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 dev-python/neo/neo-0.12.0.ebuild | 57 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/dev-python/neo/neo-0.12.0.ebuild b/dev-python/neo/neo-0.12.0.ebuild
new file mode 100644
index 000000000..6e058728e
--- /dev/null
+++ b/dev-python/neo/neo-0.12.0.ebuild
@@ -0,0 +1,57 @@
+# 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 pypi
+
+DESCRIPTION="Read and represent a wide range of neurophysiology file formats 
in Python"
+HOMEPAGE="https://github.com/NeuralEnsemble/python-neo";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+       dev-python/numpy[${PYTHON_USEDEP}]
+       dev-python/quantities[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               ${RDEPEND}
+               dev-python/scipy[${PYTHON_USEDEP}]
+               dev-python/h5py[${PYTHON_USEDEP}]
+               dev-python/matplotlib[${PYTHON_USEDEP}]
+               dev-python/pillow[${PYTHON_USEDEP}]
+               dev-python/probeinterface[${PYTHON_USEDEP}]
+               dev-python/pynwb[${PYTHON_USEDEP}]
+               dev-python/tqdm[${PYTHON_USEDEP}]
+               dev-vcs/datalad[${PYTHON_USEDEP}]
+       )
+"
+# Testing deps also need:
+# igor
+# pyedflib https://github.com/holgern/pyedflib
+# klusta
+# nixio
+# sonpy
+# ipython
+
+distutils_enable_tests pytest
+
+python_test() {
+       # Reported upstream
+       # https://github.com/NeuralEnsemble/python-neo/issues/1037
+       local EPYTEST_IGNORE=(
+               neo/test/iotest/*
+               neo/test/rawiotest/*
+       )
+       # Requires dynamic data download
+       local EPYTEST_DESELECT=(
+               
neo/test/utils/test_datasets.py::TestDownloadDataset::test_download_dataset
+       )
+       epytest
+}

Reply via email to