<pre style='margin:0'>
Andrew Stromnov (stromnov) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f26eb0bab032ef1fc059f95083e95a1ff82e8af0">https://github.com/macports/macports-ports/commit/f26eb0bab032ef1fc059f95083e95a1ff82e8af0</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new f26eb0b py-scikit-learn: update to 0.20.1
</span>f26eb0b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f26eb0bab032ef1fc059f95083e95a1ff82e8af0
</span>Author: Andrew Stromnov <stromnov@macports.org>
AuthorDate: Mon Nov 26 15:13:36 2018 +0300
<span style='display:block; white-space:pre;color:#404040;'> py-scikit-learn: update to 0.20.1
</span>---
python/py-scikit-learn/Portfile | 14 +++++++++-----
.../files/patch-sklearn__build_utils___init__.py.diff | 17 +++++++++++++++++
2 files changed, 26 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-scikit-learn/Portfile b/python/py-scikit-learn/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f189131..8051cef 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-scikit-learn/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-scikit-learn/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup python 1.0
name py-scikit-learn
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.20.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.20.1
</span> revision 0
categories-append science
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,15 +27,19 @@ master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
</span>
distname ${python.rootname}-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 d7fea3a02266d5080e495466b4e2351e46b426ad \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 97d1d971f8ec257011e64b7d655df68081dd3097322690afa1a71a1d755f8c18 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 28061776
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 7ccf7d9bbef7c1f4a0340e2fcf8c0e5d88b12199 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 fa1869c18fef812e321b9ed875519daefb3a7ea016ba1392526d231a7994e81c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 9718330
</span>
if {${name} ne ${subport}} {
depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-setuptools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-cython
</span> depends_lib-append port:py${python.version}-numpy \
port:py${python.version}-scipy
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # force cythonize
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-sklearn__build_utils___init__.py.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type none
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-scikit-learn/files/patch-sklearn__build_utils___init__.py.diff b/python/py-scikit-learn/files/patch-sklearn__build_utils___init__.py.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..3f24fb0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-scikit-learn/files/patch-sklearn__build_utils___init__.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- sklearn/_build_utils/__init__.py.orig 2018-11-26 10:01:48.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ sklearn/_build_utils/__init__.py 2018-11-26 10:13:29.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -62,7 +62,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ def maybe_cythonize_extensions(top_path, config):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ """Tweaks for building extensions between release and development mode."""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- is_release = os.path.exists(os.path.join(top_path, 'PKG-INFO'))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ is_release = False
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if is_release:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build_from_c_and_cpp_files(config.ext_modules)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -81,4 +81,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exc.args += (message,)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ raise
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- config.ext_modules = cythonize(config.ext_modules)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ config.ext_modules = cythonize(config.ext_modules, force=True)
</span></pre><pre style='margin:0'>
</pre>