dev-python/neo: test fixes
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
parent
a71d1755b6
commit
584b07b46d
@ -18,5 +18,6 @@
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">NeuralEnsemble/python-neo</remote-id>
|
||||
<remote-id type="pypi">neo</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_COMPAT=( python3_{10..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="python-neo"
|
||||
|
@ -1,9 +1,10 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_COMPAT=( python3_{10..10} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="python-neo"
|
||||
@ -16,9 +17,6 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
#RESTRICT="test"
|
||||
# Numerous test failures, checking with upstream:
|
||||
# https://github.com/NeuralEnsemble/python-neo/issues/1037
|
||||
|
||||
RDEPEND="
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
@ -48,3 +46,17 @@ BDEPEND="
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
neo/test/utils/test_datasets.py::TestDownloadDataset::test_download_dataset
|
||||
)
|
||||
|
||||
# Reported upstream
|
||||
# https://github.com/NeuralEnsemble/python-neo/issues/1037
|
||||
python_test() {
|
||||
local EPYTEST_IGNORE=(
|
||||
neo/test/iotest/*
|
||||
neo/test/rawiotest/*
|
||||
)
|
||||
epytest
|
||||
}
|
||||
|
@ -1,13 +1,12 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_COMPAT=( python3_{10..10} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
@ -17,9 +16,6 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
#RESTRICT="test"
|
||||
# Numerous test failures, checking with upstream:
|
||||
# https://github.com/NeuralEnsemble/python-neo/issues/1037
|
||||
|
||||
RDEPEND="
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
@ -46,6 +42,14 @@ BDEPEND="
|
||||
# sonpy
|
||||
# ipython
|
||||
|
||||
#S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
# Reported upstream
|
||||
# https://github.com/NeuralEnsemble/python-neo/issues/1037
|
||||
python_test() {
|
||||
local EPYTEST_IGNORE=(
|
||||
neo/test/iotest/*
|
||||
neo/test/rawiotest/*
|
||||
)
|
||||
epytest
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user