Ticket #18557: portfile.patch
File portfile.patch, 2.9 KB (added by jameskyle@…, 15 years ago) |
---|
-
Portfile
old new 1 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 4 6392 2009-02-04 03:47:35Z blb@macports.org $2 # $Id: Portfile 44414 2008-12-28 05:42:53Z mcalhoun@macports.org $ 3 3 4 4 PortSystem 1.0 5 5 PortGroup python25 1.0 6 6 7 7 name py25-pymvpa 8 version current 9 #version 0.4 8 version 0.4.1 10 9 categories python 11 10 12 11 platforms darwin 13 maintainers ucla.edu:jameskyle12 maintainers jameskyle@ucla.edu 14 13 description PyMVPA is a Python module intended to ease pattern classification analyses of large datasets. 15 14 16 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. … … 18 17 homepage http://www.pymvpa.org 19 18 fetch.type git 20 19 git.url git://git.debian.org/git/pkg-exppsy/pymvpa.git 21 #git.branch origin/maint/0.4 20 git.branch upstream/0.4.1 22 21 23 22 depends_lib port:py25-numpy \ 24 port:git-core 23 port:git-core \ 24 port:py25-setuptools 25 25 configure.args 26 26 27 27 build.env CFLAGS='-I${prefix}/include -L${prefix}/lib' … … 29 29 patch.pre_args -p1 30 30 patchfiles patch-mvpa.diff 31 31 32 default_variants +pywavelet s +libsvm +hcluster +pynifti32 default_variants +pywavelet +libsvm +hcluster +pynifti +shogun +scipy 33 33 34 34 variant scipy description {Add support for scipy libraries} { 35 35 depends_lib-append port:py25-scipy … … 58 58 variant pywavelet description {include support for pywavelet module} { 59 59 depends_lib-append port:py25-pywavelets 60 60 } 61 62 variant shogun description {compile support for the py25-shogun classifiers} { 63 depends_lib-append port:shogun 64 } 61 65 build { 62 66 system "cd ${worksrcpath} && ${build.env} python2.5 setup.py build_ext ${configure.args}" 63 67 system "cd ${worksrcpath} && ${build.env} python2.5 setup.py build ${configure.args}" 64 68 } 69 70 post-destroot { 71 xinstall -m 755 -d "${destroot}${prefix}/share/doc/" 72 file delete ${worksrcpath}/doc/todo.txt 73 file delete ${worksrcpath}/doc/legal.txt 74 file delete ${worksrcpath}/doc/changelog.txt 75 76 file copy ${worksrcpath}/TODO ${worksrcpath}/doc/ 77 file copy ${worksrcpath}/COPYING ${worksrcpath}/doc/ 78 file copy ${worksrcpath}/Changelog ${worksrcpath}/doc/ 79 file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/mvpa 80 }