# -*- 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 ec1f734ec80852e1941a47faa35e81fb2ec55804 \
sha256 83ecac4773ece02c49c364d99b465644c17cc66f1719560117e74991d9eb566b \
python.versions 27 35 36 37
if {${name} ne ${subport}} {
port:py${python.version}-bz2file \
port:py${python.version}-numpy \
port:py${python.version}-setuptools \
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}