Revision: 79933 http://trac.macports.org/changeset/79933 Author: macsforever2000@macports.org Date: 2011-06-29 13:27:12 -0700 (Wed, 29 Jun 2011) Log Message: ----------- Added new port py26-mlpy. Added Paths: ----------- trunk/dports/python/py26-mlpy/ trunk/dports/python/py26-mlpy/Portfile trunk/dports/python/py26-mlpy/files/ trunk/dports/python/py26-mlpy/files/patch-setup.py.diff Added: trunk/dports/python/py26-mlpy/Portfile =================================================================== --- trunk/dports/python/py26-mlpy/Portfile (rev 0) +++ trunk/dports/python/py26-mlpy/Portfile 2011-06-29 20:27:12 UTC (rev 79933) @@ -0,0 +1,36 @@ +# -*- 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 +# $Id$ + +PortSystem 1.0 +PortGroup python26 1.0 + +name py26-mlpy +version 2.2.2 +categories-append lang python +maintainers gmail.com:marc.schlaich +description Python package for predictive modeling +long_description \ + mlpy is a high-performance Python package for predictive modeling. \ + It makes extensive use of NumPy (http://scipy.org) to provide fast \ + N-dimensional array manipulation and easy integration of C code. mlpy \ + provides high level procedures that support, with few lines of code, \ + the design of rich Data Analysis Protocols (DAPs) for preprocessing, \ + clustering, predictive classification and feature selection. Methods \ + are available for feature weighting and ranking, data resampling, \ + error evaluation and experiment landscaping. The package includes \ + tools to measure stability in sets of ranked feature lists. + +platforms darwin + +homepage https://mlpy.fbk.eu/ +master_sites https://mlpy.fbk.eu/download/src/ \ + +distname MLPY-${version} + +checksums sha1 6783f96f28d31adac65c8135631231f2bc1e0210 \ + rmd160 80d37e3ebb0c23c5d6a329721c526c4c18a74aac + +depends_lib-append port:gsl port:py26-cython port:py26-numpy +depends_build-append port:py26-distribute + +patchfiles patch-setup.py.diff Property changes on: trunk/dports/python/py26-mlpy/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native Added: trunk/dports/python/py26-mlpy/files/patch-setup.py.diff =================================================================== --- trunk/dports/python/py26-mlpy/files/patch-setup.py.diff (rev 0) +++ trunk/dports/python/py26-mlpy/files/patch-setup.py.diff 2011-06-29 20:27:12 UTC (rev 79933) @@ -0,0 +1,25 @@ +--- setup.py.orig 2010-10-18 14:08:13.000000000 +0200 ++++ setup.py 2011-06-29 20:42:46.000000000 +0200 +@@ -152,17 +152,19 @@ + include_dirs=base_include, + extra_compile_args=extra_compile_args), + Extension("mlpy.liblinear", +- ["mlpy/liblinear/liblinear/linear.cpp", +- "mlpy/liblinear/liblinear/tron.cpp", ++ ["mlpy/liblinear/liblinear/linear.cpp", ++ "mlpy/liblinear/liblinear/tron.cpp", + "mlpy/liblinear/liblinear.pyx", + "mlpy/liblinear/liblinear/blas/daxpy.c", + "mlpy/liblinear/liblinear/blas/ddot.c", + "mlpy/liblinear/liblinear/blas/dnrm2.c", +- "mlpy/liblinear/liblinear/blas/dscal.c"], ++ "mlpy/liblinear/liblinear/blas/dscal.c"], ++ include_dirs=base_include, + extra_compile_args=extra_compile_args), + Extension("mlpy.libsvm", + ["mlpy/libsvm/libsvm/svm.cpp", + "mlpy/libsvm/libsvm.pyx"], ++ include_dirs=base_include, + extra_compile_args=extra_compile_args) + ], + scripts=["mlpy/tools/mlpy-test"],
participants (1)
-
macsforever2000@macports.org