<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/e7031acc989d00e3947766148824b9968b6af055">https://github.com/macports/macports-ports/commit/e7031acc989d00e3947766148824b9968b6af055</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e7031acc989d00e3947766148824b9968b6af055
</span>Author: Kirill A. Korinsky <kirill@korins.ky>
AuthorDate: Tue Nov 23 18:54:21 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> py-ngl: 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-ngl/Portfile | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-ngl/Portfile b/python/py-ngl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b4431116c40..f3601489973 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-ngl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-ngl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -64,10 +64,13 @@ if {${name} ne ${subport}} {
</span> F2CLIBS_PREFIX=${prefix}/lib/
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test.run yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.env-append PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-test {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env-append 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><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span> test.cmd ${python.bin} ./build/scripts-${python.branch}/pynglex
test.target
test.args -w x11 ngl01p
</pre><pre style='margin:0'>
</pre>