<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/64f92d0e3f643d1ed23da18a3e3a5ec3f8029bdd">https://github.com/macports/macports-ports/commit/64f92d0e3f643d1ed23da18a3e3a5ec3f8029bdd</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 64f92d0e3f643d1ed23da18a3e3a5ec3f8029bdd
</span>Author: reneeotten <reneeotten@users.noreply.github.com>
AuthorDate: Tue Aug 28 12:20:12 2018 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-astroML: fix livecheck
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - modernize checksums
</span><span style='display:block; white-space:pre;color:#404040;'> - update homepage to use https
</span><span style='display:block; white-space:pre;color:#404040;'> - fix variant to install the correct subport for py-astroML_addons
</span><span style='display:block; white-space:pre;color:#404040;'> - enable tests (they fail; likely due to syntax changes in py-numpy)
</span>---
python/py-astroML/Portfile | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-astroML/Portfile b/python/py-astroML/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4e1c742..8bf8cfb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-astroML/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-astroML/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,6 +8,7 @@ set realname astroML
</span>
name py-${realname}
version 0.3
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories-append science
license BSD
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,19 +28,15 @@ long_description AstroML is a Python module for machine learning and data \
</span> and a large suite of examples of analyzing and visualizing \
astronomical datasets.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://www.astroml.org
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.astroml.org
</span> master_sites pypi:[string index ${realname} 0]/${realname}
distname ${realname}-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 56d5c281ca079eb569ef1898be1604db \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 dbf1a775f2dff6e3f3721d1b69a65a5d757bde95 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 2a029523b0fcc768acb4e2a3efe1050e24a32cc8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 2a029523b0fcc768acb4e2a3efe1050e24a32cc8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ea6d0119593aed0e0dadc79c613ac0bddad95e6f12151237562a4fd67552b2b8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 242925
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${name} eq ${subport}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.url https://pypi.python.org/pypi?:action=doap&name=${realname}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex {<release><Version><revision>([^<]+)</revision></Version></release>}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} ne ${subport}} {
</span> depends_lib-append \
port:py${python.version}-numpy \
port:py${python.version}-scipy \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,12 +44,17 @@ if {${name} eq ${subport}} {
</span> port:py${python.version}-scikit-learn \
port:py${python.version}-astropy
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant addons description "Install optional package ${name}_addons for faster C implementations of some algorithms" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant addons description "Install optional package py${python.version}-${realname}_addons for faster C implementations of some algorithms" {
</span> depends_run-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:${name}_addons
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-${realname}_addons
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> default_variants +addons
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_test-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-nose
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd nosetests-${python.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type none
}
</pre><pre style='margin:0'>
</pre>