# 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
|
|
2 | 2 | # $Id$ |
3 | 3 | |
4 | 4 | PortSystem 1.0 |
5 | 5 | PortGroup python 1.0 |
6 | 6 | |
7 | | name py-pynifti |
8 | | version 0.20100607.1 |
| 7 | name py-nibabel |
| 8 | version 1.3.0 |
9 | 9 | categories python |
10 | 10 | platforms 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. |
| 11 | license MIT |
| 12 | maintainers gmail.com:sean.michael.farley openmaintainer |
| 13 | description Access a cacophony of neuro-imaging file formats |
14 | 14 | |
15 | | homepage http://sourceforge.net/projects/niftilib |
16 | | master_sites sourceforge:project/niftilib/pynifti/${version} |
| 15 | long_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. |
17 | 20 | |
18 | | checksums rmd160 f9337ca40681b76432ac362d088034d79ba28556 \ |
19 | | sha256 d1607d330e94576d6b0f18690b5b94c75ed1a93722c573e9ea781580f555611a |
| 21 | homepage http://nipy.org/nibabel |
| 22 | master_sites http://pypi.python.org/packages/source/n/nibabel/ |
| 23 | distname nibabel-${version} |
20 | 24 | |
21 | | python.versions 25 26 27 |
| 25 | checksums rmd160 cff54439e38e1bdcd726cf45136d01417b7a02b8 \ |
| 26 | sha256 69b6fe175d4cf24ab6342575753efda5d6ba7f31f840db2da26e17789166159b |
| 27 | |
| 28 | python.versions 25 26 27 31 32 33 |
22 | 29 | python.default_version 27 |
23 | 30 | |
24 | 31 | if {$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 |
28 | 33 | |
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 |
34 | 34 | post-patch { |
35 | 35 | reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py |
36 | 36 | } |
37 | 37 | |
38 | 38 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} { |
… |
… |
|
62 | 62 | |
63 | 63 | if {![variant_isset gcc43] && ![variant_isset gcc44]} { |
64 | 64 | default_variants +gcc47 |
65 | 65 | } |
66 | 66 | |
| 67 | livecheck.type none |
| 68 | } else { |
| 69 | livecheck.url http://pypi.python.org/pypi/nibabel |
| 70 | livecheck.regex nibabel-(\[0-9.\]+)${extract.suffix} |
67 | 71 | } |
68 | | |
69 | | livecheck.type none |