Monday, January 27, 2025

Re: [new] graphics/py-pivy

*ping*

2025-01-13T10:57:31Z Johannes Thyssen Tishman
<johannes@thyssentishman.com>:

> 2025-01-10T17:56:16+0000 Stuart Henderson <stu@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.

No comments:

Post a Comment