blob: 829f7a955c2363fcfaa03c5cd3ef84862b9978fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="Python package to access BIDS datasets"
HOMEPAGE="https://github.com/INCF/pybids"
SRC_URI="https://github.com/INCF/pybids/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
DEPEND=""
RDEPEND="
dev-python/num2words[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
dev-python/patsy[${PYTHON_USEDEP}]
dev-python/sqlalchemy[${PYTHON_USEDEP}]
sci-libs/bids-validator[${PYTHON_USEDEP}]
sci-libs/nibabel[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
"
#RESTRICT="test"
# Fails because fixtures are called directly
# https://github.com/bids-standard/pybids/issues/289#issuecomment-476853673
python_test() {
#rm bids/tests/test_config.py || die
distutils_install_for_testing
pytest -vv || die
}
|