[122140] trunk/dports/python/py-scikit-learn
stromnov at macports.org
stromnov at macports.org
Tue Jul 15 13:20:27 PDT 2014
Revision: 122140
https://trac.macports.org/changeset/122140
Author: stromnov at macports.org
Date: 2014-07-15 13:20:27 -0700 (Tue, 15 Jul 2014)
Log Message:
-----------
py-scikit-learn: update to version 0.15.0
Modified Paths:
--------------
trunk/dports/python/py-scikit-learn/Portfile
Removed Paths:
-------------
trunk/dports/python/py-scikit-learn/files/
Modified: trunk/dports/python/py-scikit-learn/Portfile
===================================================================
--- trunk/dports/python/py-scikit-learn/Portfile 2014-07-15 20:09:20 UTC (rev 122139)
+++ trunk/dports/python/py-scikit-learn/Portfile 2014-07-15 20:20:27 UTC (rev 122140)
@@ -5,15 +5,12 @@
PortGroup python 1.0
name py-scikit-learn
-version 0.14.1
-revision 1
+version 0.15.0
+revision 0
categories-append science
platforms darwin
license BSD
-# Stealth update for 0.14.1
-dist_subdir ${name}/${version}_1
-
python.versions 26 27 32 33 34
maintainers stromnov openmaintainer
@@ -31,30 +28,25 @@
distname scikit-learn-${version}
-checksums rmd160 a372e7d1e8eb09be6fd1b4d791f05e049f5a87f4 \
- sha256 34821b8f460bdb7aba8eb882353bacbd01671bfb8057649ffcdce7f7ffa4a21d
+checksums rmd160 a57d8c021cb8b220ca0b50e34c881a49b2906057 \
+ sha256 67ae5dbe5c1a28b469007708d65c59b0af192b2a9396c33d0b2629c6304e4596
if {${name} ne ${subport}} {
- depends_lib-append port:py${python.version}-numpy \
- port:py${python.version}-scipy
- # Cythonized files in scikit-learn 0.14.1 are incompatible with Python 3.4
- # See https://github.com/scikit-learn/scikit-learn/issues/3114
- if {${subport} eq "py34-scikit-learn"} {
- depends_build-append \
- port:py34-cython
-
- patchfiles-append patch-sklearn_neighbors_binary_tree.pxi.diff
-
- post-configure {
- fs-traverse item ${worksrcpath} {
- if {[file isfile ${item}] && [file extension ${item}] eq ".pyx"} {
- system "echo Cythoning ${item}...; \"${prefix}/bin/cython-3.4\" \"${item}\""
- }
- }
- }
+ # scikit-learn package requires Python 2.6, 2.7 or 3.4+
+ if {[lsearch {26 27 34} ${python.version}] == -1} {
+ version 0.14.1
+ revision 1
+ distname scikit-learn-${version}
+ checksums rmd160 a372e7d1e8eb09be6fd1b4d791f05e049f5a87f4 \
+ sha256 34821b8f460bdb7aba8eb882353bacbd01671bfb8057649ffcdce7f7ffa4a21d
+ # Stealth update for 0.14.1
+ dist_subdir ${name}/${version}_1
}
+ depends_lib-append port:py${python.version}-numpy \
+ port:py${python.version}-scipy
+
livecheck.type none
} else {
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140715/c0ff8b30/attachment-0001.html>
More information about the macports-changes
mailing list