You may also be interested in the pypi2port contrib. I've not started
using it much yet, but I'm planning to at some point.
sudo port install py27-progressbar
svn co https://svn.macports.org/repository/macports/contrib/pypi2port/
Russell
On 25/09/15 13:03, Tiago Freitas Pereira wrote:
Ah, I got it :-)
Thank you very much!!
Have a good weekend
Best regards
On Fri, Sep 25, 2015 at 1:22 PM, Joshua Root <[email protected]
<mailto:[email protected]>> wrote:
On 2015-9-25 20:09 , Tiago Freitas Pereira wrote:
> 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.
Those other ports add their dependencies inside a 'if {$subport ne
$name}' statement. That's what you'll need to do too, because
python.version is undefined when you're not in one of the
version-specific subports.
- Josh
--
Tiago
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev