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 python26 1.0 |
---|
6 | |
---|
7 | name py26-pymvpa |
---|
8 | version 0.4.1 |
---|
9 | categories python |
---|
10 | |
---|
11 | platforms darwin |
---|
12 | maintainers jameskyle@ucla.edu |
---|
13 | description PyMVPA is a Python module intended to ease pattern classification analyses of large datasets. |
---|
14 | |
---|
15 | 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. |
---|
16 | |
---|
17 | homepage http://www.pymvpa.org |
---|
18 | fetch.type git |
---|
19 | git.url git://git.debian.org/git/pkg-exppsy/pymvpa.git |
---|
20 | git.branch origin/maint/0.4.1 |
---|
21 | |
---|
22 | depends_lib port:py26-numpy \ |
---|
23 | port:git-core \ |
---|
24 | port:py26-setuptools |
---|
25 | configure.args |
---|
26 | |
---|
27 | build.env CFLAGS='-I${prefix}/include -L${prefix}/lib' |
---|
28 | |
---|
29 | patch.pre_args -p1 |
---|
30 | patchfiles patch-mvpa.diff |
---|
31 | |
---|
32 | default_variants +pywavelet +libsvm +hcluster +pynifti +shogun +scipy |
---|
33 | |
---|
34 | variant scipy description {Add support for scipy libraries} { |
---|
35 | depends_lib-append port:py26-scipy |
---|
36 | } |
---|
37 | |
---|
38 | variant pynifti description {Add support for the Nifti file format} { |
---|
39 | depends_lib-append port:py26-pynifti |
---|
40 | } |
---|
41 | |
---|
42 | variant hcluster description {perform cluster analysis and plot dendograms of results} { |
---|
43 | depends_lib-append port:py26-hcluster |
---|
44 | } |
---|
45 | |
---|
46 | variant libsvm description {compile the libsvm classifier extension} { |
---|
47 | depends_lib-append port:libsvm \ |
---|
48 | port:swig |
---|
49 | configure.args --with-libsvm |
---|
50 | } |
---|
51 | |
---|
52 | variant matplotlib description {include support for the matplotlib library} { |
---|
53 | ui_msg "The default matplotlib build may fail to compile." |
---|
54 | ui_msg "If this is the case, please build with +wxpython variant." |
---|
55 | depends_lib-append port:py26-matplotlib |
---|
56 | } |
---|
57 | |
---|
58 | variant pywavelet description {include support for pywavelet module} { |
---|
59 | depends_lib-append port:py26-pywavelets |
---|
60 | } |
---|
61 | |
---|
62 | variant shogun description {compile support for the py26-shogun classifiers} { |
---|
63 | depends_lib-append port:py26-shogun |
---|
64 | } |
---|
65 | build { |
---|
66 | system "cd ${worksrcpath} && ${build.env} python2.5 setup.py build_ext ${configure.args}" |
---|
67 | system "cd ${worksrcpath} && ${build.env} python2.5 setup.py build ${configure.args}" |
---|
68 | } |
---|