Saturday, June 02, 2018

Re: Python port module documentation question

On Sun, Jun 03, 2018 at 01:28:26AM +0100, Stuart Henderson wrote:
> On 2018/06/02 17:38, Edward Lopez-Acosta wrote:
> > Would anyone be able to clarify what MODPY_RUN_DEPENDS does? Per the
> > documentation (man port-modules) it says it should append to RUN_DEPENDS.
> > When I have tested this though I have found it to not be the case.
> >
> > I submitted a couple ports to this list previously which use
> > MODPY_RUN_DEPENDS for dependency modules. But the built package does not
> > actually get said dependencies added to it.
> >
> > Can anyone clarify this within the documentation and possibly update the man
> > page for clarity? Or am I totally missing what this option is for? I did
> > also try adding MODPY_RUNDEP=Yes but that did not seem to help.
> >
> > Thank you in advance.
> >
>
> MODPY_RUN_DEPENDS is populated with the string that you would need to
> add to RUN_DEPENDS to depend on python itself, plus an additional one
> for py-setuptools if needed.
>
> It's automatically appended to RUN_DEPENDS unless MODPY_RUNDEP=No.
> (MODPY_RUNDEP=Yes is the default).

I'll add to that 'Iff the lang/python MODULE is used' :)

No comments:

Post a Comment