[104371] trunk/dports/python/py-nibabel/Portfile

sean at macports.org sean at macports.org
Sat Mar 23 18:56:37 PDT 2013


Revision: 104371
          https://trac.macports.org/changeset/104371
Author:   sean at macports.org
Date:     2013-03-23 18:56:37 -0700 (Sat, 23 Mar 2013)
Log Message:
-----------
py-nibabel: update to 1.3.0

Modified Paths:
--------------
    trunk/dports/python/py-nibabel/Portfile

Modified: trunk/dports/python/py-nibabel/Portfile
===================================================================
--- trunk/dports/python/py-nibabel/Portfile	2013-03-24 01:56:27 UTC (rev 104370)
+++ trunk/dports/python/py-nibabel/Portfile	2013-03-24 01:56:37 UTC (rev 104371)
@@ -4,34 +4,32 @@
 PortSystem              1.0
 PortGroup               python 1.0
 
-name                    py-pynifti
-version                 0.20100607.1
+name                    py-nibabel
+version                 1.3.0
 categories              python
 platforms               darwin
-license                 public-domain
-maintainers             jameskyle
-description             PyNIfTI aims to provide easy access to NIfTI images from within Python.
-long_description        ${description}. It uses SWIG-generated wrappers for the NIfTI reference library and provides the NiftiImage class for Python-style access to the image data.
+license                 MIT
+maintainers             nomaintainer
+description             Access a cacophony of neuro-imaging file formats
 
-homepage                http://sourceforge.net/projects/niftilib
-master_sites            sourceforge:project/niftilib/pynifti/${version}
+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.
 
-checksums               rmd160  f9337ca40681b76432ac362d088034d79ba28556 \
-                        sha256  d1607d330e94576d6b0f18690b5b94c75ed1a93722c573e9ea781580f555611a
+homepage                http://nipy.org/nibabel
+master_sites            http://pypi.python.org/packages/source/n/nibabel/
+distname                nibabel-${version}
 
-python.versions         25 26 27
-python.default_version  27
+checksums               rmd160  cff54439e38e1bdcd726cf45136d01417b7a02b8 \
+                        sha256  69b6fe175d4cf24ab6342575753efda5d6ba7f31f840db2da26e17789166159b
 
+python.versions         25 26 27 31 32 33
+
 if {$subport != $name} {
-    depends_lib         port:py${python.version}-numpy \
-                        port:nifticlib \
-                        port:swig-python
+    depends_lib         port:py${python.version}-numpy
 
-    build.env           CCFLAGS="-I${prefix}/include -L${prefix}/lib -I${prefix}/include/nifti"
-
-    distname            pynifti_${version}
-    worksrcdir          pynifti-${version}
-    patchfiles          patch-setup-py.diff
     post-patch {
         reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
     }
@@ -65,6 +63,8 @@
         default_variants +gcc47
     }
 
+    livecheck.type      none
+} else {
+    livecheck.url       http://pypi.python.org/pypi/nibabel
+    livecheck.regex     nibabel-(\[0-9.\]+)${extract.suffix}
 }
-
-livecheck.type      none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130323/f74a8e23/attachment.html>


More information about the macports-changes mailing list