On 2025/01/07 17:47, Johannes Thyssen Tishman wrote:
> Please find attached a port for graphics/py-pivy. This port is required
> by cad/freecad, a port I intend to submit once it's dependencies have
> been comitted.
> 
> I wasn't able to get tests to work. Three out of four seem to require an
> optional dependency (SoQt) which is not needed when using py-pivy for
> FreeCAD. The last one runs succesfully, but only when ran directly from
> WRKSRC (python script) and not with 'make test'. I'd appreciate some
> eyes on this.

Adding something like this would probably be reasonable

MODPY_TEST_LINK_SO =    Yes
# other tests require various combinations of X, additional deps,
# and not running with PORTS_PRIVSEP
MODPY_PYTEST_ARGS =     -v tests/coin_tests.py

otherwise ok with me.

Reply via email to