Issue with the portgroup python using the python.version variable

Tiago Freitas Pereira tiagofrepereira at gmail.com
Fri Sep 25 03:09:53 PDT 2015


Hi,

I'm developing a port file for a python package that I have here (
https://github.com/bioidiap/bob.blitz), but I cannot read the variable
python.version as mentioned in the documentation (
https://guide.macports.org/#reference.portgroup.python.variables).

When I try to read this variable I get the following message:

{{{
Failed to parse file science/py-bob.blitz/Portfile: can't read
"python.version": no such variable
}}}

I have checked a couple of python ports such as  py-docutils (
https://trac.macports.org/browser/trunk/dports/python/py-docutils/Portfile)
or py-scikit-image (
https://trac.macports.org/browser/trunk/dports/python/py-scikit-image/Portfile)
and I'm doing basically the same thing that they do and I can't figure out
what is wrong.

The portfile is attached

Thank you very much in advance

-- 
Tiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20150925/71e896d2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Portfile.current
Type: application/octet-stream
Size: 1763 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20150925/71e896d2/attachment.obj>


More information about the macports-dev mailing list