1
0
Fork 0

sci-libs/nibabel: version bump 2.5.1 ahead of Gentoo Science

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2019-11-04 21:32:03 +01:00
parent db71d230ac
commit 006467726d
4 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,4 @@
*nibabel-2.5.1 (04 Nov 2019)
04 Nov 2019; <chymera@gentoo.org> +metadata.xml, +nibabel-2.5.1.ebuild:
sci-libs/nibabel: version bump 2.5.1 ahead of Gentoo Science

View File

@ -0,0 +1 @@
DIST nibabel-2.5.1.tar.gz 4281663 SHA256 47b445abee203a9ab4068d826588f926352ea55f20a894178ad5b56215a22fd8 SHA512 49de1a42113e64a56336e02f3143588b574c7b063b10b892ee125048451be701955e505bd1d51183327e2ee221f8364005fdd9fa7d256343113ab6ca1994820d WHIRLPOOL cb0337a753c7f3827da8954c354a65ce09ecb96fba3ffd637028f4634ff3aa29eeb3975ad012bced12fbad13adf94fd5d7e1313983f6598467330ac001615500

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>horea.christ@gmail.com</email>
<name>Horea Christian</name>
</maintainer>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<longdescription lang="en">
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.
</longdescription>
<use>
<flag name="dicom">Adds limited read support for the DICOM imaging format.</flag>
</use>
<upstream>
<remote-id type="github">nipy/nibabel</remote-id>
</upstream>
</pkgmetadata>

View File

@ -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
}