[53084] trunk/dports/python/py25-pynifti

jameskyle at macports.org jameskyle at macports.org
Sun Jun 28 21:30:13 PDT 2009


Revision: 53084
          http://trac.macports.org/changeset/53084
Author:   jameskyle at macports.org
Date:     2009-06-28 21:30:13 -0700 (Sun, 28 Jun 2009)
Log Message:
-----------
Incremental update to python nifti libraries.

Modified Paths:
--------------
    trunk/dports/python/py25-pynifti/Portfile
    trunk/dports/python/py25-pynifti/files/patch-setup-py.diff

Modified: trunk/dports/python/py25-pynifti/Portfile
===================================================================
--- trunk/dports/python/py25-pynifti/Portfile	2009-06-29 04:28:31 UTC (rev 53083)
+++ trunk/dports/python/py25-pynifti/Portfile	2009-06-29 04:30:13 UTC (rev 53084)
@@ -5,25 +5,28 @@
 PortGroup               python25 1.0
 
 name                    py25-pynifti
-version                 0.20081017.1 
+version                 0.20090303.1
 categories              python
 platforms               darwin
 maintainers             ucla.edu:jameskyle
-description             PyNIfTI aims to provide easy access to NIfTI images from within Python. 
+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.
 
-homepage                http://niftilib.sourceforge.net/pynifti
-master_sites            http://superb-east.dl.sourceforge.net/sourceforge/niftilib/
+homepage                http://sourceforge.net/projects/niftilib
+master_sites            sourceforge:niftilib
 
-checksums               md5 ba16ec77ed1a11c8ca0ef77609c0050a \
-                        sha1 a03bfe228d937bbcf034d490ac9777caceae8d48 \
-                        rmd160 f63d3bde0db3ccdfa24ac172b70bb47e141c5503
+checksums           md5     6625c0db0ba4776c14327affa5c0098a \
+                    sha1    96072c1b79c882a7a14461c9b48366a34f211e05 \
+                    rmd160  b6e10b401f8e6585126426d207c9d6e9e393f382
 
-depends_lib-append      port:py25-numpy \
+depends_lib             port:py25-numpy \
                         port:nifticlib \
                         port:swig
 
+depends_build           port:gcc43
+
 build.env               CCFLAGS="-I${prefix}/include -L${prefix}/lib -I${prefix}/include/nifti"
+configure.compiler      macports-gcc-4.3
 
 distfiles               pynifti_${version}${extract.suffix}
 worksrcdir              pynifti-${version}
@@ -41,3 +44,5 @@
     error "python variant of swig required"
   }
 }
+livecheck.url http://sourceforge.net/export/rss2_projfiles.php?project=niftilib
+livecheck.regex {pynifti_([0-9.]+).tar.gz}

Modified: trunk/dports/python/py25-pynifti/files/patch-setup-py.diff
===================================================================
--- trunk/dports/python/py25-pynifti/files/patch-setup-py.diff	2009-06-29 04:28:31 UTC (rev 53083)
+++ trunk/dports/python/py25-pynifti/files/patch-setup-py.diff	2009-06-29 04:30:13 UTC (rev 53084)
@@ -1,13 +1,16 @@
---- setup.py.old	2009-01-09 07:04:18.000000000 -0800
-+++ setup.py	2009-01-09 09:08:43.000000000 -0800
-@@ -48,8 +48,8 @@
+--- setup.py.orig	2009-06-20 11:37:59.000000000 -0700
++++ setup.py	2009-06-20 11:38:38.000000000 -0700
+@@ -45,11 +45,8 @@
+ else:
+     # try to look for nifticlibs in some place
+     if not sys.platform.startswith('win'):
+-        include_dirs += ['/usr/include/nifti',
+-                         '/usr/include/nifticlibs',
+-                         '/usr/local/include/nifti',
+-                         '/usr/local/include/nifticlibs',
+-                         '/usr/local/include']
++        include_dirs += ['@@PREFIX@@/include/nifti']
++        library_dirs.append('@@PREFIX@@/lib')
      else:
-         # otherwise we'll just tried a few things
-         if not sys.platform.startswith('win'):
--            include_dirs += [ '/usr/local/include/nifti',
--                              '/usr/include/nifti' ]
-+            include_dirs += [ '@@PREFIX@@/include/nifti',]
-+            library_dirs.append('@@PREFIX@@/lib')
-         else:
-             # clueless on windows
-             pass
+         # no clue on windows
+         pass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090628/8b9001ed/attachment.html>


More information about the macports-changes mailing list