Ticket #37227: 2.patch

File 2.patch, 3.3 KB (added by seanfarley (Sean Farley), 11 years ago)

py-nibabel: update to 1.3.0

  • dports/python/py-nibabel/Portfile

    # HG changeset patch
    # User Sean Farley <sean.michael.farley@gmail.com>
    # Date 1354654521 21600
    # Node ID e62a5924ee3f6064bf67698524cf82261f3f10d9
    # Parent  f19641430e96f731616de72a6720bf6d0f160bd6
    py-nibabel: update to 1.3.0
    
    diff --git a/dports/python/py-nibabel/Portfile b/dports/python/py-nibabel/Portfile
    a b  
    22# $Id$
    33
    44PortSystem              1.0
    55PortGroup               python 1.0
    66
    7 name                    py-pynifti
    8 version                 0.20100607.1
     7name                    py-nibabel
     8version                 1.3.0
    99categories              python
    1010platforms               darwin
    11 maintainers             jameskyle
    12 description             PyNIfTI aims to provide easy access to NIfTI images from within Python.
    13 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.
     11license                 MIT
     12maintainers             gmail.com:sean.michael.farley openmaintainer
     13description             Access a cacophony of neuro-imaging file formats
    1414
    15 homepage                http://sourceforge.net/projects/niftilib
    16 master_sites            sourceforge:project/niftilib/pynifti/${version}
     15long_description        Nibabel provides read and write access to some common medical and \
     16    neuroimaging file formats, including: ANALYZE (plain, SPM99, SPM2), GIFTI, NIfTI1, MINC, \
     17    MGH and ECAT as well as PAR/REC. We can read and write Freesurfer geometry, and read \
     18    Freesurfer morphometry and annotation files. There is some very limited support for \
     19    DICOM. NiBabel is the successor of PyNIfTI.
    1720
    18 checksums               rmd160  f9337ca40681b76432ac362d088034d79ba28556 \
    19                         sha256  d1607d330e94576d6b0f18690b5b94c75ed1a93722c573e9ea781580f555611a
     21homepage                http://nipy.org/nibabel
     22master_sites            http://pypi.python.org/packages/source/n/nibabel/
     23distname                nibabel-${version}
    2024
    21 python.versions         25 26 27
     25checksums               rmd160  cff54439e38e1bdcd726cf45136d01417b7a02b8 \
     26                        sha256  69b6fe175d4cf24ab6342575753efda5d6ba7f31f840db2da26e17789166159b
     27
     28python.versions         25 26 27 31 32 33
    2229python.default_version  27
    2330
    2431if {$subport != $name} {
    25     depends_lib         port:py${python.version}-numpy \
    26                         port:nifticlib \
    27                         port:swig-python
     32    depends_lib         port:py${python.version}-numpy
    2833
    29     build.env           CCFLAGS="-I${prefix}/include -L${prefix}/lib -I${prefix}/include/nifti"
    30 
    31     distname            pynifti_${version}
    32     worksrcdir          pynifti-${version}
    33     patchfiles          patch-setup-py.diff
    3434    post-patch {
    3535        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
    3636    }
    3737
    3838    variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} {
     
    6262
    6363    if {![variant_isset gcc43] && ![variant_isset gcc44]} {
    6464        default_variants +gcc47
    6565    }
    6666
     67    livecheck.type      none
     68} else {
     69    livecheck.url       http://pypi.python.org/pypi/nibabel
     70    livecheck.regex     nibabel-(\[0-9.\]+)${extract.suffix}
    6771}
    68 
    69 livecheck.type      none