1 | # -*- 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 |
---|
2 | # $Id: Portfile 44414 2008-12-28 05:42:53Z mcalhoun@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python25 1.0 |
---|
6 | |
---|
7 | name py25-pymvpa |
---|
8 | version current |
---|
9 | categories python |
---|
10 | platforms darwin |
---|
11 | maintainers jameskyle@ucla.edu |
---|
12 | description PyMVPA is a Python module intended to ease pattern classification analyses of large datasets. |
---|
13 | long_description ${description}. In the neuroimaging contexts such analysis techniques are also known as decoding or MVPA analysis. PyMVPA provides high-level abstraction of typical processing steps and a number of implementations of some popular algorithms. |
---|
14 | |
---|
15 | homepage http://www.pymvpa.org |
---|
16 | fetch.type git |
---|
17 | git.url git://git.debian.org/git/pkg-exppsy/pymvpa.git |
---|
18 | |
---|
19 | depends_lib port:py25-numpy |
---|
20 | configure.args |
---|
21 | |
---|
22 | build.env CFLAGS='-I${prefix}/include -L${prefix}/lib' |
---|
23 | |
---|
24 | patch.pre_args -p1 |
---|
25 | patchfiles patch-mvpa.diff |
---|
26 | |
---|
27 | default_variants +pywavelets +libsvm +hcluster +pynifti |
---|
28 | |
---|
29 | variant scipy description {Add support for scipy libraries} { |
---|
30 | depends_lib-append port:py25-scipy |
---|
31 | } |
---|
32 | |
---|
33 | variant pynifti description {Add support for the Nifti file format} { |
---|
34 | depends_lib-append port:py25-pynifti |
---|
35 | } |
---|
36 | |
---|
37 | variant hcluster description {perform cluster analysis and plot dendograms of results} { |
---|
38 | depends_lib-append port:py25-hcluster |
---|
39 | } |
---|
40 | |
---|
41 | variant libsvm description {compile the libsvm classifier extension} { |
---|
42 | depends_lib-append port:libsvm \ |
---|
43 | port:swig |
---|
44 | configure.args --with-libsvm |
---|
45 | } |
---|
46 | |
---|
47 | variant matplotlib description {include support for the matplotlib library} { |
---|
48 | ui_msg "The default build may fail to build." |
---|
49 | ui_msg "If this is the case, please build with +wspython variant." |
---|
50 | depends_lib-append port:matplotlib |
---|
51 | } |
---|
52 | |
---|
53 | variant pywavelet description {include support for pywavelet module} { |
---|
54 | depends_lib-append port:py25-PyWavelet |
---|
55 | } |
---|
56 | build { |
---|
57 | system "cd ${worksrcpath} && ${build.env} python2.5 setup.py build_ext ${configure.args}" |
---|
58 | } |
---|