# -*- 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 PortSystem 1.0 PortGroup python 1.0 name py-nibabel version 2.4.0 revision 0 platforms darwin license MIT maintainers nomaintainer 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} supported_archs noarch checksums \ rmd160 a479afa81c5b79752ef0f39dcde0304e53a26f3a \ sha256 dd0c41715d0391c724e2828bba2c16690dbd6aafbca8e920ee8448ed0086e4c1 \ size 4589348 python.versions 27 34 35 36 37 if {${name} ne ${subport}} { # Revisit when tests are fixed upstream #depends_test-append port:py${python.version}-nose \ # port:py${python.version}-mock \ # port:py${python.version}-sphinx \ # port:py${python.version}-pytest #test.run yes #test.cmd ${python.bin} setup.py #test.target test depends_build-append \ port:py${python.version}-setuptools depends_lib-append port:py${python.version}-numpy \ port:py${python.version}-bz2file \ port:py${python.version}-six post-patch { reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py } post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} README.rst AUTHOR COPYING \ Changelog ${destroot}${docdir} } livecheck.type none }