[142343] trunk/dports/python/py-scikit-learn/Portfile
stromnov at macports.org
stromnov at macports.org
Sat Dec 12 05:21:29 PST 2015
Revision: 142343
https://trac.macports.org/changeset/142343
Author: stromnov at macports.org
Date: 2015-11-09 23:17:40 -0800 (Mon, 09 Nov 2015)
Log Message:
-----------
py-scikit-learn: update to version 0.17
Modified Paths:
--------------
trunk/dports/python/py-scikit-learn/Portfile
Modified: trunk/dports/python/py-scikit-learn/Portfile
===================================================================
--- trunk/dports/python/py-scikit-learn/Portfile 2015-11-10 07:04:55 UTC (rev 142342)
+++ trunk/dports/python/py-scikit-learn/Portfile 2015-11-10 07:17:40 UTC (rev 142343)
@@ -5,13 +5,13 @@
PortGroup python 1.0
name py-scikit-learn
-version 0.16.1
+version 0.17
revision 0
categories-append science
platforms darwin
license BSD
-python.versions 26 27 33 34
+python.versions 26 27 33 34 35
maintainers stromnov openmaintainer
@@ -24,17 +24,16 @@
in any field of science and engineering.
homepage http://scikit-learn.org/
-master_sites https://pypi.python.org/packages/source/s/scikit-learn/
+master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
-distname scikit-learn-${version}
+distname ${python.rootname}-${version}
-checksums rmd160 eb47180da94eac22689ccd3464c9ba5eb0ae216c \
- sha256 c0721e295056c95c7002e05726f2bd271a7923e88bdeab34a2b60aac2b0ee6e4
+checksums rmd160 db055be2029c7eb3ef0f37a17cea808a4888cd28 \
+ sha256 23a5b6804524cb2cd54d8310010169511c7633dcf69af7439747eec02677f314
if {${name} ne ${subport}} {
-
# scikit-learn package requires Python 2.6, 2.7 or 3.4+
- if {[lsearch {26 27 34} ${python.version}] == -1} {
+ if {${python.version} == 33} {
version 0.14.1
revision 1
distname scikit-learn-${version}
@@ -42,6 +41,12 @@
sha256 34821b8f460bdb7aba8eb882353bacbd01671bfb8057649ffcdce7f7ffa4a21d
# Stealth update for 0.14.1
dist_subdir ${name}/${version}_1
+ } elseif {${python.version} == 26} {
+ version 0.16.1
+ revision 0
+ distname scikit-learn-${version}
+ checksums rmd160 eb47180da94eac22689ccd3464c9ba5eb0ae216c \
+ sha256 c0721e295056c95c7002e05726f2bd271a7923e88bdeab34a2b60aac2b0ee6e4
}
depends_lib-append port:py${python.version}-numpy \
@@ -49,7 +54,5 @@
livecheck.type none
} else {
- livecheck.type regex
- livecheck.url https://pypi.python.org/pypi/scikit-learn/json
- livecheck.regex "scikit-learn-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+ livecheck.type pypi
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/20f70dbf/attachment.html>
More information about the macports-changes
mailing list