45 lines
1.0 KiB
Bash
45 lines
1.0 KiB
Bash
![]() |
# Copyright 1999-2018 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||
|
|
||
|
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=""
|
||
|
|
||
|
DEPEND="
|
||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||
|
"
|
||
|
RDEPEND="
|
||
|
dev-python/grabbit[${PYTHON_USEDEP}]
|
||
|
dev-python/num2words[${PYTHON_USEDEP}]
|
||
|
dev-python/numpy[${PYTHON_USEDEP}]
|
||
|
dev-python/pandas[${PYTHON_USEDEP}]
|
||
|
dev-python/patsy[${PYTHON_USEDEP}]
|
||
|
dev-python/six[${PYTHON_USEDEP}]
|
||
|
sci-libs/nibabel[${PYTHON_USEDEP}]
|
||
|
sci-libs/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
|
||
|
#cd "${TEST_DIR}" || die "no ${TEST_DIR} available"
|
||
|
pytest -vv || die
|
||
|
die
|
||
|
}
|
||
|
|