Bug 258199

Summary: [NEW PORT] devel/py-clang: Python bindings for libclang
Product: Ports & Packages Reporter: Neal Nelson <ports>
Component: Individual Port(s)Assignee: Yasuhiro Kimura <yasu>
Status: Closed FIXED    
Severity: Affects Only Me CC: python, yasu
Priority: --- Keywords: feature, needs-qa
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://pypi.org/project/clang/
Bug Depends on:    
Bug Blocks: 257131    
Attachments:
Description Flags
Git diff of new port. none

Description Neal Nelson 2021-09-01 16:39:21 UTC
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.
Comment 1 Yasuhiro Kimura freebsd_committer freebsd_triage 2021-10-28 00:32:55 UTC
Take.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-10-28 07:19:00 UTC
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(+)
Comment 3 Yasuhiro Kimura freebsd_committer freebsd_triage 2021-10-28 07:22:14 UTC
Committed with minor refinement. Thanks!