diff --git a/dev-python/tridesclous/ChangeLog b/dev-python/tridesclous/ChangeLog new file mode 100644 index 0000000..f4dbc91 --- /dev/null +++ b/dev-python/tridesclous/ChangeLog @@ -0,0 +1,4 @@ +*tridesclous-1.6.4 (12 Oct 2021) + + 12 Oct 2021; +metadata.xml, +tridesclous-1.6.4.ebuild: + dev-python/tridesclous: new package (DANDI ephys stack) diff --git a/dev-python/tridesclous/Manifest b/dev-python/tridesclous/Manifest new file mode 100644 index 0000000..da06e2e --- /dev/null +++ b/dev-python/tridesclous/Manifest @@ -0,0 +1 @@ +DIST tridesclous-1.6.4.tar.gz 11798060 SHA256 4ef93660b4752744bcaf3db5d0925a417446295098657370080608bda08fe0dd SHA512 afb50bbbe51fa57fbe7479576c8bebefbd56d8bc135ec38362cdf8b9e51cb4da990d7262e653a9636b1a7b8e45d4f9c4700a37884a235958978b75b968be2a19 WHIRLPOOL b862fc267cc8bda22a4b870f7fd427bac3299bbafa324fd82e60d341f1e8f1182a42cececde3a13f0ed8f6f6650b960fa58bf873f2f6b18be634a8b14e8e521c diff --git a/dev-python/tridesclous/metadata.xml b/dev-python/tridesclous/metadata.xml new file mode 100644 index 0000000..78cd54e --- /dev/null +++ b/dev-python/tridesclous/metadata.xml @@ -0,0 +1,15 @@ + + + + + gentoo@chymera.eu + Horea Christian + + + sci@gentoo.org + Gentoo Science Project + + + tridesclous/tridesclous + + diff --git a/dev-python/tridesclous/tridesclous-1.6.4.ebuild b/dev-python/tridesclous/tridesclous-1.6.4.ebuild new file mode 100644 index 0000000..0e18ed5 --- /dev/null +++ b/dev-python/tridesclous/tridesclous-1.6.4.ebuild @@ -0,0 +1,67 @@ +# 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="offline/online spike sorting" +HOMEPAGE="https://github.com/tridesclous/tridesclous" +SRC_URI="https://github.com/tridesclous/tridesclous/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gui test" +RESTRICT="test" +# Tests fail, reported upstream +# https://github.com/tridesclous/tridesclous/issues/175 + +RDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/hdbscan[${PYTHON_USEDEP}] + dev-python/loky[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/neo[${PYTHON_USEDEP}] + dev-python/numba + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/openpyxl[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + sci-libs/scikit-learn[${PYTHON_USEDEP}] + gui? ( + dev-python/PyQt5[${PYTHON_USEDEP}] + ) +" +# Technically also seaborn: +# dev-python/seaborn[${PYTHON_USEDEP}] +DEPEND=" + test? ( + ${RDEPEND} + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + tridesclous/online/tests/test_launcher.py + tridesclous/online/tests/test_onlinepeeler.py + tridesclous/online/tests/test_onlinewindow.py + ) + if use !gui ; then + EPYTEST_IGNORE+=( + tridesclous/gui/test_gpuselector.py + tridesclous/gui/icons/test_ressources.py + tridesclous/gui/tests/test_cataloguewindow.py + tridesclous/gui/tests/test_gui_tools.py + tridesclous/gui/tests/test_initializedatasetwindow.py + tridesclous/gui/tests/test_mainwindow.py + tridesclous/gui/tests/test_peelerwindow.py + tridesclous/gui/tests/test_probegeometryview.py + ) + fi + epytest +}