Created attachment 227594 [details] Git diff of new port. This is a stand-alone python library binding the libclang functionality. Currently each llvm port installs it's own version, but this is an option (albeit default) and it's installed in a non-standard location. This port removes the dependency on the option and the need to patch software that uses it to use the non-standard location. This port is needed for #257131, which in turn is needed for a pending update to cad/py-OCP, leading to a pending update to cad/py-cadquery and cad/cq-editor.
Take.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6cb28f4ba9922703a7eb06ed9630248da69ef466 commit 6cb28f4ba9922703a7eb06ed9630248da69ef466 Author: Neal Nelson <ports@nicandneal.net> AuthorDate: 2021-10-28 00:27:49 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-10-28 07:17:17 +0000 devel/py-clang: Add new port This is a stand-alone python library binding the libclang functionality. Currently each llvm port installs it's own version, but this is an option (albeit default) and it's installed in a non-standard location. This port removes the dependency on the option and the need to patch software that uses it to use the non-standard location. PR: 258199 devel/Makefile | 1 + devel/py-clang/Makefile (new) | 15 +++++++++++++++ devel/py-clang/distinfo (new) | 3 +++ devel/py-clang/pkg-descr (new) | 3 +++ 4 files changed, 22 insertions(+)
Committed with minor refinement. Thanks!