1
0
mirror of synced 2024-11-14 17:08:59 +01:00
TheChymera-overlay/dev-python/neo/neo-0.10.0.ebuild
Horea Christian b00c7e2a51
dev-python/neo: new package (DANDI ephys stack)
Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Horea Christian <chr@chymera.eu>
2021-10-10 22:03:20 -04:00

48 lines
1.1 KiB
Bash

# 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
MY_PN="python-neo"
DESCRIPTION="Read and represent a wide range of neurophysiology file formats in Python"
HOMEPAGE="https://github.com/NeuralEnsemble/python-neo"
SRC_URI="https://github.com/NeuralEnsemble/python-neo/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="test"
# Numerous test failures, checking with upstream:
# https://github.com/NeuralEnsemble/python-neo/issues/1037
DEPEND="
test? (
${RDEPEND}
dev-python/scipy[${PYTHON_USEDEP}]
dev-python/h5py[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pynwb[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-vcs/datalad
)
"
# Testing deps also need:
# igor
# nixio
# sonpy
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/quantities[${PYTHON_USEDEP}]
"
BDEPEND=""
S="${WORKDIR}/${MY_PN}-${PV}"
distutils_enable_tests pytest