ef6f025872
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Horea Christian <chr@chymera.eu>
62 lines
1.5 KiB
Bash
62 lines
1.5 KiB
Bash
# Copyright 2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{8..9} )
|
|
# dev-python/hdf5storage is holding 3.10 back
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Extract, convert, and interface with extracellular data, now in spikeinterfaces"
|
|
HOMEPAGE="https://github.com/SpikeInterface/spikeextractors"
|
|
SRC_URI="https://github.com/SpikeInterface/spikeextractors/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
# dev-python/hdf5storage, datalad, and neo hold back ~x86
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
DEPEND=""
|
|
RDEPEND="
|
|
dev-python/h5py[${PYTHON_USEDEP}]
|
|
dev-python/hdf5storage[${PYTHON_USEDEP}]
|
|
dev-python/joblib[${PYTHON_USEDEP}]
|
|
dev-python/loky[${PYTHON_USEDEP}]
|
|
dev-python/lxml[${PYTHON_USEDEP}]
|
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
|
dev-python/neo[${PYTHON_USEDEP}]
|
|
dev-python/numpy[${PYTHON_USEDEP}]
|
|
dev-python/pandas[${PYTHON_USEDEP}]
|
|
dev-python/pynwb[${PYTHON_USEDEP}]
|
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
dev-python/scipy[${PYTHON_USEDEP}]
|
|
dev-python/tqdm[${PYTHON_USEDEP}]
|
|
dev-vcs/datalad
|
|
"
|
|
# also needs
|
|
# pyintan
|
|
# pyopenephys
|
|
# nixio
|
|
# shybird
|
|
# mtscomp
|
|
# exdir
|
|
# sonpy
|
|
# pyyaml and shybird might not really be needed
|
|
BDEPEND=""
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-0.9.7-no-test-install.patch"
|
|
)
|
|
|
|
distutils_enable_tests pytest
|
|
|
|
src_install() {
|
|
pwd
|
|
ls -lah
|
|
rm -rf tests/ || die "Could not remove tests directory incorrectly selected by package for install."
|
|
ls -lah
|
|
distutils-r1_src_install
|
|
}
|