Gentoo Archives: gentoo-commits

From: Horea Christian <horea.christ@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/nibabel/
Date: Mon, 30 Jan 2023 10:26:39
Message-Id: 1675073671.933f19809917bf0e4b66f7f703c1ee8e546a7b11.chymera@gentoo
1 commit: 933f19809917bf0e4b66f7f703c1ee8e546a7b11
2 Author: Horea Christian <chr <AT> chymera <DOT> eu>
3 AuthorDate: Mon Jan 30 10:14:31 2023 +0000
4 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
5 CommitDate: Mon Jan 30 10:14:31 2023 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=933f1980
7
8 sci-libs/nibabel: version bump 4.0.0
9
10 Signed-off-by: Horea Christian <chr <AT> chymera.eu>
11
12 sci-libs/nibabel/nibabel-4.0.0.ebuild | 37 +++++++++++++++++++++++++++++++++++
13 1 file changed, 37 insertions(+)
14
15 diff --git a/sci-libs/nibabel/nibabel-4.0.0.ebuild b/sci-libs/nibabel/nibabel-4.0.0.ebuild
16 new file mode 100644
17 index 000000000..2de1e6dc9
18 --- /dev/null
19 +++ b/sci-libs/nibabel/nibabel-4.0.0.ebuild
20 @@ -0,0 +1,37 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +PYTHON_COMPAT=( python3_10 )
27 +DISTUTILS_USE_SETUPTOOLS=rdepend
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Access a cacophony of neuro-imaging file formats"
32 +HOMEPAGE="https://nipy.org/nibabel/"
33 +SRC_URI="https://github.com/nipy/nibabel/archive/${PV}.tar.gz -> ${P}.tar.gz"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~x86"
38 +IUSE="dicom"
39 +
40 +RDEPEND="
41 + dev-python/numpy[${PYTHON_USEDEP}]
42 + dev-python/packaging[${PYTHON_USEDEP}]
43 + dev-python/scipy[${PYTHON_USEDEP}]
44 + dicom? (
45 + dev-python/pillow[${PYTHON_USEDEP}]
46 + sci-libs/pydicom
47 + )
48 +"
49 +
50 +EPYTEST_DESELECT=(
51 + # Rported upstream:
52 + # https://github.com/nipy/nibabel/issues/1191
53 + nibabel/tests/test_volumeutils.py::test_a2f_nan2zero_range
54 +)
55 +
56 +distutils_enable_sphinx doc/source dev-python/texext dev-python/numpydoc dev-python/matplotlib
57 +distutils_enable_tests pytest