1
0
Fork 0

dev-python/tridesclous: add 1.6.6

Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2023-01-30 07:37:37 -05:00
parent a4519d47ae
commit 5b57da4392
No known key found for this signature in database
GPG Key ID: 161C0BE6255333D3
2 changed files with 68 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST tridesclous-1.6.4.tar.gz 11798060 BLAKE2B 05603bc789ea53eed8bf5a40674975b754c9375cd1b80a470c07089c988b9c3d8822747a0c73d3c4a375c6663190d15492e4e59c0fdeaac48beee66ee2b4fabf SHA512 afb50bbbe51fa57fbe7479576c8bebefbd56d8bc135ec38362cdf8b9e51cb4da990d7262e653a9636b1a7b8e45d4f9c4700a37884a235958978b75b968be2a19
DIST tridesclous-1.6.6.tar.gz 11798502 BLAKE2B af9eb4d4e899f2a065d37e6daaae9ad04209b3d10c250957985ef3603e5d5727947dafff75adf5bb892a4ccbbf2f575f682bd601afcf36bda48f5f7a2af6ab26 SHA512 b101a8a8c2e95b7eb51b7d24d2708a30421be63d48d5a7047dfa2be3ce0f15ce02ce518d5516d5fae3d040cb0d2037a49afd34fdbd03bc641dc42014d8861d0d

View File

@ -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-1.24.0[${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
}