Thursday, October 25, 2018

Re: Question on Python3 runtime option for jgmenu/pmenu

On 2018/10/25 09:43, Heppler, J. Scott wrote:
> Upstream tagged 1.4 and I'm still struggling with the python3 rdep.
>
> MODULES= lang/python
> MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
>
> stops "make build" with the error: can't find ./setup.py

This is due to some slightly dirty "configure" handling in python.port.mk.
Set "CONFIGURE_STYLE=none" to workaround it.

> python3 is not a build dependency and is only needed if
> "jgmenurc pmenu" is invoked.

> My understanding is that "MODULES" appends to BUILD_DEPENDS,
> RUN_DEPENDS, LIB_DEPENDS and WANTLIB

This depends on the module. Consult port-modules(5) and the .mk file
to know for sure.

> but for this port only RUN_DEPENDS
> is needed. Would the most concise way to deal with the RUN_DEPENDS be
> to fully specify lang/python3 in RUN_DEPENDS. I've looked at other
> recent, python based ports and have not found a similar, python3
> RUN_DEPENDS. The closest seems to be productivity/calcurse.

Set MODPY_BUILDDEP=No. Please don't hardcode lang/python3.

No comments:

Post a Comment