Bug 258199 - [NEW PORT] devel/py-clang: Python bindings for libclang
Summary: [NEW PORT] devel/py-clang: Python bindings for libclang
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yasuhiro Kimura
URL: https://pypi.org/project/clang/
Keywords: feature, needs-qa
Depends on:
Blocks: 257131
  Show dependency treegraph
 
Reported: 2021-09-01 16:39 UTC by Neal Nelson
Modified: 2021-10-28 07:22 UTC (History)
2 users (show)

See Also:


Attachments
Git diff of new port. (1.09 KB, patch)
2021-09-01 16:39 UTC, Neal Nelson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!