[Bug 277724] devel/py-pnu-libpnu: new port

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 16 Mar 2024 14:55:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277724

--- Comment #4 from Hubert Tournier <hubert.tournier@gmail.com> ---
Hello Nuno,

It works for me because I made a python3 symlink to python3.9, but others would
need to have the shebang fixed.

USES=           python shebangfix
USE_PYTHON=     autoplist flavors pep517
SHEBANG_FILES=  src/libpnu/*.py

Thank you, it's much simpler like this.

Didn't knew about this pep517 setting, it's not documented at all in the
Porter's handbook. And the autoplist feature is said to imply distutils which
didn't worked as it expects setup.py (deprecated according to setuptools
documentation) instead of setup.cfg

Best regards,

Hubert

-- 
You are receiving this mail because:
You are the assignee for the bug.