commit: d703db1f390fd4005132b673b312715d73d6b7ef
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Tue Jul 30 15:29:53 2024 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Tue Jul 30 15:29:53 2024 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d703db1f
dev-python/pynwb: add 2.8.1
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
dev-python/pynwb/pynwb-2.8.1.ebuild | 54 +++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/dev-python/pynwb/pynwb-2.8.1.ebuild
b/dev-python/pynwb/pynwb-2.8.1.ebuild
new file mode 100644
index 000000000..5be67428b
--- /dev/null
+++ b/dev-python/pynwb/pynwb-2.8.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+#DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1 pypi
+
+DESCRIPTION="A Python API for working with Neurodata stored in the NWB Format "
+HOMEPAGE="https://github.com/NeurodataWithoutBorders/pynwb"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+# Segfault error on testing
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-python/hdmf-3.14.3[${PYTHON_USEDEP}]
+ >=sci-libs/hdf5-1.12.2
+ dev-python/h5py[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pandas[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ "
+
+EPYTEST_DESELECT=(
+ # Reported upsream:
+ # https://github.com/NeurodataWithoutBorders/pynwb/issues/1580
+
tests/validation/test_validate.py::TestValidateCLI::test_validate_file_cached
+
tests/validation/test_validate.py::TestValidateCLI::test_validate_file_cached_bad_ns
+
tests/validation/test_validate.py::TestValidateCLI::test_validate_file_cached_core
+
tests/validation/test_validate.py::TestValidateCLI::test_validate_file_cached_extension
+
tests/validation/test_validate.py::TestValidateCLI::test_validate_file_cached_extension_pass_ns
+
tests/validation/test_validate.py::TestValidateCLI::test_validate_file_cached_hdmf_common
+
tests/validation/test_validate.py::TestValidateCLI::test_validate_file_cached_ignore
+
tests/validation/test_validate.py::TestValidateCLI::test_validate_file_invalid
+
tests/validation/test_validate.py::TestValidateCLI::test_validate_file_list_namespaces_core
+
tests/validation/test_validate.py::TestValidateCLI::test_validate_file_list_namespaces_extension
+
tests/validation/test_validate.py::TestValidateCLI::test_validate_file_no_cache
+
tests/validation/test_validate.py::TestValidateCLI::test_validate_file_no_cache_bad_ns
+ # Reported upstream:
+ # https://github.com/NeurodataWithoutBorders/pynwb/issues/1800
+ tests/unit/test_file.py::TestNoCacheSpec::test_simple
+ # Not sandboxed, reported upstream:
+ # https://github.com/NeurodataWithoutBorders/pynwb/issues/1800
+
tests/read_dandi/test_read_dandi.py::TestReadNWBDandisets::test_read_first_nwb_asset
+ tests/unit/test_base.py::TestTimeSeries::test_repr_html
+)
+
+distutils_enable_tests pytest