[105851] trunk/dports/python
jmr at macports.org
jmr at macports.org
Tue May 7 22:19:23 PDT 2013
Revision: 105851
https://trac.macports.org/changeset/105851
Author: jmr at macports.org
Date: 2013-05-07 22:19:23 -0700 (Tue, 07 May 2013)
Log Message:
-----------
py*-mlpy: unify, set license
Modified Paths:
--------------
trunk/dports/python/py-mlpy/Portfile
Added Paths:
-----------
trunk/dports/python/py-mlpy/
Removed Paths:
-------------
trunk/dports/python/py26-mlpy/
trunk/dports/python/py27-mlpy/
Modified: trunk/dports/python/py-mlpy/Portfile
===================================================================
--- trunk/dports/python/py27-mlpy/Portfile 2013-05-08 01:30:40 UTC (rev 105846)
+++ trunk/dports/python/py-mlpy/Portfile 2013-05-08 05:19:23 UTC (rev 105851)
@@ -2,11 +2,12 @@
# $Id$
PortSystem 1.0
-PortGroup python27 1.0
+PortGroup python 1.0
-name py27-mlpy
+name py-mlpy
version 2.2.2
categories-append lang python
+license GPL-3+
maintainers nomaintainer
description Python package for predictive modeling
long_description \
@@ -24,13 +25,17 @@
homepage https://mlpy.fbk.eu/
master_sites https://mlpy.fbk.eu/download/src/ \
-
+ freebsd
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
+python.versions 26 27
-patchfiles patch-setup.py.diff
+if {$subport != $name} {
+ depends_lib-append port:gsl port:py${python.version}-cython port:py${python.version}-numpy
+ depends_build port:py${python.version}-distribute
+
+ patchfiles patch-setup.py.diff
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130507/29e3a023/attachment.html>
More information about the macports-changes
mailing list