[88081] trunk/dports/python
stromnov at macports.org
stromnov at macports.org
Sun Dec 18 03:19:52 PST 2011
Revision: 88081
http://trac.macports.org/changeset/88081
Author: stromnov at macports.org
Date: 2011-12-18 03:19:52 -0800 (Sun, 18 Dec 2011)
Log Message:
-----------
py2*-scikits-learn: unify
Modified Paths:
--------------
trunk/dports/python/py-scikits-learn/Portfile
Added Paths:
-----------
trunk/dports/python/py-scikits-learn/
Removed Paths:
-------------
trunk/dports/python/py26-scikits-learn/
Modified: trunk/dports/python/py-scikits-learn/Portfile
===================================================================
--- trunk/dports/python/py26-scikits-learn/Portfile 2011-12-15 18:44:59 UTC (rev 88001)
+++ trunk/dports/python/py-scikits-learn/Portfile 2011-12-18 11:19:52 UTC (rev 88081)
@@ -2,12 +2,15 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
-name py26-scikits-learn
-version 0.8
+name py-scikits-learn
+version 0.9
revision 0
categories-append science
+license BSD
+platforms darwin
+
maintainers stromnov openmaintaner
description Easy-to-use and general-purpose machine learning in Python
@@ -16,24 +19,30 @@
machine learning algorithmes in the tightly-nit world of \
scientific Python packages (numpy, scipy, matplotlib).
-platforms darwin
-
homepage http://scikit-learn.sourceforge.net/
-master_sites http://pypi.python.org/packages/source/s/scikits.learn/
-distname scikits.learn-${version}
+master_sites http://pypi.python.org/packages/source/s/scikit-learn/
-checksums md5 df0dd5ce8281e7b3f9f208128339011f \
- sha1 6f6ca69254be2bc6e75ca0fcb955ba0fd863687e \
- rmd160 7f9b9611c5b2ca7b50414e091ed60ef3a304def4
+distname scikit-learn-${version}
-depends_lib-append port:py26-numpy \
- port:py26-scikits-module
+checksums md5 25491af8dde7be9138f7e1d283bb3a50 \
+ sha1 25f175de04efef4a999083aebf3b3367cc53fe5f \
+ rmd160 db73b2b33fe37d737995c878d1ff4733c9d32642
-post-destroot {
- # scikits/__init__.py is provided by scikits-module
- file delete ${destroot}${python.pkgd}/scikits/__init__.py
+python.default_version 27
+python.versions 26 27
+
+if {$subport != $name} {
+ depends_lib port:py${python.version}-numpy \
+ port:py${python.version}-scipy \
+ port:py${python.version}-distribute \
+ port:py${python.version}-scikits-module
+
+ post-destroot {
+ # scikits/__init__.py is provided by scikits-module
+ file delete ${destroot}${python.pkgd}/scikits/__init__.py
+ }
}
livecheck.type regex
livecheck.url ${master_sites}
-livecheck.regex "scikits.learn-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+livecheck.regex "scikit-learn-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111218/8bc458ef/attachment.html>
More information about the macports-changes
mailing list