[149312] trunk/dports/python/py-ngl/Portfile

Jeremy Huddleston Sequoia jeremyhu at apple.com
Fri Jun 10 23:55:07 PDT 2016


Adding port python/py-ngl
Failed to parse file python/py-ngl/Portfile with subport 'py26-ngl': can't read "PYTHONPATH": no such variable
Failed to parse file python/py-ngl/Portfile with subport 'py27-ngl': can't read "PYTHONPATH": no such variable


> On Jun 10, 2016, at 13:51, dstrubbe at macports.org wrote:
> 
> Revision
> 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
> Diff
> 
> Modified: trunk/dports/python/py-ngl/Portfile (149311 => 149312)
> 
> --- 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/
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-changes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4465 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20160610/23e986aa/attachment.p7s>


More information about the macports-dev mailing list