# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description Access a cacophony of neuro-imaging file formats
long_description Nibabel 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. We 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.
homepage https://nipy.org/nibabel
master_sites pypi:n/nibabel/
distname nibabel-${version}
checksums rmd160 1f202d10b89872cb056f64334f262cfa02df0075 \
sha256 b6366634c65b04464e62f3a9a8df1faa172f780ed7f1af1c6818b3dc2f1202c3 \
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-numpy \
port:py${python.version}-six
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst AUTHOR COPYING \
Changelog ${destroot}${docdir}