Hi Kurt,

Am 06.02.23 um 20:18 schrieb Kurt Jaeger:
Hi!

You can change any port to pep517 except in very few cases when this
would introduce a circular dependency.
pep517 is now a default way to build python packages because distutils
is now deprecated in Python.
In the case of textproc/py-pyphen - it used the ad-hoc setup.py that
wasn't registering it properly, because this was added before pep517 was
available.

Hope this helps.

Yes, thanks. I retested and found out that weasyprint had no DEPEND
on any of the flit* stuff. It needs it to build, but not to run.

So it was not an issue of distutils vrs pep517.


Just for the case, you missed it ;)

In https://wiki.freebsd.org/Python/PEP-517 you can read about the build backend you have to specify, if using pep517. This is mentioned in the initial commit [1], which introduces USE_PYTHON=pep517.

HTH and best wishes,
Rainer


[1] https://cgit.freebsd.org/ports/commit/?id=cc8a1878e0242055ab6a8c20d33654451f78720e

Reply via email to