[79932] trunk/dports/python
macsforever2000 at macports.org
macsforever2000 at macports.org
Wed Jun 29 13:22:15 PDT 2011
Revision: 79932
http://trac.macports.org/changeset/79932
Author: macsforever2000 at macports.org
Date: 2011-06-29 13:22:15 -0700 (Wed, 29 Jun 2011)
Log Message:
-----------
Added new port py27-mlpy. (#29971)
Added Paths:
-----------
trunk/dports/python/py27-mlpy/
trunk/dports/python/py27-mlpy/Portfile
trunk/dports/python/py27-mlpy/files/
trunk/dports/python/py27-mlpy/files/patch-setup.py.diff
Added: trunk/dports/python/py27-mlpy/Portfile
===================================================================
--- trunk/dports/python/py27-mlpy/Portfile (rev 0)
+++ trunk/dports/python/py27-mlpy/Portfile 2011-06-29 20:22:15 UTC (rev 79932)
@@ -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 python27 1.0
+
+name py27-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:py27-cython port:py27-numpy
+depends_build-append port:py27-distribute
+
+patchfiles patch-setup.py.diff
Property changes on: trunk/dports/python/py27-mlpy/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/python/py27-mlpy/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py27-mlpy/files/patch-setup.py.diff (rev 0)
+++ trunk/dports/python/py27-mlpy/files/patch-setup.py.diff 2011-06-29 20:22:15 UTC (rev 79932)
@@ -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"],
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110629/94a813e6/attachment.html>
More information about the macports-changes
mailing list