[149312] trunk/dports/python/py-ngl/Portfile
dstrubbe at macports.org
dstrubbe at macports.org
Fri Jun 10 13:51:48 PDT 2016
Revision: 149312
https://trac.macports.org/changeset/149312
Author: dstrubbe at macports.org
Date: 2016-06-10 13:51:48 -0700 (Fri, 10 Jun 2016)
Log Message:
-----------
py-ngl: Add test phase.
Modified Paths:
--------------
trunk/dports/python/py-ngl/Portfile
Modified: trunk/dports/python/py-ngl/Portfile
===================================================================
--- trunk/dports/python/py-ngl/Portfile 2016-06-10 20:50:42 UTC (rev 149311)
+++ trunk/dports/python/py-ngl/Portfile 2016-06-10 20:51:48 UTC (rev 149312)
@@ -66,6 +66,13 @@
}
livecheck.type none
+
+ test.run yes
+ # FIXME: how to set macosx, 10.10, and x86_64 in general?
+ test.env-append PYTHONPATH=${worksrcpath}/build/lib.macosx-10.10-x86_64-${python.version}/PyNGL:${PYTHONPATH}
+ test {
+ system "${python.bin} ${worksrcpath}/build/scripts-${python.version}/pynglex -w x11 ngl01p"
+ }
} else {
livecheck.type regex
livecheck.url http://www.pyngl.ucar.edu/Download/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160610/bbe5a88b/attachment.html>
More information about the macports-changes
mailing list