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
This commit is contained in:
Neal Nelson 2021-10-28 09:27:49 +09:00 committed by Yasuhiro Kimura
parent 1570b78b94
commit 6cb28f4ba9
4 changed files with 22 additions and 0 deletions

View file

@ -4322,6 +4322,7 @@
SUBDIR += py-cheetah3
SUBDIR += py-circuits
SUBDIR += py-ciso8601
SUBDIR += py-clang
SUBDIR += py-cld
SUBDIR += py-cle
SUBDIR += py-cleo

15
devel/py-clang/Makefile Normal file
View file

@ -0,0 +1,15 @@
PORTNAME= clang
DISTVERSION= 11.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@nicandneal.net
COMMENT= Python bindings for libclang
LICENSE= NCSA
USES= python
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>

3
devel/py-clang/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1630510923
SHA256 (clang-11.0.tar.gz) = f838e6475b1fe5c91efb97e80ae19420c39483fd5aa7ef10f03ffb51edc6f8c5
SIZE (clang-11.0.tar.gz) = 30948

3
devel/py-clang/pkg-descr Normal file
View file

@ -0,0 +1,3 @@
This is the python bindings subdir of llvm clang repository.
WWW: https://github.com/llvm-mirror/clang/tree/master/bindings/python