1
0
mirror of synced 2024-12-22 21:00:20 +01:00
TheChymera-overlay/dev-python/spikeinterface/spikeinterface-0.91.0.ebuild
Horea Christian 33619c2f92
dev-python/spikeinterface: EAPI and PYTHON_COMPAT update
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian <chr@chymera.eu>
2022-07-13 02:55:56 -04:00

56 lines
1.4 KiB
Bash

# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
# 3.10 missing on numba and spyking-circus
inherit distutils-r1
DESCRIPTION="A Python-based module for creating flexible and robust spike sorting pipelines."
HOMEPAGE="https://github.com/SpikeInterface/spikeinterface"
SRC_URI="https://github.com/SpikeInterface/spikeinterface/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="test"
# Tests fail, checking with upstream
# https://github.com/SpikeInterface/spikeinterface/issues/307
DEPEND="
${RDEPEND}
test? (
dev-python/loky[${PYTHON_USEDEP}]
dev-python/numba[${PYTHON_USEDEP}]
dev-python/tridesclous[${PYTHON_USEDEP}]
sci-libs/spyking-circus[${PYTHON_USEDEP}]
dev-vcs/datalad
)
"
RDEPEND="
dev-python/joblib[${PYTHON_USEDEP}]
dev-python/neo[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/probeinterface[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
"
# also needs:
# dev-python/PyQt5
# hbdscan
# shybird
# herdingspikes
# might also need:
# dev-vcs/git-annex
# dev-python/matplotlib[${PYTHON_USEDEP}]
# sci-libs/scikit-learn[${PYTHON_USEDEP}]
# dev-python/networkx[${PYTHON_USEDEP}]
# dev-python/pybind11[${PYTHON_USEDEP}]
# dev-python/pillow[${PYTHON_USEDEP}]
# dev-python/pandas[${PYTHON_USEDEP}]
# dev-python/h5py[${PYTHON_USEDEP}]
BDEPEND=""
distutils_enable_tests pytest