2025-01-10T17:56:16+0000 Stuart Henderson <s...@spacehopper.org>:
> On 2025/01/10 17:21, Stuart Henderson wrote:
> > 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.
> > 
> 
> oops, I forgot about the mail I had open in another term when I started
> looking at tests - something in the setuptools affected flags handling
> for extensions, this now needs
> 
> MAKE_ENV =              CPPFLAGS="-I${X11BASE}/include"
> 
> instead of the CFLAGS += line.

Thanks Stuart. Please find attached an updated tarball.

Attachment: py-pivy.tar.gz
Description: application/tar-gz

Reply via email to