On 2020/02/17 17:48, Laurence Tratt wrote: > On Mon, Feb 17, 2020 at 05:26:53PM +0000, Stuart Henderson wrote: > > Hello Stuart, > > > Please use MODULES=lang/python, and (from memory but I think it's right - > > check in python.port.mk if it doesn't work) > > MODPY_VERSION=${MODPY_DEFAULT_VERSION_3}, MODPY_BUILDDEP=No, > > MODPY_RUNDEP=No, TEST_DEPENDS=${MODPY_RUN_DEPENDS} and in the do-test target > > use ${MODPY_BIN} instead of python3. > > That recipe almost works -- I also needed to override do-install to prevent > modpy running setup.py in that part of things. Easily fixed. Update > attached -- thanks for the pointer!
Thanks - ah yes that is due to an annoying feature of python.port.mk that I always forget about :) I will remove do-install again and add CONFIGURE_STYLE=none and commit.