[104053] trunk/dports/python

stromnov at macports.org stromnov at macports.org
Wed Mar 13 23:25:43 PDT 2013


Revision: 104053
          https://trac.macports.org/changeset/104053
Author:   stromnov at macports.org
Date:     2013-03-13 23:25:43 -0700 (Wed, 13 Mar 2013)
Log Message:
-----------
py-scikit{s}-learn: rename py-scikits-learn to py-scikit-learn (see #36021, #38376)

Modified Paths:
--------------
    trunk/dports/python/py-scikit-learn/Portfile
    trunk/dports/python/py-scikits-learn/Portfile

Added Paths:
-----------
    trunk/dports/python/py-scikit-learn/

Modified: trunk/dports/python/py-scikit-learn/Portfile
===================================================================
--- trunk/dports/python/py-scikits-learn/Portfile	2013-03-14 02:38:41 UTC (rev 104048)
+++ trunk/dports/python/py-scikit-learn/Portfile	2013-03-14 06:25:43 UTC (rev 104053)
@@ -1,15 +1,15 @@
-# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# -*- 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           python 1.0
 
-name                py-scikits-learn
+name                py-scikit-learn
 version             0.13.1
-revision            0
+revision            1
 categories-append   science
-license             BSD
 platforms           darwin
+license             BSD
 
 python.versions     26 27 32
 
@@ -17,11 +17,13 @@
 
 description         Easy-to-use and general-purpose machine learning in Python
 
-long_description    scikits.learn is a Python module integrating classique \
-                    machine learning algorithmes in the tightly-nit world of \
-                    scientific Python packages (numpy, scipy, matplotlib).
+long_description    Scikit-learn integrates machine learning algorithms \
+                    in the tightly-knit scientific Python world, building upon \
+                    numpy, scipy, and matplotlib. As a machine-learning module, \
+                    it provides versatile tools for data mining and analysis \
+                    in any field of science and engineering.
 
-homepage            http://scikit-learn.sourceforge.net/
+homepage            http://scikit-learn.org/
 master_sites        http://pypi.python.org/packages/source/s/scikit-learn/
 
 distname            scikit-learn-${version}
@@ -31,22 +33,13 @@
 
 if {$subport != $name} {
     depends_lib-append  \
-                    port:py${python.version}-numpy \
-                    port:py${python.version}-scipy \
-                    port:py${python.version}-distribute \
-                    port:py${python.version}-scikits-module
+                        port:py${python.version}-distribute \
+                        port:py${python.version}-numpy \
+                        port:py${python.version}-scipy
 
-    post-patch {
-        # Normalize file attributes (see #34437)
-        system "chmod -R go+rX ${worksrcpath}"
-    }
-
-    post-destroot {
-        # scikits/__init__.py is provided by scikits-module
-        file delete ${destroot}${python.pkgd}/scikits/__init__.py
-    }
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     "scikit-learn-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }
-
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     "scikit-learn-(\\d+(?:\\.\\d+)*)${extract.suffix}"

Modified: trunk/dports/python/py-scikits-learn/Portfile
===================================================================
--- trunk/dports/python/py-scikits-learn/Portfile	2013-03-14 06:14:14 UTC (rev 104052)
+++ trunk/dports/python/py-scikits-learn/Portfile	2013-03-14 06:25:43 UTC (rev 104053)
@@ -6,47 +6,15 @@
 
 name                py-scikits-learn
 version             0.13.1
-revision            0
+revision            1
 categories-append   science
-license             BSD
-platforms           darwin
 
 python.versions     26 27 32
 
-maintainers         stromnov openmaintainer
-
-description         Easy-to-use and general-purpose machine learning in Python
-
-long_description    scikits.learn is a Python module integrating classique \
-                    machine learning algorithmes in the tightly-nit world of \
-                    scientific Python packages (numpy, scipy, matplotlib).
-
-homepage            http://scikit-learn.sourceforge.net/
-master_sites        http://pypi.python.org/packages/source/s/scikit-learn/
-
-distname            scikit-learn-${version}
-
-checksums           rmd160  1443b52f49fcc4760775c8af3b44a05ba51adf9a \
-                    sha256  a6e4759a779ba792435d096c882a0d66ee29d369755c09209f1a4e50877bdc94
-
 if {$subport != $name} {
-    depends_lib-append  \
-                    port:py${python.version}-numpy \
-                    port:py${python.version}-scipy \
-                    port:py${python.version}-distribute \
-                    port:py${python.version}-scikits-module
-
-    post-patch {
-        # Normalize file attributes (see #34437)
-        system "chmod -R go+rX ${worksrcpath}"
-    }
-
-    post-destroot {
-        # scikits/__init__.py is provided by scikits-module
-        file delete ${destroot}${python.pkgd}/scikits/__init__.py
-    }
+    replaced_by         py${python.version}-scikit-learn
+} else {
+    replaced_by         py-scikit-learn
 }
 
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     "scikit-learn-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+PortGroup           obsolete 1.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130313/00478dc2/attachment.html>


More information about the macports-changes mailing list