<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/857f5e28b54751fbd8544efec0e45352669390ab">https://github.com/macports/macports-ports/commit/857f5e28b54751fbd8544efec0e45352669390ab</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 857f5e28b54751fbd8544efec0e45352669390ab
</span>Author: Kirill A. Korinsky <kirill@korins.ky>
AuthorDate: Tue Nov 23 18:54:39 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> py-plumed: fixed tests
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes https://trac.macports.org/ticket/64045
</span>---
python/py-plumed/Portfile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-plumed/Portfile b/python/py-plumed/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a2e9b02897e..625b572894f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-plumed/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-plumed/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,9 +42,12 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-numpy \
port:py${python.version}-pandas
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-test {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # needed since the module is placed in something like ${worksrcpath}/build/lib.macosx-10.11-x86_64-3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> test.cmd nosetests-${python.branch}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# needed since the module is placed in something like ${worksrcpath}/build/lib.macosx-10.11-x86_64-3.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
</span> test.target
test.run yes
}
</pre><pre style='margin:0'>
</pre>