<pre style='margin:0'>
Leo Singer (lpsinger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9758ae0071ab20e589171b57417cb6b0827205fd">https://github.com/macports/macports-ports/commit/9758ae0071ab20e589171b57417cb6b0827205fd</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 9758ae0071ab20e589171b57417cb6b0827205fd
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Mon Nov 25 12:06:10 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-astroML: update to 0.4.1, remove py34 subport
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - make use of python.rootname
</span>---
python/py-astroML/Portfile | 43 +++++++++++++++++++++++++++--------------
python/py-flask-script/Portfile | 1 +
2 files changed, 30 insertions(+), 14 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 8bf8cfb..1483c0c 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;'>@@ -4,18 +4,17 @@ PortSystem 1.0
</span> PortGroup python 1.0
PortGroup select 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set realname astroML
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-astroML
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.4.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name py-${realname}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span> categories-append science
license BSD
platforms darwin
supported_archs noarch
maintainers {aronnax @lpsinger} openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 34 35 36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 35 36
</span>
description tools for machine learning and data mining in astronomy
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,14 +28,28 @@ long_description AstroML is a Python module for machine learning and data \
</span> astronomical datasets.
homepage https://www.astroml.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:[string index ${realname} 0]/${realname}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${realname}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${python.rootname}-${version}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 2a029523b0fcc768acb4e2a3efe1050e24a32cc8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 ea6d0119593aed0e0dadc79c613ac0bddad95e6f12151237562a4fd67552b2b8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 242925
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 3953350b06d20c22ea7a4d27b90b7db94968ffe4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a4efa8acee889c92088ff2433d24793d24cfe7aba15d523e2e0cc12d81e4b899 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 105183
</span>
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # fix permissions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fs-traverse item ${worksrcpath} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file isdirectory ${item}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file attributes ${item} -permissions a+rx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {[file isfile ${item}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file attributes ${item} -permissions a+r
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</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;'>+
</span> depends_lib-append \
port:py${python.version}-numpy \
port:py${python.version}-scipy \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,17 +57,19 @@ if {${name} ne ${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 py${python.version}-${realname}_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}-${python.rootname}_addons for faster C implementations of some algorithms" {
</span> depends_run-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-${realname}_addons
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-${python.rootname}_addons
</span> }
default_variants +addons
depends_test-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-nose
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-pytest
</span> test.run yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test.cmd nosetests-${python.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd py.test-${python.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.args -o addopts=''
</span> test.target
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=${worksrcpath}/build/lib
</span>
livecheck.type none
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-flask-script/Portfile b/python/py-flask-script/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b8585e4..a0f7cf2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-flask-script/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-flask-script/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,6 +33,7 @@ if {${name} ne ${subport}} {
</span> test.run yes
test.cmd py.test-${python.branch}
test.target tests.py
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=${worksrcpath}/build/lib
</span>
livecheck.type none
}
</pre><pre style='margin:0'>
</pre>