blob: 11b98367eb53d08c43c01b825a4423ed450aca7f (
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
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_10 )
inherit distutils-r1
DESCRIPTION="Flexible DICOM conversion to structured directory layouts"
HOMEPAGE="
https://github.com/nipy/heudiconv
https://heudiconv.readthedocs.io/en/latest/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-python/filelock[${PYTHON_USEDEP}]
dev-python/versioningit[${PYTHON_USEDEP}]
sci-biology/dcm2niix
sci-biology/dcmstack[${PYTHON_USEDEP}]
sci-libs/nibabel[${PYTHON_USEDEP}]
sci-libs/nipype[${PYTHON_USEDEP}]
sci-libs/pydicom[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/six[${PYTHON_USEDEP}]
)
"
# Reported upstream:
# https://github.com/nipy/heudiconv/issues/627
EPYTEST_DESELECT=(
"heudiconv/tests/test_dicoms.py::test_embed_dicom_and_nifti_metadata"
"heudiconv/tests/test_heuristics.py::test_reproin_largely_smoke"
"heudiconv/tests/test_heuristics.py::test_scans_keys_reproin"
"heudiconv/tests/test_heuristics.py::test_scout_conversion"
"heudiconv/tests/test_heuristics.py::test_notop[bidsoptions0]"
"heudiconv/tests/test_heuristics.py::test_notop[bidsoptions1]"
"heudiconv/tests/test_heuristics.py::test_phoenix_doc_conversion"
"heudiconv/tests/test_main.py::test_prepare_for_datalad"
"heudiconv/tests/test_main.py::test_cache"
"heudiconv/tests/test_regression.py::test_grouping[merged]"
)
distutils_enable_tests pytest
|