1
0
Fork 0

dev-python/tridesclous: new package (DANDI ephys stack)

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2021-10-12 19:11:19 -04:00
parent 3765ea2e04
commit 226eaf4e36
No known key found for this signature in database
GPG Key ID: 161C0BE6255333D3
4 changed files with 87 additions and 0 deletions

View File

@ -0,0 +1,4 @@
*tridesclous-1.6.4 (12 Oct 2021)
12 Oct 2021; <chymera@gentoo.org> +metadata.xml, +tridesclous-1.6.4.ebuild:
dev-python/tridesclous: new package (DANDI ephys stack)

View File

@ -0,0 +1 @@
DIST tridesclous-1.6.4.tar.gz 11798060 SHA256 4ef93660b4752744bcaf3db5d0925a417446295098657370080608bda08fe0dd SHA512 afb50bbbe51fa57fbe7479576c8bebefbd56d8bc135ec38362cdf8b9e51cb4da990d7262e653a9636b1a7b8e45d4f9c4700a37884a235958978b75b968be2a19 WHIRLPOOL b862fc267cc8bda22a4b870f7fd427bac3299bbafa324fd82e60d341f1e8f1182a42cececde3a13f0ed8f6f6650b960fa58bf873f2f6b18be634a8b14e8e521c

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@chymera.eu</email>
<name>Horea Christian</name>
</maintainer>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<upstream>
<remote-id type="github">tridesclous/tridesclous</remote-id>
</upstream>
</pkgmetadata>

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