diff --git a/sci-libs/nibabel/ChangeLog b/sci-libs/nibabel/ChangeLog new file mode 100644 index 0000000..8a72651 --- /dev/null +++ b/sci-libs/nibabel/ChangeLog @@ -0,0 +1,4 @@ +*nibabel-2.5.1 (04 Nov 2019) + + 04 Nov 2019; +metadata.xml, +nibabel-2.5.1.ebuild: + sci-libs/nibabel: version bump 2.5.1 ahead of Gentoo Science diff --git a/sci-libs/nibabel/Manifest b/sci-libs/nibabel/Manifest new file mode 100644 index 0000000..0271242 --- /dev/null +++ b/sci-libs/nibabel/Manifest @@ -0,0 +1 @@ +DIST nibabel-2.5.1.tar.gz 4281663 SHA256 47b445abee203a9ab4068d826588f926352ea55f20a894178ad5b56215a22fd8 SHA512 49de1a42113e64a56336e02f3143588b574c7b063b10b892ee125048451be701955e505bd1d51183327e2ee221f8364005fdd9fa7d256343113ab6ca1994820d WHIRLPOOL cb0337a753c7f3827da8954c354a65ce09ecb96fba3ffd637028f4634ff3aa29eeb3975ad012bced12fbad13adf94fd5d7e1313983f6598467330ac001615500 diff --git a/sci-libs/nibabel/metadata.xml b/sci-libs/nibabel/metadata.xml new file mode 100644 index 0000000..59e566e --- /dev/null +++ b/sci-libs/nibabel/metadata.xml @@ -0,0 +1,25 @@ + + + + + horea.christ@gmail.com + Horea Christian + + + sci@gentoo.org + Gentoo Science Project + + +The package provides read and write access to some common medical and +neuroimaging file formats, including: ANALYZE (plain, SPM99, SPM2), GIFTI, +NIfTI1, MINC, MGH and ECAT as well as PAR/REC. It can read and write Freesurfer +geometry, and read Freesurfer morphometry and annotation files. There is some +very limited support for DICOM. NiBabel is the successor of PyNIfTI. + + + Adds limited read support for the DICOM imaging format. + + + nipy/nibabel + + diff --git a/sci-libs/nibabel/nibabel-2.5.1.ebuild b/sci-libs/nibabel/nibabel-2.5.1.ebuild new file mode 100644 index 0000000..e7570f1 --- /dev/null +++ b/sci-libs/nibabel/nibabel-2.5.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) + +inherit distutils-r1 + +DESCRIPTION="Access a cacophony of neuro-imaging file formats" +HOMEPAGE="http://nipy.org/nibabel/" +SRC_URI="https://github.com/nipy/nibabel/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" + +LICENSE="MIT" +SLOT="0" +IUSE="dicom doc test" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dicom? ( + sci-libs/pydicom[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + ) + " + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + " + +python_test() { + cd "${BUILD_DIR}" || die + echo "backend: Agg" > matplotlibrc + MPLCONFIGDIR=. nosetests || die +}