commit:     3952b87c7ce8ea2ea7abc2000ac1f314f91921d6
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Mon Dec 11 17:37:57 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon Dec 11 17:37:57 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=3952b87c

dev-python/heudiconv: add 1.0.0

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 dev-python/heudiconv/heudiconv-1.0.0.ebuild | 42 +++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/dev-python/heudiconv/heudiconv-1.0.0.ebuild 
b/dev-python/heudiconv/heudiconv-1.0.0.ebuild
new file mode 100644
index 000000000..7f7db0b0e
--- /dev/null
+++ b/dev-python/heudiconv/heudiconv-1.0.0.ebuild
@@ -0,0 +1,42 @@
+# 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..11} )
+inherit distutils-r1 pypi
+
+DESCRIPTION="Flexible DICOM conversion to structured directory layouts"
+HOMEPAGE="
+       https://github.com/nipy/heudiconv
+       https://heudiconv.readthedocs.io/en/latest/
+"
+
+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/mock[${PYTHON_USEDEP}]
+               dev-python/six[${PYTHON_USEDEP}]
+       )
+"
+
+# Reported upstream:
+# https://github.com/nipy/heudiconv/issues/679
+EPYTEST_DESELECT=(
+       heudiconv/tests/test_main.py::test_prepare_for_datalad
+)
+
+distutils_enable_tests pytest

Reply via email to